LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-09-2009, 03:52 AM   #1
hzzbh3
LQ Newbie
 
Registered: Aug 2008
Location: Johannesburg South Africa
Distribution: Ubuntu 9.10 Karmic Koala
Posts: 1

Rep: Reputation: Disabled
Scsi persistent reservation fencing on a 4 node cluster.


Hi

I have a 4 node cluster and am trying to get SCSI Persistent Reservations working correctly.
I was hoping to get a get a more detailed how to on getting it working.

What is throwing me off at the moment is the above line in the /etc/init.d/scsi_reserve script.

if [ -f /etc/sysconfig/scsi_reserve ] ; then
. /etc/sysconfig/scsi_reserve
fi

I am not sure how to generate this file or what it should look like.

I have tried the tool fence_scsi -n 1,2,3 and 4 etc but get the following error:

Unable to determine nodeid for 1 etc.

According to documentation on URL http://kbase.redhat.com/faq/docs/DOC-17809 LVM2 cluster volumes are required for persistent reservation fencing.

I configured /dev/sdc1 which is a 1G SAN disk with HP qlogic drivers and added to the rivenvg (LVM Volume group).

My question is how to get /dev/sdc1 configured for persistent reservation fencing and if anyone had any advise on how to get this working correctly.

Packages
cman-2.0.98-1.el5_3.4
sg3_utils-1.25-1.el5
sg3_utils-libs-1.25-1.el5
lvm2-2.02.40-6.el5
lvm2-cluster-2.02.26-1.el5

Cluster Configuration

<?xml version="1.0"?>
<cluster alias="rivencluster" config_version="29" name="rivencluster">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="node3prv.rmb.co.za" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="SCSIRES" node="node3prv.rmb.co.za"/>
</method>
</fence>
</clusternode>
<clusternode name="node2prv.rmb.co.za" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="SCSIRES" node="node2prv.rmb.co.za"/>
</method>
</fence>
</clusternode>
<clusternode name="node1prv.rmb.co.za" nodeid="3" votes="1">
<fence>
<method name="1">
<device name="SCSIRES" node="mode1prv.rmb.co.za"/>
</method>
</fence>
</clusternode>
<clusternode name="node4prv.rmb.co.za" nodeid="4" votes="1">
<fence>
<method name="1">
<device name="SCSIRES" node="node4prv.rmb.co.za"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_scsi" name="SCSIRES"/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="RivenDomain" ordered="1" restricted="1">
<failoverdomainnode name="node1prv.rmb.co.za" priority="1"/>
<failoverdomainnode name="node2prv.rmb.co.za" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<clusterfs device="/dev/mapper/rivenvg-rivenLV1" force_unmount="1" fsid="51133" fstype="gfs" mountpoint="/data" name="RivenGFS" options=""/>
<script file="/etc/init.d/siena" name="Software Environment Script"/>
<ip address="IP" monitor_link="1"/>
</resources>
<service autostart="1" domain="RivenDomain" name="Siena-Environment" recovery="relocate">
<script ref="Software Environment Script"/>
</service>
<service autostart="1" domain="RivenDomain" name="IP" recovery="relocate">
<ip ref="IPADDRESS"/>
</service>
</rm>
<quorumd device="/dev/sdb1" interval="3" min_score="1" tko="23" votes="3"/>
<totem consensus="4800" join="60" token="10000" token_retransmits_before_loss_const="20"/>
<gfs_controld plock_rate_limit="0"/>
<dlm plock_ownership="1"/>
</cluster>
 
  


Reply



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
Cluster Fencing??? your_shadow03 Linux - Server 3 10-10-2008 11:48 AM
How to configure fencing in RHEL cluster ? aix_tiger Linux - Enterprise 1 06-11-2007 02:59 AM
iLO fencing with Cluster Suite depdiver Red Hat 1 02-09-2006 08:50 AM
persistent binding -> RESERVATION CONFLICTS da_kidd_er Linux - Hardware 0 06-01-2005 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:24 PM.

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