Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-06-2012, 05:42 AM   #1
LQ Newbie
Registered: Aug 2012
Posts: 7

Rep: Reputation: Disabled
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=""/>
Old 12-19-2012, 11:35 AM   #2
Registered: Feb 2008
Posts: 62

Rep: Reputation: 1
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=""/>
Old 01-05-2013, 02:07 AM   #3
LQ Newbie
Registered: Oct 2012
Posts: 16

Rep: Reputation: Disabled
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


cluster, redhat, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hp servicequard for two node clustering in rehat 5.7 sheelnidhipandey Linux - Server 2 11-14-2012 11:43 PM
2 node clustering with corosync/pacemaker kirukan Linux - Software 0 09-01-2012 11:33 AM
2-node clustering setup issues with RHCS Phaethar Linux - Server 1 04-21-2011 03:44 PM
Solaris 2 node clustering RajaRC Solaris / OpenSolaris 1 09-19-2004 04:27 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration