Top
PRIMECLUSTER  Installation and Administration Guide 4.5
FUJITSU Software

G.3.1 When performing Live Migration

G.3.1.1 When not using the Host OS failover function

G.3.1.1.1 Operations before Live Migration

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

  1. Changing cluster settings (guest OS)

    Change the cluster settings before Live Migration.

    Execute the following command on the guest OS that is to be migrated.

    # /opt/SMAW/SMAWsf/bin/sfkvmmigrate -p source-domain -g
    source-domain

    Domain name of guest OS to be migrated

    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 600 seconds)

    • Stop of the shutdown facility

G.3.1.1.2 Operations after Live Migration

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

  1. Changing cluster settings (guest OS)

    Change the cluster settings after Live 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 (600 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 of the guest OS to check that the cluster settings are correct after Live 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.1.2 When using the Host OS failover function

G.3.1.2.1 Operations before Live Migration

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

  1. Changing cluster settings (host OS)

    Change the cluster settings before Live Migration.

    Execute the following command on the cluster node of the original host OS.

    # /opt/SMAW/SMAWsf/bin/sfkvmmigrate -p source-domain
    source-domain

    Domain name of guest OS that is to be migrated

    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 600 seconds)

    • Stop of the shutdown facility

G.3.1.2.2 Operations after Live Migration

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

  1. Changing cluster settings (host OS)

    Change the cluster settings after Live 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 (600 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 Live 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.