My Lab set up for Redhat cluster

Few months back I posted one article on Redhat cluster cheat sheet.
https://ervikrant06.wordpress.com/2014/07/09/redhat-cluster-cheat-sheet-part-1/

Today I got the time to work on it again. In this article I am going to show you the lab which I have set up to dig Redhat cluster.

My Lab Setup :
VMware workstation
On top of VMware workstation
Openfiler (For storage)
Two ESX 5.5i
VCenter Appliance Server
3 RHEL 6.2 64 bit VMs running on ESXi with IP 192.168.111.130

Below are the steps which I followed after that.

1) Initially I created two node redhat cluster.
2) I added the IP service as resource in cluster.
3) Created on failover domain and added both nodes to it.
4) Created on fence device fence_vmware_soap
5) Added this fence device to both nodes and named the method as vmwarefence-1
6) After that I checked the status of cluster. It was looking fine to me.
7) Added the third node in cluster.
9) Updated the fail over domain with third node.
10) Added the fencing method to node with same name vmwarefence-1.

After doing all the work below is the output of my cluster.

[root@Node2 ~]# clustat -l
Cluster Status for Shiv @ Sun Oct  5 06:48:46 2014
Member Status: Quorate

Member Name                             ID   Status
—— —-                             —- ——
192.168.111.150                             1 Online, rgmanager
192.168.111.151                             2 Online, Local, rgmanager
192.168.111.152                             3 Online, rgmanager

Service Information
——- ———–

Service Name      : service:IP_sg1
Current State   : started (112)
Flags           : none (0)
Owner           : 192.168.111.151
Last Owner      : none
Last Transition : Sun Oct  5 05:45:43 2014

Lot more to come. Stay tuned.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s