linux:high_availability_virtualization_cluster
This is an old revision of the document!
Table of Contents
Description
Instructions on how to deploy a high availability KVM cluster based on CentOS 6.x
Instructions
- Deploy Centos (minimal)
- Enjoy with the networking scripts.
- Disable SELINUX
- Install EPEL meta-pkg:
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
- Install basic pkgs (for me):
yum -y install vim tmux lsof strace
- Update:
yum update
- Enjoy with multipathd+storage
- Install the clusterware suite:
yum groupinstall "High Availability" "Resilient Storage"
- In the “master” node, install the admin suite:
yum groupinstall "High Availability Management"
- Change the password for “ricci” user:
passwd ricci
- Configure services:
chkconfig ricci on chkconfig luci on chkconfig cman on chkconfig modclusterd on
- Disable auxiliar networking scripts (iptables only if you have an external firewall):
chkconfig NetworkManager off && service NetworkManager stop chkconfig iptables off && service iptables stop
- Start services:
service ricci start service luci start service cman start
If luci refuses to start, read the troubleshoot section.
- Access the luci UI or Conga formatively (the url is displayed after staring luci).
Troubleshoot
Luci
If you get an error like this:
Unable to create the luci base configuration file (`/var/lib/luci/etc/luci.ini').
You can try to:
rpm -e --nodeps python-webob-0.9.6.1-3.el6.noarch easy_install webob
Edit that file:
vi /usr/lib/python2.6/site-packages/pylons/decorators/__init__.py
And comment/remove the line (line ~20):
from webob import UnicodeMultiDict
That is. thanks to dmabry
linux/high_availability_virtualization_cluster.1377790185.txt.gz · Last modified: 2013/08/29 15:29 by dodger