NetXMS Support Forum

English Support => General Support => Topic started by: wetfish on October 05, 2018, 01:21:00 PM

Title: Migration from ver 1.2.17 to latest one
Post by: wetfish on October 05, 2018, 01:21:00 PM
Hi,
I am new to this product as I've just took over a system. I have a Windows 7 32bit computer running NetXMS 1.2.17. I would like to get a Windows 10 64bit machine and install the latest version of NetXMS.

May I kindly ask if the latest version is supported on Windows 10 please? Also, would I be able to migrate the configuration from the current 1.2.17 version instead of re-configuring all devices from scratch?

Thanks in advance for your help.
Title: Re: Migration from ver 1.2.17 to latest one
Post by: Alex Kirhenshtein on October 05, 2018, 03:48:47 PM
Hello.

Yes, windows 10 is fully supported. Any version can be upgraded to latest using standard installer.
Upgrade process is really simple - install new binaries, then upgrade database schema. By default, schema upgrade is performed by the installer automatically but I'd do it manually:

1) backup existing database
2) run integrity check: "c:\netxms\bin\nxdbmgr check" and fix errors if any.
3) migrate existing database to new server, if required
4) install new binaries using latest sever installer. In installation wizard select option "do not upgrade database schema". Cancel server configuration wizard if installing on the new server, copy netxmsd.conf and nxagentd.conf from c:\netxms\netxms to the new server (to the same location)
5) adjust database credentials in netxmsd.conf
6) run cmd.exe, then run "c:\netxms\bin\nxdbmgr upgrade". This will upgrade schema (and convert data when needed) to latest version.
7) run integrity check again ("c:\netxms\bin\nxdbmgr check"), most likely this run will find some leftovers / minor inconsistencies which were not detected by the old version
8) start sever in debug mode: "c:\netxms\bin\netxmsd -D4" (4 - debug level)

if everything is in order, stop server with "down" command and restart as windows service.
Title: Re: Migration from ver 1.2.17 to latest one
Post by: wetfish on October 07, 2018, 08:09:57 PM
Hi,
Thanks for your prompt reply.

As my current installation is on Windows 7 with ver 1.2.17 (old version) and I'll be installing the latest version on Windows 10, is there a way I can migrate the config from the old Windows 7 to the latest version running on Windows 10 please?

Will the latest version accept the old version config? I am assuming there is a way to copy the config from one machine to another.

Thanks in advance
Title: Re: Migration from ver 1.2.17 to latest one
Post by: Victor Kirhenshtein on October 08, 2018, 09:58:31 AM
Hi,

most of the configuration is in the database. Database schema will be updated by database manager as needed. Server configuration file usually contains only database access and log configuration, and you can just copy it to new machine - there are no differences in syntax.

Best regards,
Victor
Title: Re: Migration from ver 1.2.17 to latest one
Post by: wetfish on October 11, 2018, 03:04:21 PM
Hi,
Thanks for your reply.

Please note that I am not upgrade NetXMS on the same machine. my machine is currently a Windows 7 one with NetXMS 1.2.17.

I would like to install the latest version of NetXMS on a Windows 10 machine and move the whole config over. I still cannot understand how to do this.

Is there a way to perform such a migration?

Please advise
Thanks
Title: Re: Migration from ver 1.2.17 to latest one
Post by: Alex Kirhenshtein on October 11, 2018, 03:49:51 PM
Install DB on the new server
Install NetXMS on the new server, cancel configuration wizard
Dump old database / restore on the new server
Copy configuration files (c:\netxms\etc\*.conf)
Adjust configuration files (credentials, IP addresses, etc.)
run "nxdbmgr upgrade"
Start "NetXMS Core" service.

We can perform migration for you remotely, please contact us at [email protected] for a quote.