[Linux-cluster] RHSCv4 2-node cluster hangs while startingfenced
David Teigland
teigland at redhat.com
Wed Nov 2 15:31:52 UTC 2005
On Wed, Nov 02, 2005 at 04:40:25PM +0600, Hirantha Wijayawardena wrote:
> Here is my .conf file and please advice me what is fence-levels and how it
> works..
>
> <cluster config_version="38" name="alpha_cluster">
> <fence_daemon clean_start="0" post_fail_delay="0"
> post_join_delay="3"/>
> <clusternodes>
> <clusternode name="node1" votes="1">
> <fence>
> <method name="1"/>
> <method name="2"/>
> <method name="3"/>
> <method name="4"/>
> <method name="5"/>
> <method name="6">
> <device name="HPiLO_node2"/>
> </method>
> </fence>
> </clusternode>
> <clusternode name="node2" votes="1">
> <fence>
> <method name="1">
> <device name="HPiLO_node1"/>
> </method>
> </fence>
> </clusternode>
> </clusternodes>
No, you've misunderstood. You're cluster.conf file should look like this:
<clusternodes>
<clusternode name="node1" votes="1">
<fence>
<method name="1">
<device name="HPiLO_node1"/>
</method>
</fence>
</clusternode>
<clusternode name="node2" votes="1">
<fence>
<method name="1">
<device name="HPiLO_node2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice agent="fence_ilo" hostname="10.10.10.1"
login="Administrator" name="HPiLO_node1" passwd="RWE232WE"/>
<fencedevice agent="fence_ilo" hostname="10.10.10.2"
login="Administrator" name="HPiLO_node2" passwd="QWD31D4D"/>
</fencedevices>
Notice that values in <device name="..."/> have been swapped. If this
doesn't work, my other suggestion was to do:
node1$ fenced -f 1
node2$ fenced -f 6
which has nothing to do with the cluster.conf file.
Dave
More information about the Linux-cluster
mailing list