LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-05-2010, 12:12 PM   #1
Myroslav
LQ Newbie
 
Registered: Jan 2010
Posts: 1

Rep: Reputation: 0
How to mount NFS/local partitions on RedHat cluster depending on node type?


Hello!

I'm a little bit confused, maybe someone met this task before and knows how to handle it better that me - I've got 2 node cluster with SAN storage attached to both. I need to mount SAN partition on master node and on a slave node mount it from master by NFS. The if serving node fail switch it on the other node.

Here is my cluster.conf, in case of need:
===========
<?xml version="1.0"?>
<cluster alias="cluster" config_version="59" name="cluster">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="batch1-hbi" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="batch1-bmc"/>
</method>
</fence>
</clusternode>
<clusternode name="batch2-hbi" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="batch2-bmc"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="3">
<dlm plock_ownership="1" plock_rate_limit="0"/>
<gfs_controld plock_rate_limit="0"/>
</cman>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="batch1-bmc" login="USERID" name="batch1-bmc" passwd="..."/>
<fencedevice agent="fence_ipmilan" ipaddr="batch2-bmc" login="USERID" name="batch2-bmc" passwd="..."/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="SERVICESD" nofailback="0" ordered="0" restricted="0">
<failoverdomainnode name="batch1-hbi" priority="1"/>
<failoverdomainnode name="batch2-hbi" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<ip address="10.1.0.31" monitor_link="1"/>
<ip address="10.1.0.32" monitor_link="1"/>
<ip address="10.1.0.33" monitor_link="1"/>
<fs device="/dev/SANExt3/LV0SanExt3" force_fsck="0" force_unmount="0" fsid="61015" fstype="ext3" mountpoint="/mnt/san/" name="SANExt3-LV0SanExt3" self_fence="0"/>
</resources>
<service autostart="1" domain="SERVICESD" exclusive="0" name="SERVICES" recovery="relocate">
<ip ref="10.1.0.31"/>
<ip ref="10.1.0.32"/>
<ip ref="10.1.0.33"/>
<fs ref="SANExt3-LV0SanExt3"/>
</service>
</rm>
<totem consensus="2400" join="500" token="90000" token_retransmits_before_loss_const="20"/>
<quorumd interval="3" label="SCQuorumDisk" min_score="1" tko="10" votes="1">
<heuristic interval="2" program="ping -c3 -t3 somwhere.com" score="1"/>
</quorumd>
</cluster>
 
  


Reply


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
mysqld node of mysql cluster system not connecting to management node coal-fire-ice Linux - Server 1 07-27-2015 08:33 AM
Can't find local node name in cluster.conf Roboam León López Linux - Enterprise 17 09-14-2012 08:50 AM
unable to create 2nd node in Redhat 5 cluster fosiul Linux - Server 1 09-20-2009 11:25 AM
RedHat Cluster with NFS? your_shadow03 Linux - Newbie 1 08-07-2008 05:32 PM
Diskless node cant mount root NFS filesystem for read/write leontini Linux - Networking 0 01-31-2007 01:03 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration