LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 12-06-2012, 04:42 AM   #1
sankarg304
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"/>
<clusternodes>
<clusternode name="rheltest1.arowana.com" nodeid="1" votes="1">
<fence/>
</clusternode>
<clusternode name="rheltest2.arowana.com" nodeid="2" votes="1">
<fence/>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices/>
<rm>
<failoverdomains>
<failoverdomain name="star" nofailback="0" ordered="1" restricted="0">
<failoverdomainnode name="rheltest1.arowana.com" priority="1"/>
<failoverdomainnode name="rheltest2.arowana.com" priority="2"/>
</failoverdomain>
</failoverdomains>
<resources>
<ip address="192.168.0.245" monitor_link="1"/>
</resources>
<service autostart="1" exclusive="1" name="cluster" recovery="relocate">
<ip ref="192.168.0.245">
<ip ref="192.168.0.245"/>
</ip>
</service>
</rm>
</cluster>
 
Old 12-19-2012, 10:35 AM   #2
sandeep_hello
Member
 
Registered: Feb 2008
Posts: 51

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="192.168.0.245"/>
</service>
 
Old 01-05-2013, 01:07 AM   #3
sheelnidhipandey
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:10.196.11.167...ipmilan: 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:10.196.11.141...ipmilan: Power still on Failed
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 10:43 PM
2 node clustering with corosync/pacemaker kirukan Linux - Software 0 09-01-2012 10:33 AM
2-node clustering setup issues with RHCS Phaethar Linux - Server 1 04-21-2011 02:44 PM
Solaris 2 node clustering RajaRC Solaris / OpenSolaris 1 09-19-2004 03:27 AM


All times are GMT -5. The time now is 04:42 PM.

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