We have 2 Servers: Server A - this is a VPS All webfiles/domains/dns/nameservers are confuigured on this server Server B - this is a dedicated server Only Databases are setup on this server. Now we have planned to move from Server A to Server B to avoid/minimize server loads caused on Server A due to heavy traffic. How should we begin ? How can we minimize the downtime in migration. ? How can we transfer our awstats logs from last 2 years to new server ? We are mainly concerned about domains/dns setup where we have least knowledge these are only on Server A. We are also using custom nameservers and Servint nameservers for some domains respectively. Thank You.
To put it simply, you should follow these steps: 1. Install the required packages and configure the services on the new server (web server, databases, DNS etc.) (you can copy over some of the configuration from the VPS and mould it accordingly) 2. Transfer all the data to the appropriate place on the new server. You can zip up and "pipe" the large data through SSH or FTP to minimize on the bandwidth and time used. 3. Test the new setup and make sure it works. 4. When ready, sync the data again (using rsync for example), if required 4. Change your DNS so traffic goes to the new server Off course if you're hosting your DNS on the VPS, there are additional steps involved. You'll have to register the new server's IP with your registrar and set that as the Primary NS for your domain. Wait till these records have been propagated before switching your site though.
Hi, Install AWStats on the new server and copy the contents of the AWStats data directory of the old server to the AWStats data directory of the new server. That's all. The transfer of data should take place just before you switch from the old server to the new one. If you transfer the data a few days in advance, the stats of these few days will not be available. Jean-Luc