Install Stratus Cloud Availability Services after you have prepared your OpenStack environment (KVM-FT Hardware and Software Requirements) and connected the Ethernet cables between the two compute nodes on which you will install the software (Connecting Ethernet Cables Between KVM-FT Compute Nodes).
To install Availability Services on KVM compute nodes:
Run the yum utility to update CentOS components including the kernel to the latest available release level, as follows:
# yum upgrade
After the upgrade, verify that the CentOS kernel level is 2.6.32-504.8.1 by executing the uname command, as follows:
# uname -r
2.6.32-504.8.1.el6.x86_64
Install the additional kernel packages that are required for Availability Services. For example, execute the following command:
# yum install kernel-headers-2.6.32-504.8.1 \
kernel-devel-2.6.32-504.8.1 \
kernel-firmware-2.6.32-504.8.1
Verify that the correct kernel packages are now installed. For example:
# rpm -qa | grep kernel kernel-devel-2.6.32-504.8.1.el6.x86_64 dracut-kernel-004-356.el6.noarch kernel-headers-2.6.32-504.8.1.el6.x86_64 libreport-plugin-kerneloops-2.0.9-21.el6.centos.x86_64 kernel-firmware-2.6.32-504.8.1.el6.noarch abrt-addon-kerneloops-2.0.8-26.el6.centos.x86_64 kernel-devel-2.6.32-504.el6.x86_64 kernel-2.6.32-504.8.1.el6.x86_64 kernel-2.6.32-504.el6.x86_64
Install the GNU Compiler Collection (gcc), as follows:
# yum --exclude=*.i686 install gcc
Add the RPMforge repository to your yum configuration, as follows:
# yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
Install the yum-utils package for access to additional yum commands:
# yum install yum-utils
Verify that there are no unfinished yum transactions by entering the following yum command:
# yum-complete-transaction --cleanup-only Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.sanctuaryhost.com * epel: mirror.cogentco.com * extras: centos.mirror.nac.net * updates: mirror.wiredtree.com No unfinished transactions left.
If there are unfinished transactions, resolve them before continuing with the installation.
To prevent the ip6tables firewall service from interfering with KVM-FT hypervisor operations, disable the ip6tables service by entering the following commands:
# chkconfig ip6tables off
# service ip6tables stop
In the /opt directory, create a directory called Release:
# mkdir /opt/Release
On the compute node, switch to the /opt/Release directory:
# cd /opt/Release
Run the following command to make the installation script an executable file, where script is the name of the script:
# chmod a+x script.sh
Run the installation script in the following format, where the axlinkethdev1 and axlinkethdev2 arguments represent the Ethernet devices to which the KVM-FT A-link cables are connected and detectedLink represents the network (adapter, virtual LAN, or channel bond) that handles data traffic for the instances:
# ./kvm-ax-n.n.n.n.n install axlinkethdev1 axlinketdev2 detectedLink
The detectedLink network is monitored for link up/down state transitions. A link down state indicates that KVM-FT instances may have lost network connectivity for this hypervisor. The KVM-FT software uses the state transitions to determine possible actions.
After the node restarts, log on and run the kvmax-healthcheck script to confirm that the installation was successful. Verify the installed version numbers and examine each section of the output for any failures. If you need assistance correcting any problems, contact your service representative.
Run the script as follows:
# /opt/stratus/scripts/kvmax-healthcheck.sh - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - -
KVM-AX Installer Verification Output
KVM-AX Version : n.n.n.n.n
FTCore Version : n.n.n.n-n.n
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - . . .
To prevent the yum utility from applying future version upgrades that are incompatible with Availability Services, edit the /etc/yum.conf file and ensure that the exclude line includes the following entries:
exclude=kernel* redhat-release* centos-release* rdo-release*
These entries have the following effects:
Product Support and Downloads
|
About Stratus
|
Product Documentation (PDF Format)
|
About Help
|