Help require to migrate from Server A (vps) to Server B (dedicated)

Discussion in 'Site & Server Administration' started by SaN-DeeP, Jun 14, 2008.

  1. #1
    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.
     
    SaN-DeeP, Jun 14, 2008 IP
  2. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #2
    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.
     
    boltok, Jun 14, 2008 IP
  3. Jean-Luc

    Jean-Luc Peon

    Messages:
    601
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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
     
    Jean-Luc, Jun 14, 2008 IP