DNSmanager Documentation

How to migrate from DNSmanager 4 to DNSmanager 5

To upgrade from DNSmanager 4 to DNSmanager 5 perform the following steps:

  1. Install the environment variable on the server:

    export MIGRATION=mgr5
  2. Install DNSmanager 5. For more information please refer to DNSmanager installation guide.
  3. Stop DNSmanager 4 to avoid data de-synchronization:

    chmod -x /usr/local/ispmgr/bin/dnsmgr
    killall dnsmgr
  4. Import the data from DNSmanager 4 to DNSmanager 5:

    /usr/local/mgr5/sbin/mgrctl -m dnsmgr import4 clear=on
    Note
    If the required data were added after you had installed DNSmanager 5, run the command without the parameter "clear=on". The data won't be deleted before the import. Please note that in this case, we do not guarantee that the import process will be completed successfully.

    Once completed the command will return "OK" or an error.

  5. Make sure the import process has been completed successfully:

    grep "WARNING" /usr/local/mgr5/var/dnsmgr.log

    Repeat the import in case of the errors.

  6. To disable the auto-start of DNSmanager 4 comment the following strings in the file /etc/rc.local:

    #/usr/local/ispmgr/sbin/ihttpd <IP address> <port>
    #/usr/local/ispmgr/sbin/mgrctl -m dnsmgr bindip
  7. Change the integration parameters in the control panels integrated with DNSmanager.