Linux Today: Linux News On Internet Time.

More on LinuxToday

How To Do Live Migration Of OpenVZ Containers

May 07, 2009, 04:31 (0 Talkback[s])
(Other stories by Falko Timme)

[ Thanks to Falko Timme for this link. ]

"2 Live Migration Of From server1 To server2

"To check if the live migration is really done "live", i.e. without interruption of the guest, you can log into (e.g. with SSH) and ping another server:



"This will ping until you press CTRL + C. The pinging should continue even during the live migration.


"I want to run the live migration as the root user. Live migration will work only if the root user on server1 can log into server2 via SSH without being asked for a password (this means SSH root logins must be allowed on server2 - check your sshd configuration: /etc/ssh/sshd_config). This can be achieved by generating a key pair for root@server1 and then store root@server1's public key in the ~/.ssh/authorized_keys file of root@server2. Fortunately, there's a bash script that can do this for us. We create the script as follows:"

Complete Story

Related Stories: