Top
PRIMECLUSTER  Installation and Administration Guide 4.4
FUJITSU Software

G.3.2 When performing Offline Migration

G.3.2.1 When not using the Host OS failover function

G.3.2.1.1 Operations before Offline Migration

This section describes operations before Offline Migration in a KVM environment.

  1. 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
    source-domain

    Domain name of guest OS to be migrated

    CFtimeout

    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

G.3.2.1.2 Operations after Offline Migration

This section describes operations after Offline Migration in a KVM environment.

  1. 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
    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

  2. 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.

G.3.2.2 When using the Host OS failover function

G.3.2.2.1 Operations before Offline Migration

This section describes operations before Offline Migration in a KVM environment.

  1. 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
    source-domain

    Domain name of guest OS to be migrated

    CFtimeout

    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

G.3.2.2.2 Operations after Offline Migration

This section describes operations after Offline Migration in a KVM environment.

  1. 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
    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

  2. 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.