Dear community,
the migration of my first Nethserver 7 to NETH8 was successful - with certain difficulties but also special features that I would like to summarize here:
No problems - Mail and SOGo:
The migration of Mail and Sogo went smoothly.
Everything was there, even the calendar shares were transferred (there were no mail folder shares here).
The mail folders were quite sparsely populated, hopefully this will work with large mail folders as well, but the migration tool allows further sync.
Difficulty - SAMBA.
My SAMBA shares were around 300GB and 1TB in size.
I had to “exclude” the 1TB share because of its size in order to copy it later. Its content should not be on the target volume under “/home” but on a separate volume that should be mounted within “/home/samba1/etc_pp”. Since such a mount can only be created after(!) the samba1 app has been created, the content could not be transferred.
To “exclude” this content, I moved it to another folder “.FOLDER” within “ibay” that was not shared.
Result:
- The 300GB share was migrated without any problems.
- The 1TB share was (as hoped) completely omitted - initially (even with multiple syncs).
So there was still the “finish”.
I assumed that “only” the AD would be transferred during the finish. But that took an unusually long time. A look at the volume usage showed that the previously omitted folder had now been transferred after all.
During the finish, it seems that not only the AD is finally transferred but also other (old?) files still in the “ibay” directory that are no longer or were no longer an explicit share. Actually not a bad idea, just surprising.
The sheer size of the “remaining” files was probably too much for the migration tool, because it stopped after several hours. Although the data was completely copied to the drive under “/home”, which had been enlarged in the meantime. Since no further “sync” is planned for the “Finish”, it did not continue.
But since the 1TB of data was not supposed to end up on the drive anyway, I started again from the beginning. In anticipation, corresponding snapshots were available from Nethserver7 and NETH8.
This time I copied all the data from the 1TB share to a completely separate volume, which was then removed. As a test, I created a folder “.TESTFOLDER” under “ibay” again - to see whether this would be skipped again and only copied during the “Finish”.
The first part of the SAMBA migration ran successfully again (although “.TESTFOLDER” was skipped).
The second part - the “finish” copied this folder again (only a few test contents). The Samba and AD migration was therefore successful.
Since the sync can be carried out multiple times in the “sync” phase of the SAMBA migration, the option arises at this point
(I didn’t know this before) to integrate a separate drive into the new SAMBA path during the migration.
The content of the “TESTSHARE” share could, for example, be moved to “ibay/.NOSHARE” before the first SAMBA sync. The first sync then creates the path to the “TESTSHARE” share, but the content is not copied (the path is needed for the own mount).
In this way, you would have the opportunity to mount a suitable drive in the NETH8 and integrate it directly into the new Samba path, e.g. the “TESTSHARE” share, using a bindmount. Now move the content in Nethserver 7 from “ibay/.NOSHARE” back to “ibay/.TESTSHARE”. The next time you sync, the contents of “TESTSHARE” should be migrated to the desired (large) drive in the NETH8.
In my case, this was no longer necessary because I had already completely outsourced the data. I only copied it to the alternatively set up bindmount afterwards. But in principle it should work like this and I will test it for the next migration and report back here.
What didn’t work - OpenVPN Roadwarrior
After completing the migration, the Nethserver 7 was successfully an AD client for the NETH8. That’s how it should be so that any other services that cannot be migrated still work. Unfortunately, the OpenVPN Roadwarrior clients (AD) no longer worked because they were completely missing from the settings on the Nethserver 7. I hadn’t expected that.
I had no choice but to restore the Nethserver 7 to an earlier state before the AD conversion so that this function would work again. I manually removed the remaining services and blocked AD connections (636, 389) between the old and new Nethserver. The old Nethserver now only acts as an OpenVPN roadwarrior for existing AD clients - that’s enough for me. New AD clients (then on the new NETH8) are assigned other VPN methods.
So these are my first experiences, maybe it will help someone.
Regards
Yummiweb