NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Migration from ver 1.2.17 to latest one  (Read 721 times)

wetfish

  • Newbie
  • *
  • Posts: 4
    • View Profile
Migration from ver 1.2.17 to latest one
« 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.
Logged

Alex Kirhenshtein

  • Team Member
  • Administrator
  • Hero Member
  • *****
  • Posts: 913
    • View Profile
Re: Migration from ver 1.2.17 to latest one
« Reply #1 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.
« Last Edit: October 08, 2018, 01:47:08 pm by Alex Kirhenshtein »
Logged

wetfish

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Migration from ver 1.2.17 to latest one
« Reply #2 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
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6584
    • View Profile
Re: Migration from ver 1.2.17 to latest one
« Reply #3 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
Logged

wetfish

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Migration from ver 1.2.17 to latest one
« Reply #4 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
Logged

Alex Kirhenshtein

  • Team Member
  • Administrator
  • Hero Member
  • *****
  • Posts: 913
    • View Profile
Re: Migration from ver 1.2.17 to latest one
« Reply #5 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 info@radensolutions.com for a quote.
« Last Edit: October 17, 2018, 11:31:18 am by Alex Kirhenshtein »
Logged