If you don’t have too much images, here is how I do :
- install your new server with different IP (old server will still be usable and never think you won’t need to deploy. I did once… 15 computers needed it…)
- then there is 2 way for images :
- Mount the directory on new server
mkdir <directoryname>
sudo mount -t nfs -o rw <OldFogServerIP>:/images /home/<youruser>/<directoryname>/
cp -r <directoryname>/ Images/
OR
Add new server storage in same group as the storage of the old storage under old GUI.
Don’t set new storage as MASTER or… you are dead ! lol
Check logs : /opt/fog/log/fogreplicator.log ou in GUI http://fogserver/fog/management/index.php?node=about&sub=log then “Image Replicator”.
(OR… the most simple, use Winscp ! lol)
For the host :
Export from old server : Report Management -> Host List -> Format CSV
Edit the file to have : “MAC Address (ie: 00:11:22:33:44:55) *”,“Hostname *”,“IP Address”,“Description”,“Image ID”
*These two things can be enough
Don’t leave this line in it.
Import in new FOG server : Host Management -> Import Hosts
You will have to remake images on GUI (unless you play with SQL) but during copy, you can do it.