-   Linux - Server (
-   -   2 node clustering in Redhat (

sankarg304 12-06-2012 05:42 AM

2 node clustering in Redhat
I made 2 node redhat cluster using luci,ricci,rgmanager and cman, If i shutdown or restart or disable the eth0 means the cluster services automatically transferred to node 2, But If I stop the network(service network stop) or directly power off the node 1 means the cluster service is not transferred to node 2.
Here Each node have 2 IP, one for local network and one for heartbeat ip, (And I using one common virtual ip).
Here I am using 2 virtual redhat5 server and shared iscsi storage.
And give me any idea, if I am directly turn off (UPS down) node1 means the cluster service automatically should go to node2. and my cluster.conf file is

<?xml version="1.0"?>
<cluster alias="new-cluster" config_version="41" name="new-cluster">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternode name="" nodeid="1" votes="1">
<clusternode name="" nodeid="2" votes="1">
<cman expected_votes="1" two_node="1"/>
<failoverdomain name="star" nofailback="0" ordered="1" restricted="0">
<failoverdomainnode name="" priority="1"/>
<failoverdomainnode name="" priority="2"/>
<ip address="" monitor_link="1"/>
<service autostart="1" exclusive="1" name="cluster" recovery="relocate">
<ip ref="">
<ip ref=""/>

sandeep_hello 12-19-2012 11:35 AM

Please use standard tool to configure cluster in linux. Like in Redhat, luci and ricci.

Your configuration seems to be incomplete but to configure failover domain in below cluster configuration.

Modify service section

<service autostart="1" domain="star" exclusive="1" name="cluster" recovery="relocate" name="ipservice">
<ip ref=""/>

sheelnidhipandey 01-05-2013 02:07 AM

Here, I am added the fencing device hp ilo3, Then I am getting the following error

Node 1

Dec 26 19:31:01 sheel1 fenced[11263]: fence "san2" failed
Dec 26 19:31:06 sheel1 fenced[11263]: fencing node "san2"
Dec 26 19:31:25 sheel1 fenced[11263]: agent "fence_ipmilan" reports: Rebooting machine @ IPMI: Power still on Failed

Node 2

Dec 26 18:31:35 san2 fenced[11199]: fence "sheel1" failed
Dec 26 18:31:40 san2 fenced[11199]: fencing node "sheel1"
Dec 26 18:31:59 san2 fenced[11199]: agent "fence_ipmilan" reports: Rebooting machine @ IPMI: Power still on Failed

All times are GMT -5. The time now is 07:05 AM.