If it were only me using the system I would not be paranoid. But...
I have more than 200 users of the system, and we have about 30 custom dashboards that upper upper managers look at.
In my migration, I am trying to minimize downtime, but I also want to end up on the latest versions of everything. I do have a Red Hat 7 running with the Nagios XI 5.4.0 like you suggested. I have the latest versions of rrdcached, NRPE, livestatus, gearman, mod_gearman, ramdisk, JMX, jolokia, NagVis, no more postgres, Offloaded DB, and every possible performance tweak I can think of. I even have separate Volumes for the OS and the Data on both the Core server and DB server.
I am using redis on my remote gearman so I can run tests using counters that save state based data. So I offload even more tests from my core server. I even added redis awareness to the check_oracle_health Consol Labs plugin v3.0.1 so I can run Oracle tests on the remote mod_gearman servers and offload more from my core server. I do not want to be concerned about state based data being messed up.
I have a lot of things percolating. Moving to a new OS is kind of traumatic. I have to make sure everything compiles on Red Hat 7 and still works properly. I need a seamless migration. A successful migration.
Instead of using import, I figured out that I can use mysqldump and some file copying. It is so much faster.
From the Offload DB doc, I tested the sql dump of all 3 databases - pushing them to the new system - as a migration method. It takes 10 minutes. I can copy the nagios/etc files ahead of time. Pushing the Databases is important because of the Users I have added, and Dashboards since they are stored in the nagiosxi database in a funky json-ish format.
So everything is new on my Nagios 5.4.0 - except that is is idle right now.
I plan to dump databases there, copy some files, and be running perfectly. That's my plan and I'm sticking to it.
I just have to remember to use nagiosxi-db/mods/mysql/schema_0?.sql to update the schema after the dump is complete. Maybe I can do that on my 5.2.7 server ahead of time. I can copy the correct nagios/etc/ config files ahead of time. Use rsync to push NagVis. Rsync the RRD files last to reduce gaps in the graphs (takes the longest time)
Whenever I migrate to a new system, I try very hard to have minimal downtime for the users. I don't want my users to even notice.
So yes, I am overthinking it a bit. But in the end, if I do it right, it is worth the extra effort.
I'll let you know how it goes. I have to schedule it and get approvals, but I think the last DB issue is okay now.
At my last count I have 4815 hosts and 40951 services running. That's a lot of Red if I make a mistake.
I guess you can close this if you like. Next week... fingers crossed.
Thanks.
Steve B