To upgrade from IPmanager 4 to IPmanager 5 perform the following steps:
-
Install the environment variable on the server:
export MIGRATION=mgr5
- Install IPmanager 5. For more information please refer to IPmanager installation guide.
-
Stop IPmanager 4 to avoid data de-synchronization:
chmod -x /usr/local/ispmgr/bin/ipmgr killall ipmgr
-
Import the data from IPmanager 4 to IPmanager 5:
/usr/local/mgr5/sbin/mgrctl -m ipmgr import4 clear=on
NoteIf the required data were added after you had installed IPmanager 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 "ОК" or an error.
-
Make sure the import process has been completed successfully:
grep "WARNING" /usr/local/mgr5/var/ipmgr.log | grep ipmgr
Repeat the import in case of the errors.
NoteThe existing /24 networks will be combined while importing. User access privileges will be optimized, the intersecting ranges will be combined into one. - Check the DNS settings and synchronize the data manually. Learn more in DNS settings.
- Change the integration parameters in the control panels integrated with IPmanager.