Top
PRIMECLUSTER  Installation and Administration Guide 4.3
FUJITSU Software

8.9.2 KVM environment

This section describes how to change the settings of the shutdown facility when changing the settings of the hypervisor in the environment where the KVM virtual machine function is used.

8.9.2.1 Changing the password for the user for the shutdown facility

The following describes how to change the settings when you have changed the password for the user for the shutdown facility set in the Shutdown Agent configuration file after introducing the PRIMECLUSTER system into a KVM environment.

Operation procedure

  1. Execute the following command on all nodes to stop the shutdown facility.

    # sdtool -e
  2. Encrypt the password.

    # /opt/SMAW/SMAWsf/bin/sfcipher -c
    Enter Password:
    Re-Enter Password:
    Xh+kSlJ8nlQ=
  3. Define the encrypted password in the Shutdown Agent configuration file.

    See

    For details on how to define the configuration file, see "5.1.2.5.2 libvirt."

  4. Execute the following command on all nodes to start the shutdown facility.

    # sdtool -b

8.9.2.2 Changing the IP address of the hypervisor

The following describes how to change the settings when you have changed the hypervisor IP address of the virtual machine after introducing the PRIMECLUSTER system into a KVM environment.

Operation procedure

  1. Execute the following command on all nodes to stop the shutdown facility.

    # sdtool -e
  2. Define the changed IP address in the Shutdown Agent configuration file.

    See

    For details on how to define the configuration file, see "5.1.2.5.2 libvirt."

  3. Execute the following command on all nodes to start the shutdown facility.

    # sdtool -b

8.9.2.3 Changing the Settings in /etc/sysconfig/libvirt-guests

This section explains the procedure for changing the settings in /etc/sysconfig/libvirt-guests after installing the PRIMUCLUSTER system in a KVM environment.

Operation procedure

  1. Execute the following command on all nodes to stop the shutdown facility.

    # sdtool -e
  2. Change the settings in /etc/sysconfig/libvirt-guests.

    See

    For details on the settings in /etc/sysconfig/libvirt-guests, see "Setting the guest OS in the host OS (in a KVM environment)" for each virtual environment shown below:

  3. Execute the following command on all nodes to start the shutdown facility.

    # sdtool -b