On Tue, 07 Dec 2021 15:41:16 +0100 Mischa Diehm mischa.diehm@narrowin.ch wrote:
Hei all,
Hey Mischa!
we have a larger NAV setup with a bit more than 1000 Cisco Switches and use quite a lot of the features supported in NAV. Since our setup is a bit dusty we plan to upgrade (nav 4.9.5 on debian 8.11 to nav 5.3 ideally debian 11). I wanted to ask for your advice on the upgrade paths possible. We use a external db server that hosts the postgres db.
Requirements/Whishes:
- it would be great to keep the devices history and graphs so a simple
dump.py and reinstall would be a bit lossy
- it would be nice to start with a fresh installed debian 11.
Is there a good/preferred path that we could follow?
There's not much to it (except for the fact that we haven't yet published a Debian 11 package).
If you set up NAV on a new server, you will need to migrate your NAV config files there as well.
You're using an external PostgreSQL server, which is a good move - you should just keep using it from the new NAV server. As long as the new NAV server's db.conf is identical to the original NAV server, you should only need to run `navsyncdb` to migrate to the new NAV version's schema (this is usually automated on Debian package upgrades, but we're talking about a "fresh" installation here).
If your Graphite setup is on the same server as NAV, you will need to move that as well, both config and data.
p.s.: Any ideas / timeframe when nav will release debian 11 packages?
Sorry, nothing concrete. We are currently quite busy with upcoming changes to how our business is organized, but upgrading many of our production systems to Debian 11 (Bullseye) is on our roadmap for early next year, so we need to get on it ASAP.
BTW: If anyone would like to contribute to get there faster, the source code for the package exists as a fork of the NAV repo on GitHub: https://github.com/Uninett/nav-debian/tree/master/debian (each Debian version has its own branch, and ev