Top
PRIMECLUSTER  Installation and Administration Guide 4.5
FUJITSU Software

9.4.1 Changing Host OS Settings (KVM environment)

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

9.4.1.1 Changing the IP address of the Host OS

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

Operation procedure

  1. Execute the following command on all the 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.6.2 Setting up libvirt Shutdown Agent."

  3. For the host OS IP addresses (ip-address) you want to change, log in as a shutdown facility user on all guest OSes (nodes) in advance, as you need to authenticate yourself (create the RSA key), which is required when using SSH for the first time.

    # 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"
  4. Execute the following command on all the nodes to start the shutdown facility.

    # sdtool -b

9.4.1.2 Changing the Password of the Host OS Account (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 the 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.6.2 Setting up libvirt Shutdown Agent."

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

    # sdtool -b

9.4.1.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 the 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 the nodes to start the shutdown facility.

    # sdtool -b