Tag: Copy Multiple Accounts from an Alab*nza Server
WebHost Manager 11 Documentation – Transfers
by admin on Dec.03, 2011, under Tutorial, cPanel
Overview
Assuming you are running cPanel and WHM on two servers, you can move domains from one server to another. You can also do special transfers with certain other software programs. You can do these transfers one account at a time using this procedure, or you can transfer multiple domains at once – refer to Transferring Multiple Accounts from Another Server for more information.
When transferring accounts, you should note that there may be some downtime for the site(s) being transferred. To minimize downtime, you can use DNS clustering to update the DNS zone files automatically. You will need to make sure that everything is properly set up before the account is moved. By properly setting up the server that will hold the transferred account(s) beforehand, you will have fewer problems and can minimize any chance of down time.
To access the Transfers Menu, click on Transfers, on the main screen of your WebHost Manager interface.
NOTE: If you only have the account’s username and passowrd and do not have access to the root password, refer to this documentation.
NOTE: It is possible to use a customized transfer script. You will need to place the customized transfer script in /var/cpanel/lib/Whosmgr/Pkgacct/. For example, you can copy /usr/local/cpanel/Whostmgr/Pkgacct/pkgacct to /var/cpanel/lib/Whostmgr/Pkgacct/pkgacct and then make custom changes.
To specify that WHM should use your custom transfer script, you will need to ensure that the Allow Override checkbox is checked during the transfer process in WHM.
Copy An Account from Another Server
This function allows you to copy an account from another server without that account’s password. You will need the root password of the server that the account resides on.
Steps
- To access the Transfers Menu, click on Transfers, on the main screen of your WebHost Manager interface.
- Enter the IP address or domain name and server root password in the Server to copy from and Server root password fields.
- Enter the username of the account that you want to copy in the Username to copy field.
- Click on the Give new account an IP address checkbox if you wish to give the transferred account its own dedicated IP address.
- Click on the required radio button to indicate what type of control panel software the remote server is using.
- Click on Setup.
Troubleshooting
If SSH is disabled for the root user, you need to enter the user name and password of a user who is part of the Wheel group (su) in the User with su access and User with su access password field.
Copy An Account from Another Server with Account Password
You can quickly transfer one account from a server running cPanel and WHM to another, if you have the username and password for that account. You do not need the WebHost Manager password for the server you wish to transfer the account from.
Steps
- To access the Transfers Menu, click on Transfers, on the main screen of your WebHost Manager interface.
- Click on Copy an account from another server with account password.
- Enter the IP address or domain name of the server to copy from in the Server to copy from field.
- Enter the username and password for the account in the Username to copy and User’s password fields.
- Click on the Give new account an IP address checkbox to give the transferred account it’s own dedicated IP address.
- Click on Setup.
Troubleshooting
You can also transfer an account without the username and password. Refer to Copy an account from another server for more information.
Copy Multiple Accounts from an Alab*nza Server
This function allows you to copy multiple accounts from a server using Alab*nza to your server running cPanel and WHM and WHM.
Steps
- To access the Transfers Menu, click on Transfers, on the main screen of your WebHost Manager interface.
- Click on Copy multiple accounts from an Alab*nza server.
- Enter the IP address of the server you wish to copy the accounts from in the blank field next to Server to copy from (IP or FQDN):/li>
- Enter the root password of the server you wish to copy the accounts from in the blank field next to Server root password:
- If the server requires a su user for access, enter that user’s username in the blank field next to Access username:
- If you completed step 5, enter the password for that username in the blank field next to Access user’s password:
- Click on Grab Account List.
- Click on the checkboxes next to the accounts that you want to copy or, click on Select All to select all of the accounts on the remote server.
- Click on Copy.
Troubleshooting
For this to work, you must be running ala-cp on the remote server, the access user must have su access to root, and the server must accept SSH connections from your server.
Copy Multiple Accounts from Another Server
Assuming you are running cPanel and WHM and WHM on two servers, you can transfer multiple domains from one server to another. You do not need to know the exact details of each account on the other server, as WebHost Manager will create a list of available accounts for you to transfer.
Steps
- To access the Transfers Menu, click on Transfers, on the main screen of your WebHost Manager interface.
- Click on Copy multiple accounts from another server.
- Enter the IP address or domain name and server root password in the Server to copy from and Server root password fields.
- Click on the required radio button to indicate what type of control panel software the remote server is using.
- Click on Grab Account List.
- Click on the checkboxes next to the accounts that you want to copy or, click on Select All to select all of the accounts on the remote server.
- Click on Copy.
NOTES: When copying many accounts (100+), it is best to split up the transfers into smaller groups (>60) as the transfers will increase the server’s CPU load greatly. This will also allow you to deal with any issues that arise more efficiently. You may also want to set up a DNS cluster between the 2 servers when copying accounts so that DNS zone files are automatically updated and there is no down time for the sites being transferred.
If you are changing the DNS servers used for these sites, (if the sites” DNS servers have new IP addresses) you need to make sure that this information is updated with each transferred domain’s registrar or the sites will not work. Changing DNS servers can cause down time for the sites while the DNS information is updated.
Troubleshooting
If SSH is disabled for the root user, you need to enter the user name and password of a user who is part of the Wheel group (su) in the User with su access and User with su access password fields.
Review Copied Accounts
This function allows you to review all the accounts that have been recently copied to or from your server.
Steps
- To access the Transfers Menu, click on Transfers, on the main screen of your WebHost Manager interface.
- Click on Review Copied Accounts.
- A list of all of the accounts that were recently transferred to or from your server will appear.
- Click on View Log next to an account to get more information about the transfer.
