In addition to the operations in "Chapter 8 Defining and Configuring the Server Environment", the following operations are necessary.
Installation and configuration of the host OS
When installing a VM host on an L-Server, refer to "Appendix D Installing VM Hosts on Physical L-Servers" in the "Setup Guide CE".
Settings for /etc/sysconfig/libvirt-guests of the host OS
/etc/sysconfig/libvirt-guests is a definition file, which is used to automatically stop guest OSs when their hypervisor is stopped.
If a hypervisor is stopped or restarted while its guest OSs are being operated, all virtual machines on the hypervisor will be suspended.
The suspension of the virtual machines is canceled when the hypervisor is started or restarted, and then suspended tasks are resumed.
Resuming tasks from the point of suspension may cause problems such contradictions in database transactions. In order to avoid this type of problem, the settings explained in this section are required.
Edit the /etc/sysconfig/libvirt-guests of the VM host as follows:
Cancel the commenting out of the #ON_BOOT=start line, and then change it to ON_BOOT=ignore.
Cancel the commenting out of the #ON_SHUTDOWN=suspend line, and then change it to ON_SHUTDOWN=shutdown.
Cancel the commenting out of the #SHUTDOWN_TIMEOUT=0 line, and then change it to SHUTDOWN_TIMEOUT=300.
For the VM guest, set the time between when the shutdown command is sent from the VM host and the when the VM guest is actually powered off. The unit is seconds.
Note
Check if the version of the libvirt package of the Host OS is 0.9.4-23.el6_2.4 or later.
The libvirt package contains some security incompatibilities. If the version is earlier than 0.9.4-23.el6_2.4, please upgrade it.
For details, refer to the following web site.
URL: https://access.redhat.com/knowledge/solutions/71283 |
Configuration of SSH connection
Configure VM hosts so that the admin server can establish SSH connections to them through admin LANs.
When configuring the SSH of VM hosts, make "3DES-CBC" usable as an encryption algorithm.
This configuration is necessary for the dashboard (System Conditions) to collect information.
An example configuration procedure is shown below. (the example uses OpenSSH, which is bundled with the OS):
Add "3des-cbc" to Ciphers in /etc/ssh/sshd_config.
Note: If Ciphers does not exist or is commented out, this addition is not necessary.
"3DES-CBC" is enabled by default.
Restart the SSH daemon.
# /etc/rc2.d/S55sshd restart
Prerequisites for L-Server Live Migration
Prerequisites for L-Server live migration in RHEL-KVM environments are described as follows:
The following items for the source and destination VM hosts for migration must be the same
Kernel versions (including minor versions)
CPU architectures (Intel64 or x86)
CPU model names
The disk used for a virtual L-Server must be connected to the destination VM host
The virtual bridge connected to a virtual L-Server must be in the destination VM host.
Configuration for L-Server Live Migration
When using Resource Orchestrator in RHEL-KVM environments, SSH is used for virtual L-Server live migration.
The following settings must be configured in each host which performs live migration of L-Servers, using the manager.
/etc/hosts configuration
configuration when using SSH
Refer to the following sections in the "Red Hat Enterprise Linux 6 Virtualization Administration Guide", and configure the settings.
Chapter 4. KVM live migration
Chapter 5. Remote management of guests
URL: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/index.html |
You can refer to the above sections from the following URL for the manuals of Red Hat Enterprise Linux.
URL: http://www.redhat.com/docs/manuals/enterprise/RHEL-6-manual/index.html |
Configuration for Red Hat DM Multipath
Edit the /etc/multipath.conf configuration file, and perform the following:
Set the user_friendly_names attribute to "yes".
Do not set the alias attribute.
Leave other settings at their default values.
For details, refer to the following RedHat document:
URL: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/index.html |
You can refer to the above URL from the following URL for the manuals of Red Hat Enterprise Linux.
URL: http://www.redhat.com/docs/manuals/enterprise/RHEL-6-manual/index.html |