Perform the following procedure on guest OSes in which the Migration is performed and all host OSes.
You need to perform this procedure only once and not for each Migration.
Creation of kvmguests.conf file (host OS)
Perform the procedure specified in "5.1.2.5.3 Setting up the Host OS failover function when using it in the PRIMEQUEST KVM environment" on all host OSes. This procedure is the same for both PRIMEQUEST and PRIMERGY. The file named kvmguests.conf must be the same on all host OSes. It is not required to perform above procedure again on host OSes where the procedure has already been performed on PRIMEQUEST.
If you have already performed this procedure, you do not have to perform Step 1 and 2.
Registration of host OS information (host OS)
Execute the following command on the all host OSes to register the host OS information.
# /opt/SMAW/SMAWsf/bin/sfkvmmigratesetup -c -i hostip [-w off]
Specify the IP address of the host OS on which this command was executed.
Available IP address formats are IPv4 and IPv6.
IPv6 link local addresses are not available.
Specify this option if the weights of the guest OS shutdown facility and that of the host OS shutdown facility should not be linked when migrating the guest OS.
Without this option, linkage of the weights of the guest OS shutdown facility and the host OS shutdown facility is enabled when migrating the guest OS.
This option must be the same on all host OSes.
Setting up guest OSes (host OS/guest OS)
Perform following procedure on all guest OSes.
It is alternative to perform following procedure on all guest OSes at a time or one by one.
Stopping of guest OS
Execute the following command on the guest OS to stop the guest OS.
# /sbin/shutdown -P now
Settings to look up host OS information
On the host OS where the guest OS is stopped, execute the following command to enable the guest OS to look up the host OS information file.
# /opt/SMAW/SMAWsf/bin/sfkvmmigratesetup -s domain
Specify the domain name of the guest OS.
Startup of guest OS
Start the guest OS.
Creating user ID in the destination host OS (host OS)
Create the user ID in the destination host OS.
For the detailed procedure, see "3.2.3.1.4 Host OS setup (after installing the operating system on guest OS)."
Login to the destination host OS (guest OS)
Log in to the destination host OS from all guest OSes and authenticate yourself (create the RSA key) in advance, which is required when using SSH for the first time.
Log in to the destination host from all guest OSes with the host OS account specified in libvirt shutdown agent.
# ssh -l user XXX.XXX.XXX.XXX The authenticity of host 'XXX.XXX.XXX.XXX (XXX.XXX.XXX.XXX)' can't be established. RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. Are you sure you want to continue connecting (yes/no)? yes <- Input yes