Migrate Fog on a new server
-
Hello,
I’m planning to migrate our fog server to a new machine.
The new machine will be configured in the same way.I had some questions about this migration:
- Is the documentation available at this address still up to date?
[https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG](link url) - The old machine is in version 1.5.9, the new machine, due to installation problems is in version 1.5.9.111.
Is this a problem? Or do I have to upgrade the old machine to 1.5.9.111?
During tests, I noticed some bugs during the installation of the master branch on a stable debian (bullseye):
The installer tries to install the “php-gettext” package, but this package doesn’t exist anymore and you have to install the “php-php-gettext” package
The installer proposes the installation of certificate, if to the first question it is answered no, to the second question, it is not possible to say no to give a server name for the certificate.
So the installation fails with the stable versionWhen switching to the dev-branch version, the problems are the same but the installation finishes normally.
Thanks for your help.
- Is the documentation available at this address still up to date?
-
@plegrand What’s your time schedule on migrating the server? I am pretty short on time these days but if it’s not in a hurry I’d look into this and give you some extensive answers in a few weeks.
-
The old and new fog versions do not need to be the same version. The only restriction here is that you cannot downgrade. You can go from older to newer, but not from newer to older.
-
@sebastian-roth Hello
The migration is done and I think I followed the documentation.
During a test I encounter the following problem:Could not mount images folder (/bin/fog.download)
Reason: mount: mounting 192.168.39.243:/home/images/ on /images failed: Permission deniedMy images directory is in /home/images.
Do i miss something ? -
@sebastian-roth
I think i 've got the solution :
in fogsettings,storageLocation was ='/images',
then
/etc/exports was :/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
After correcting fogsettings (storageLocation =‘/home/images’,
/etc/exports :/home/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0) /home/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
and it seems to works
-
@plegrand Well done. Good to see you got it done using the instructions from the wiki.