Once the redhat cluster package installation has been done,you can start configuring new cluster using luci which is web based graphical user interface available in Redhat Linux. Luci can be installed any management host(Redhat Linux to manage all the Redat clusters which are available in your environment.) Here i have installed “luci” on the one of the cluster since this is a test environment.You can access the luci web interface using hostname or IP address from the web browser(Refer:screenshots). Unlike Sun cluster configuration, this is very simple one and easy to implement as well.
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.
[root@UANODE1P ~]# ifconfig bond1
bond1 Link encap:Ethernet HWaddr 00:1B:ED:1C:28:5A
inet addr:192.168.2.210 Bcast:172.16.25.63 Mask:255.255.255.224
inet6 addr: fe80::20b:cdff:fe1c:185a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2341604 errors:0 dropped:0 overruns:0 frame:0
TX packets:2217673 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:293460932 (279.8 MiB) TX bytes:1042006549 (993.7 MiB)
Interrupt:185 Memory:f7fe0000-f7ff0000
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.
[root@UANODE2P ~]# ifconfig bond1
bond1 Link encap:Ethernet HWaddr 00:1B:ED:1C:28:5A
inet addr:192.168.2.211 Bcast:172.16.25.63 Mask:255.255.255.224
inet6 addr: fe80::20b:cdff:fe1c:185a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2341604 errors:0 dropped:0 overruns:0 frame:0
TX packets:2217673 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:293460932 (279.8 MiB) TX bytes:1042006549 (993.7 MiB)
Interrupt:185 Memory:f7fe0000-f7ff0000
3. Login to luci web-interface using root user.
4.From the home page , Navigate the windows to ” Manage Cluster”
[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 ~]#
dinesh says
facing below error in luci
The following errors occurred while creating cluster “webcluster”: Error receiving header from node1.example.com:11111
any idea .
Thanks in advance
Victor Flores says
Hi,
First of all, I would like to thank you for the time to share your knowledge. It has been very useful.
Now, I need to configure a cluster with very similar characteristics.
I have followed the steps, but I am getting the following output for “clustat” command:
Any ideas ? why one of the nodes shows offline ? Did I miss anything ?
On Node 1:
[root@nakdb01 ~]# clustat
Cluster Status for 3parsto @ Wed Jan 20 10:16:47 2016
Member Status: Quorate
Member Name ID Status
—— —- —- ——
nakdb01 1 Online, Local
nakdb02 2 Offline
——————————————————————————————————————–
On node 2:
[root@nakdb02 ~]# clustat
Cluster Status for 3parsto @ Wed Jan 20 10:17:00 2016
Member Status: Quorate
Member Name ID Status
—— —- —- ——
nakdb01 1 Offline
nakdb02 2 Online, Local
————————————————————————————————–
Thanks in advance.
Knd regards
Victor
Rachana says
pls try service iptables stop
Nitin R says
Your shared documents are very useful to me. Can you Share further documents…. ?
K venkatesh says
Hi Lingesh, While creating new cluster I am getting below error. Please help to fix the issue.
The following errors occurred while creating cluster “cluster”: Authentication to the ricci agent at node1:11111 failed, Authentication to the ricci agent at node2:11111 failed
Lingeswaran R says
Set a password for user ricci on all cluster node and give same password when adding cluster nodes to new cluster in luci interface.
User ricci needs to have a password set to authenticate conga interface for making the changes. For the Red Hat Enterprise Linux 6.1 release and later, using ricci requires a password the first time you propagate updated cluster configuration from any particular node. You set the ricci password as root after you install ricci on your system with the passwd ricci command, for user ricci.
Look for following messages in /var/log/luci/luci.log:
14:45:40,241 INFO [luci.lib.ricci_communicator] Authentication to the ricci agent at node1:11111 failed
14:45:42,257 INFO [luci.lib.ricci_communicator] Authentication to the ricci agent at node2:11111 failed
There could be many reasons behind authentication failure such as required permissions, incorrect password, etc.
Look for ricci messages on both cluster nodes:
Feb 18 15:01:22 node1 ricci: ricci user password is not set, clients will be unable to connect
Feb 18 15:01:22 node1 ricci: startup succeeded
Feb 19 11:08:20 node1 ricci: ricci user password is not set, clients will be unable to connect
Here, user ricci has not assigned with a password.
sivakumar says
Hi Lingeswaran,
Can you able to share is their any document to refere the below steps
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.
Venkat says
Hello Lingeswaran,
If you don’t mind, Kindly share to us below info if possible.
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.
Thank you
Regards,
Venkat
Elumalai M says
HI,
How to create the bond0 alias can give some idea?
Thanks
Lingeswaran R says
https://www.unixarena.com/2013/06/how-to-configure-bondingteaming-on.html