To upgrade from DNSmanager 4 to DNSmanager 5 perform the following steps:
-
Install the environment variable on the server:
export MIGRATION=mgr5
- Install DNSmanager 5. For more information please refer to DNSmanager installation guide.
-
Stop DNSmanager 4 to avoid data de-synchronization:
chmod -x /usr/local/ispmgr/bin/dnsmgr killall dnsmgr
-
Import the data from DNSmanager 4 to DNSmanager 5:
/usr/local/mgr5/sbin/mgrctl -m dnsmgr import4 clear=on
NoteIf 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.
-
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.
-
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
- Change the integration parameters in the control panels integrated with DNSmanager.