How to Configure Redhat Cluster in Linux ?

Answer

Server Names: UANODE1P(192.168.2.200),UANODE2P(192.168.2.201)
Cluster Alias: UANODE1(192.168.2.210),UANODE2(192.168.2.211)

In this setup,i have installed luci on UANODE2P server but this can be installed on any Redhat Linux node. LUCI provides a web interface for redhat cluster management. 

1. Login to UANODE1P and configure new IP(192.168.2.210) with host alias UANODE1.

 

System’s  /etc/host file may be having the below entries on both node.
192.168.2.200                UANODE1P
192.168.2.201                UANODE2P

Add the below entries to /etc/hosts file on both the servers.
192.168.2.210                UANODE1
192.168.2.211                UANODE2

2.Login to UANODE2P and configure new IP with host alias UANODE2.

 
3. Login to luci web-interface using root user.
 
4.From the home page , Navigate  the windows to ” Manage Cluster”
 
5.Click on Create a new Cluster link.
 
6.Enter the cluster node details and cluster name.Provide “ricci” account password here.
Redhat cluster will send heartbeat using this alias name.That’s the reason we have separated  the public network by configuring new IP’s
 
You may get the below error while creating the cluster.
The following errors occurred while creating cluster “UACL1″:Unable to establish an SSL connection to UANODE1:11111 after 5 tries.Is the ricci service running ? : Operation already in progress, Authentication to the ricci agent at UANODE2:11111 failed.
To fix the above error.
1.Start the ricci services on both the nodes
2.Set the password for “ricci” account on both nodes and enter the same here.
 
7.After creation of Cluster,Just join nodes in cluster by clicking “Join Cluster” link.
 
8.You will get the notification is that cluster services are started or not.
 
9.Just refresh the window and see both nodes will shows as cluster nodes. 
 
10.You can also view the cluster status from the command level.
[root@UANODE1 ~]# clustat
Cluster Status for UACL1 @ Sun Oct 13 12:47:10 2013
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
UANODE1 1 Online, Local
UANODE2 2 Online
[root@UANODE1 ~]#
 
So we just added the nodes in cluster .Still there are plenty of work to do on this configuration to use it in production.
 
Pending items in Redhat cluster configuration:
1.We need to configure the fencing to reboot/halt the nodes if any network partition or server hung happens.
2. Need to Configure the service group with KVM virtual machines and make sure that redhat cluster provides high availability to the VM’s.

All RED HAT Questions

Ask your interview questions on red-hat

Write Your comment or Questions if you want the answers on red-hat from red-hat Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---