Howto MOVE app from node1 to node2

NethServer Version: 8
Module: mail sogo nextcloud
Hello :slight_smile:
we have a NS8 on debian12. Now we want to move the apps to new NS8 on rocky, because of need support, and Nethesis supports only rocky base.
Understand we this right ?
We are looking for a step-by-step-HOWTO for this problem, where is it to find ?
(The admin manual for this purpose is very short …)

Yes, see System requirements — NS8 documentation

I’m afraid there’s no step-by-step howto but let’s see if we can create one.

I’d try it via backup/restore to not really touch the production server. You can test the app restores until they work.

It should also be possible to migrate by moving apps and user domain, see Move from NS7 to NS8 - What will I be missing? - #7 by Andy_Wismer

Please backup/snapshot the production NS8 before, just to have a fallback in case something goes wrong.

I think following steps are needed:

  • Setup a Rocky node
  • Join the Rocky node to the Debian cluster
  • Move apps and account provider to the Rocky node
  • Set Rocky node to leader
  • Test apps
  • Remove Debian node from the Rocky cluster
  • Shutdown Debian node
2 Likes

I think we should clarify this sentence on our System requirements manual page:

It is recommended to use similar hardware and the same Linux distribution installed on all nodes. – System requirements — NS8 documentation

That said, if I want to switch to another distribution, I believe it’s acceptable to join it to an existing cluster temporarily during a migration.

In other words, mixing different distributions within the same cluster is legitimate as a transitional condition—such as during migration—as long as they provide similar software versions (e.g. Debian 12 and Rocky Linux 9).

This is important because, at some point, the distribution will need to be upgraded to its next major version, and mixing distros can lead to misaligned versions of core components like Python, Podman, and Systemd.

2 Likes