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.
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
Execute the following command on all the nodes to stop the shutdown facility.
# sdtool -e
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."
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"
Execute the following command on all the nodes to start the shutdown facility.
# sdtool -b
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
Execute the following command on all the nodes to stop the shutdown facility.
# sdtool -e
Encrypt the password.
# /opt/SMAW/SMAWsf/bin/sfcipher -c
Enter Password:
Re-Enter Password:
Xh+kSlJ8nlQ=
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."
Execute the following command on all the nodes to start the shutdown facility.
# sdtool -b
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
Execute the following command on all the nodes to stop the shutdown facility.
# sdtool -e
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:
When building a cluster system between guest OSes on one host OS, see "3.2.1.2 Host OS setup (after installing the operating system on guest OS)."
When building a cluster system between guest OSes on multiple host OSes without using Host OS failover function, see "3.2.2.2 Host OS setup (after installing the operating system on guest OS)."
When building a cluster system between guest OSes on multiple host OSes using Host OS failover function, see "3.2.3.1.4 Host OS setup (after installing the operating system on guest OS)."
Execute the following command on all the nodes to start the shutdown facility.
# sdtool -b