This section describes operations before Offline Migration in a KVM environment.
Changing cluster settings (guest OS)
Change the cluster settings before Offline Migration.
Execute the following command on the guest OS that is to be migrated.
# /opt/SMAW/SMAWsf/bin/sfkvmmigrate -p source-domain -t CFtimeout -g
Domain name of guest OS to be migrated
Timeout of CF cluster interconnect (seconds)
For the value of CFtimeout, specify (real time of Offline Migration + 300 seconds of tolerance time for processing delay).
After executing this command, the cluster settings on all the nodes of clusters among the guests specified by source-domain will be changed as follows:
Timeout of CF cluster interconnect (10 seconds to CFtimeout seconds)
Stop of the shutdown facility
This section describes operations after Offline Migration in a KVM environment.
Changing cluster settings (guest OS)
Change cluster settings after Offline Migration.
Execute the following command on the migrated guest OS.
# /opt/SMAW/SMAWsf/bin/sfkvmmigrate -u source-domain -g
Domain name of migrated guest OS
After executing this command, the cluster settings on all the nodes of clusters among the guests specified by source-domain will be changed as follows:
Timeout of CF cluster interconnect (value specified before Offline Migration [seconds] to 10 seconds)
Settings of the shutdown facility (IP address of host OS, CF node name of host OS, weight of SF)
Settings of the Host OS failover function (CF node name of host OS)
Startup of the shutdown facility
Checking the status of the shutdown facility (guest OS)
Execute the following command on all the nodes to check that the cluster settings are correct after Offline Migration.
# sdtool -s
Note
If TestFailed or InitFailed is displayed, there is a possibility that the settings of the shutdown facility were not changed.
Perform the procedure from Step 1 again.
This section describes operations before Offline Migration in a KVM environment.
Changing cluster settings (host OS)
Change the cluster settings before Offline Migration.
Execute the following command on the original host OS.
# /opt/SMAW/SMAWsf/bin/sfkvmmigrate -p source-domain -t CFtimeout
Domain name of guest OS to be migrated
Timeout of CF cluster interconnect (seconds)
For the value of CFtimeout, specify (real time of Offline Migration + 300 seconds of tolerance time for processing delay).
After executing this command, the cluster settings on all the nodes of clusters among the guests specified by source-domain will be changed as follows:
Timeout of CF cluster interconnect (10 seconds to CFtimeout seconds)
Stop of the shutdown facility
This section describes operations after Offline Migration in a KVM environment.
Changing cluster settings (host OS)
Change the cluster settings after Offline Migration.
Execute the following command on the original host OS.
# /opt/SMAW/SMAWsf/bin/sfkvmmigrate -u source-domain
Domain name of migrated guest OS
After executing this command, the cluster settings on all the nodes of clusters among the guests specified by source-domain will be changed as follows:
Timeout of CF cluster interconnect (value specified before Offline Migration [seconds] to 10 seconds)
Settings of the shutdown facility (IP address of host OS, CF node name of host OS, weight of SF)
Settings of the Host OS failover function (CF node name of host OS)
Startup of the shutdown facility
Checking the status of the shutdown facility (guest OS)
Execute the following command on all the nodes to check that the cluster settings are correct after Offline Migration.
# sdtool -s
Note
If TestFailed or InitFailed is displayed, there is a possibility that the settings of the shutdown facility were not changed.
Perform the procedure from Step 1 again.