xen-as long as you have plenty of ram
Quote:
Now I want to transfer the zimbra installation of the laptop, lets say: x.domain.com to the real server y.domain.com while keeping everything intact.
So not only am I moving the data/server, I also want to change the domain name.
What would be the best way of going about it? Would it be best to simply install the new server and use Imapsync again?
|
Depends on how configured/full of users, etc you already have this install.
In essence you can't change hostnames without a headache; the command to do so needs some work.
IP & URL's you can change-it's the hostname of the machine that will tend to fudge things up.
So if you can live with giving this new server virtual instance the hostname for your laptop then:
-shutdown zimbra
-copy/rsync/tar the entire /opt/zimbra and any linked directories -keeping all permissions intact as best as possible (you can run a permissions script later if need be) to the new server (of course don't delete any data from your laptop yet)
-disconnect your laptop from the network
-make the 2nd server the EXACT same hostname of the laptop
-make sure the dns/mx records point at the new server machine's IP
-check hosts files etc (make them match except for IP)
-install.sh (essentially do the 'upgrade')
-once up and running add a new domain, and move the users to it. (simple as drop down boxes in the admin console-or CLI commands)
-make sure sending and receiving works properly-of course check mx records
-don't delete the old domain name untill your sure of proper operation-don't forget to move over admin accts etc (you can make the new domain the default if necessary)
-add any needed virtual hosts
once perfectly running:
-remove old zimbra install & give your laptop a new hostname...