VMware Communities
chauhanvineet1
Contributor
Contributor

how to implement red hat cluster suite in VMware 7

Hi

I want to build red hat cluster on two RHEL vm hosted on windows 7.

Pls guide me with some steps

Thnx in advance

0 Kudos
2 Replies
Scissor
Virtuoso
Virtuoso

What have you tried so far?

0 Kudos
chauhanvineet1
Contributor
Contributor

sorry for delay.

I have installed cluster suite on two nodes.with kernel 2.6.9-42.EL

cluster.conf----

<?xml version="1.0" ?>

<cluster config_version="4" name="alpha_cluster">

<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>

<clusternodes>

<clusternode name="linuxnode1" votes="1">

<fence>

<method name="1">

<device name="man1" nodename="linuxnode1"/>

</method>

</fence>

</clusternode>

<clusternode name="linuxnode2" votes="1">

<fence>

<method name="1">

<device name="man1" nodename="linuxnode2"/>

</method>

</fence>

</clusternode>

</clusternodes>

<cman expected_votes="1" two_node="1"/>

<fencedevices>

<fencedevice agent="fence_manual" name="man1"/>

</fencedevices>

<rm>

<failoverdomains/>

<resources/>

</rm>

</cluster>

-


Using manual fencing.

I am getting the following messages in /var/log/messages

May 17 12:55:48 linuxnode1 ccsd[3791]: Copyright (C) Red Hat, Inc. 2004 All rights reserved.

May 17 12:55:49 linuxnode1 ccsd: startup succeeded

May 17 12:55:58 linuxnode1 kernel: NET: Unregistered protocol family 30

May 17 12:55:58 linuxnode1 cman: shutdown succeeded

May 17 12:55:58 linuxnode1 kernel: CMAN 2.6.9-45.2 (built Jul 13 2006 11:42:29) installed

May 17 12:55:58 linuxnode1 kernel: NET: Registered protocol family 30

May 17 12:55:58 linuxnode1 ccsd[3791]: cluster.conf (cluster name = alpha_cluster, version = 4) found.

May 17 12:56:09 linuxnode1 kernel: CMAN: Waiting to join or form a Linux-cluster

May 17 12:56:10 linuxnode1 ccsd[3791]: Connected to cluster infrastruture via: CMAN/SM Plugin v1.1.2

May 17 12:56:10 linuxnode1 ccsd[3791]: Initial status:: Inquorate

May 17 12:56:25 linuxnode1 kernel: CMAN: sendmsg failed: -13

May 17 12:56:38 linuxnode1 last message repeated 4 times

May 17 12:56:41 linuxnode1 kernel: CMAN: forming a new cluster

May 17 12:56:41 linuxnode1 kernel: CMAN: quorum regained, resuming activity

May 17 12:56:41 linuxnode1 kernel: CMAN: sendmsg failed: -13

May 17 12:56:41 linuxnode1 ccsd[3791]: Cluster is quorate. Allowing connections.

May 17 12:56:41 linuxnode1 cman: startup succeeded

May 17 12:56:41 linuxnode1 kernel: DLM 2.6.9-42.10 (built Jul 13 2006 11:47:57) installed

May 17 12:56:46 linuxnode1 kernel: CMAN: sendmsg failed: -13

May 17 12:57:01 linuxnode1 last message repeated 3 times

May 17 12:57:01 linuxnode1 kernel: CMAN: No functional network interfaces, leaving cluster

May 17 12:57:01 linuxnode1 kernel: CMAN: sendmsg failed: -13

May 17 12:57:01 linuxnode1 kernel: CMAN: we are leaving the cluster.

May 17 12:57:01 linuxnode1 kernel: WARNING: dlm_emergency_shutdown

May 17 12:57:01 linuxnode1 kernel: WARNING: dlm_emergency_shutdown

May 17 12:57:01 linuxnode1 ccsd[3791]: Cluster manager shutdown. Attemping to reconnect...

May 17 12:57:02 linuxnode1 fenced: shutdown succeeded

May 17 12:57:02 linuxnode1 fenced: startup failed

May 17 12:57:08 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 30 seconds.

May 17 12:57:24 linuxnode1 clurgmgrd[3902]: <info> Loading Service Data

May 17 12:57:24 linuxnode1 rgmanager: clurgmgrd startup succeeded

May 17 12:57:24 linuxnode1 ccsd[3791]: Cluster is not quorate. Refusing connection.

May 17 12:57:24 linuxnode1 ccsd[3791]: Error while processing connect: Connection refused

May 17 12:57:24 linuxnode1 clurgmgrd[3902]: <crit> #5: Couldn't connect to ccsd!

May 17 12:57:24 linuxnode1 clurgmgrd[3902]: <crit> #8: Couldn't initialize services

May 17 12:57:38 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 60 seconds.

May 17 12:58:08 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 90 seconds.

May 17 12:58:38 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 120 seconds.

May 17 12:59:08 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 150 seconds.

May 17 12:59:38 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 180 seconds.

May 17 13:00:08 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 210 seconds.

May 17 13:00:38 linuxnode1 ccsd[3791]: Unable to connect to cluster infrastructure after 240

I want to implement fencing as well.pls guide me.

mail me at chauhan.vineet1@gmail.com

thnx

0 Kudos