Page tree
Skip to end of metadata
Go to start of metadata
In this guide, we are assuming that source server is still available.
  1. Deploy the new server and install Master SolusVM on it
  2. Backup the database of the source Master SolusVM, by browsing to SolusVM > Tools > Database and clicking on Download
  3. Parts of SolusVM Master database are encoded using a unique encryption key stored in /usr/local/solusvm/includes/solusvm.conf (see About solusvm.conf file on Master Node for the details). What you need to do now is to replace the encryption key (the last entry in solusvm.conf) on the new server with the encryption key from the old server.

    Example:

    Old server solusvm.conf file:

    # cat /usr/local/solusvm/includes/solusvm.conf
    Vmf7LEAnrb5S8x6:218H3lW42EkJZ1y:GOJebeWEl0IOaciXhnM27OryQfQikF:localhost:XFrORvKb69F1QDlmJ6hDqg374iQjL2ndgGIEtkYFTixpFIYFQ0

    New server solusvm.conf file:

    # cat /usr/local/solusvm/includes/solusvm.conf
    ORq0dnadRkMyu5S:O4enHwSNLOQImDx:p1BSl44Mi0CBCaGEUZk1txkAdDHNRJ:localhost:gcTrdvQorLnvJhyZYrC0cIOUBJ3H4gJVl3k0SjQ54xgT4hFC5a

    File on the new server after step 3:

    # cat /usr/local/solusvm/includes/solusvm.conf
    ORq0dnadRkMyu5S:O4enHwSNLOQImDx:p1BSl44Mi0CBCaGEUZk1txkAdDHNRJ:localhost:XFrORvKb69F1QDlmJ6hDqg374iQjL2ndgGIEtkYFTixpFIYFQ0
  4. Upload the database backup file from step 2 to the new server and restore it as documented here: Restore from System Backup
  5. Move templates from the old server to the new one. The locations of templates are:


    /home/solusvm/kvm/template/ -- for KVM templates
    
    /home/solusvm/xen/template/ -- for Xen templates
    
    /vz/templates/cache/ -- for OpenVZ templates
  6. Copy SSL certificate from the old master node to the new one, certs are at

    /usr/local/svmstack/nginx/ssl/ssl.crt 
    /usr/local/svmstack/nginx/ssl/ssl.key
    /usr/local/solusvm/includes/nvnc/cert.pem 

    In case you are migrating from old SolusVM version with lighttpd web server running, SSL certificate location on the old server would be /usr/local/solusvm/ssl/

In case IP address of new master node will be the same, the steps above are sufficient. In case IP address is different, perform the steps below:
  1. In your client area reissue the license to reset the IP address binding.
  2. In Nodes > List nodes > Edit localhost node, replace the IP address with the new IP address of the master node.
  3. Remove the /usr/local/solusvm/data/allow.dat and /usr/local/solusvm/data/ftp.dat files on the every slave server right after the old master node is stopped.
  4. In case master server is integrated with WHMCS, change IP address of the master node at WHMCS > Product/Services > Servers.
  • No labels