Problem with rhel6 + rgmanager + ip service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to setup a trivially simple cluster using RHEL 6.1
(cman+rgmanager). I've got three interfaces, and I want a managed IP on
192.168.2.100/24 (which should match eth1). At this point though, I'd be
happy to get any IP working on any interface.

Here's my config:

<?xml version="1.0"?>
<cluster config_version="15" name="an-clusterA">
	<cman expected_votes="1" two_node="1"/>
	<totem rrp_mode="none" secauth="off"/>
	<clusternodes>
		<clusternode name="an-node01.alteeve.com" nodeid="1">
			<fence>
				<method name="apc_pdu">
					<device action="reboot" name="pdu2" port="1"/>
				</method>
			</fence>
		</clusternode>
		<clusternode name="an-node02.alteeve.com" nodeid="2">
			<fence>
				<method name="apc_pdu">
					<device action="reboot" name="pdu2" port="2"/>
				</method>
			</fence>
		</clusternode>
	</clusternodes>
	<fencedevices>
		<fencedevice agent="fence_apc" ipaddr="192.168.1.6" login="apc"
name="pdu2" passwd="secret"/>
	</fencedevices>
	<fence_daemon post_join_delay="30"/>
	<rm>
		<resources>
			<ip address="192.168.4.100" monitor_link="on"/>
		</resources>
		<failoverdomains>
			<failoverdomain name="an1_primary" nofailback="1" ordered="1"
restricted="0">
				<failoverdomainnode name="an-node01.alteeve.com" priority="1"/>
				<failoverdomainnode name="an-node02.alteeve.com" priority="2"/>
			</failoverdomain>
		</failoverdomains>
		<service autostart="0" domain="an1_primary" name="san_ip"
recovery="relocate">
			<script ref="192.168.2.100"/>
		</service>
	</rm>
</cluster>

Running clustat says the IP should be up:

Cluster Status for an-clusterA @ Tue Aug  2 01:32:41 2011
Member Status: Quorate

 Member Name                             ID   Status
 ------ ----                             ---- ------
 an-node01.alteeve.com                       1 Online, Local, rgmanager
 an-node02.alteeve.com                       2 Online, rgmanager

 Service Name                   Owner (Last)                   State

 ------- ----                   ----- ------                   -----

 service:san_ip                 an-node01.alteeve.com          started



I can't ping that IP from either node, nor does the IP appear in either
node's 'ipconfig -a'.

Any idea what I might be doing wrong?

-- 
Digimer
E-Mail:              digimer@xxxxxxxxxxx
Freenode handle:     digimer
Papers and Projects: http://alteeve.com
Node Assassin:       http://nodeassassin.org
"At what point did we forget that the Space Shuttle was, essentially,
a program that strapped human beings to an explosion and tried to stab
through the sky with fire and math?"

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux