[Linux-cluster] Problem adding a GNBD fence device

Tiago Cruz tiagocruz at forumgdh.net
Tue Jul 22 16:22:36 UTC 2008


Hello!

I'm using conga (Luci -> Cluster -> Nodes -> Properties) and I'm trying
to add one "Main Fencing Method"

Fence Type: GDBD
Name: data-partition
Servers (whitespace separated list): hotsite-1.company.com
IP Address: 10.65.9.30

When I click on "Update main fence device" I got this error:

	The following errors were found:
	An unknown fence device type was given: "gnbd."

Shared Fence Devices:
	hotsites
	Shared Fence Devices for Cluster: hotsites
	Agent type: Global Network Block Device
	Name: data-partition
	Nodes using this device for fencing:
	* No nodes currently employ this fence device

I need to add this fence-device one-by-one on my cluster or it's OK
using only a "shared" device?

That's the conf generated:
<?xml version="1.0"?>
<cluster alias="hotsites" config_version="9" name="hotsites">
	<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
	<clusternodes>
		<clusternode name="hotsite-bsb-la-1.company.com" nodeid="1" votes="1">
			<fence/>
		</clusternode>
		<clusternode name="hotsite-bsb-la-2.company.com" nodeid="2" votes="1">
			<fence/>
		</clusternode>
		<clusternode name="hotsite-bsb-la-3.company.com" nodeid="3" votes="1">
			<fence/>
		</clusternode>
	</clusternodes>
	<cman/>
	<fencedevices>
		<fencedevice agent="fence_gnbd" name="data-partition" servers="hotsite-1.company.com"/>
		<fencedevice agent="fence_manual" name="manual"/>
	</fencedevices>
	<rm>
		<failoverdomains/>
		<resources>
			<clusterfs device="/dev/gnbd/hotsite" force_unmount="1" fsid="5666" fstype="gfs" mountpoint="/data" name="data" self_fence="1"/>
		</resources>
	</rm>
	<totem consensus="4800" join="60" token="10000" token_retransmits_before_loss_const="20"/>
</cluster>

Thanks

-- 
Tiago Cruz
http://everlinux.com
Linux User #282636





More information about the Linux-cluster mailing list