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