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 ~]#