Saturday 14 May 2011

configure a high-availability cluster, using either physical or virtual systems, that

#Install luci and ricci on cluster nodes
[root@localhost ~]# yum install luci ricci -y

#Initialize luci
[root@localhost ~]# luci_admin init

[root@localhost ~]# service luci restart

 go to http://localhost:8084 to manage

#Open the ports required for the cluster
luci - 8084
ricci - 11111

Setting up Xen fencing in RHEL 5

Introduction:
The Xen fence agent is a virtual power fence device. Like power fencing when a Xen guest cluster node is unresponsive, the other nodes in the cluster contact the Xen host through a multicast address to fence the unrepsonsive node. For added reliability the Xen host must be part of a cluster and use a supported hardware power fence device. For the simplist configuration the Xen host can be in a single node cluster. There are two basic parts to the Xen fencing agent fence_xvm and fence_xvmd. fence_xvm is like other fencing agents, it is called by the cluster when a node needs to be fenced. It contains the logic to talk to the fence device. fence_xvmd is a deamon process that runs on the Xen host. It accepts fence requests from the node, then forcibly reboots the unreponsive node. There are several manual steps that must be completed after the cluster is initally configured to enable the Xen fence agent. In later updates to RHEL 5 and RHEL 4, GUI tools will be added to ease configuration of the Xen fence agent.

Prerequistes:
* The Xen host must be part of a cluster that is seperate from the cluster formed by the Xen guests. The Xen host must be running RHEL 5. A single node cluster is acceptable, however, this configuration should only be used for testing as reliability will be nonexistant. All the services started by the cman init script must be running.
* Xen guest cluster, The cluster must be initially configured with the node definitions. You can use system-config-cluster or Conga to configure the cluster. It is recommend that cluster service configuration wait until the fence agent is successfully configured. 


1 comment:

  1. I`ve just found your blog - it`s excellent! I`m also preparing for my RHCA exams and your articles are really helpful.
    Thanks and good luck!

    ReplyDelete