Download Installation and Administration Guide 4.3

Transcript
- ON_SHUTDOWN=shutdown
- SHUTDOWN_TIMEOUT=300
Specify the timeout duration (seconds) for shutdown of the guest OS to SHUTDOWN_TIMEOUT. Estimate the length of time for
shutting down the guest OS and set the value. When multiple guest OSes are set, set the time whichever is greater. The above is an
example when the time is 300 seconds (5 minutes).
Note
- When setting /etc/sysconfig/libvirt-guests, do not describe the setting values and comments on the same line.
- When changing the settings in /etc/sysconfig/libvirt-guests during operation, make sure to follow the procedure in "9.4.1.3
Changing the Settings in /etc/sysconfig/libvirt-guests."
4. Creating a user ID
Point
This user ID will be the one used by the shutdown facility to log in to the host OS to force shut down the nodes. This user ID and
password are used for configuring the shutdown facility.
KVM environment
In a KVM environment, you need to set up a user for the shutdown facility for the guest OS control by PRIMECLUSTER.
(1) Creating a general user ID (optional)
Create a general user ID (optional) for the shutdown facility in the host OS.
# useradd <User ID>
(2) Setting up the "sudo" command
You need to set up the "sudo" command so that the general user ID (optional) for the shutdown facility can execute the command
as the root user.
Use the visudo command to add the following setting so that the general user created in step (1) can execute the command
without entering the password.
<User ID>
ALL=(root) NOPASSWD: ALL
3.2.3.1.5 Installing PRIMECLUSTER on the host OS
Install PRIMECLUSTER on the host OS.
For details, see "3.3 PRIMECLUSTER Installation."
3.2.3.1.6 Setting up the cluster high-speed failover function
You need to configure software and hardware that enables cluster high-speed failover after installing the OS and PRIMECLUSTER.
For details, see "3.1.6 Setting Up the Cluster High-Speed Failover Function."
3.2.3.1.7 Checking and setting the kernel parameters
To operate the PRIMECLUSTER-related software, you need to edit the values of the kernel parameters based on the environment.
Perform this setup before restarting the installed PRIMECLUSTER.
Target node:
All nodes on which PRIMECLUSTER is to be installed
The kernel parameters differ according to the products and components to be used.
- 69 -