[Pacemaker] crm : unknown expected votes

2011-04-19 Thread hari.n.tatituri
Hi,

I created a 2 node cluster created using pacemaker on Fedora 
14(2.6.35.6-45.fc14.x86_64)
I have two errors that I am not able to resolve.
Can someone help me resolve these errors.

  1 )  It always shows " unknown expected votes"  when I see 'crm status'.
  2 ) In the logfile it shows  below message even though stonith setting is not 
enabled.
Error: te_connect_stonith: Attempting connection to fencing daemon...


 Pasted below the  configure and status:
===
-bash-4.1# crm configure show
node $id="2e9dd3fa-8083-4363-96b4-331aa9b93d1f" rabbithanode2
node $id="3a56dae9-d8c7-46b0-8a86-f6bd3b9658f4" rabbithanode1
primitive bunny ocf:rabbitmq:rabbitmq-server \
params mnesia_base="/cluster1"
primitive drbd ocf:linbit:drbd \
params drbd_resource="wwwdata" \
op monitor interval="60s"
primitive drbd_fs ocf:heartbeat:Filesystem \
params device="/dev/drbd1" directory="/cluster1" fstype="ext4"
ms drbd_ms drbd \
meta master-max="1" master-node-max="1" clone-max="2" 
clone-node-max="1" notify="true"
colocation bunny_on_fs inf: bunny drbd_fs
colocation fs_on_drbd inf: drbd_fs drbd_ms:Master
order bunny_after_fs inf: drbd_fs bunny
order fs_after_drbd inf: drbd_ms:promote drbd_fs:start
property $id="cib-bootstrap-options" \
dc-version="1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065" \
cluster-infrastructure="Heartbeat" \
stonith-enabled="false" \
resource-stickiness="100" \
no-quorum-policy="ignore"
===

-bash-4.1# crm status

Last updated: Tue Apr 19 09:32:52 2011
Stack: Heartbeat
Current DC: rabbithanode2 (2e9dd3fa-8083-4363-96b4-331aa9b93d1f) - partition 
with quorum
Version: 1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065
2 Nodes configured, unknown expected votes
3 Resources configured.


Online: [ rabbithanode1 rabbithanode2 ]

 Master/Slave Set: drbd_ms [drbd]
 Masters: [ rabbithanode1 ]
 Slaves: [ rabbithanode2 ]
 drbd_fs(ocf::heartbeat:Filesystem):Started rabbithanode1
 bunny  (ocf::rabbitmq:rabbitmq-server):Started rabbithanode1
-bash-4.1#
===

Thanks & Regds
Hari Tatituri

TACG-Cloud Factory Mobilization
Desk  : +91-080-43154146
Mobile: +91-9686022660



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.
___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] crm : unknown expected votes

2011-04-19 Thread Andrew Beekhof
On Tue, Apr 19, 2011 at 3:37 PM,   wrote:
> Hi,
>
>
>
>     I created a 2 node cluster created using pacemaker on Fedora
> 14(2.6.35.6-45.fc14.x86_64)
>
>     I have two errors that I am not able to resolve.
>
>     Can someone help me resolve these errors.
>
>
>
>   1 )  It always shows “ unknown expected votes”  when I see ‘crm status’.

not an error. heartbeat based clusters do not use this

>
>   2 ) In the logfile it shows  below message even though stonith setting is
> not enabled.
>
>     Error: te_connect_stonith: Attempting connection to fencing daemon…

disabling stonith does not impact whether the daemon is started nor
whether we connect to it

google is your friend:
   http://www.mail-archive.com/linux-ha@lists.linux-ha.org/msg16967.html


>
>
>
>
>  Pasted below the  configure and status:
>
> ===
>
> -bash-4.1# crm configure show
>
> node $id="2e9dd3fa-8083-4363-96b4-331aa9b93d1f" rabbithanode2
>
> node $id="3a56dae9-d8c7-46b0-8a86-f6bd3b9658f4" rabbithanode1
>
> primitive bunny ocf:rabbitmq:rabbitmq-server \
>
>     params mnesia_base="/cluster1"
>
> primitive drbd ocf:linbit:drbd \
>
>     params drbd_resource="wwwdata" \
>
>     op monitor interval="60s"
>
> primitive drbd_fs ocf:heartbeat:Filesystem \
>
>     params device="/dev/drbd1" directory="/cluster1" fstype="ext4"
>
> ms drbd_ms drbd \
>
>     meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true"
>
> colocation bunny_on_fs inf: bunny drbd_fs
>
> colocation fs_on_drbd inf: drbd_fs drbd_ms:Master
>
> order bunny_after_fs inf: drbd_fs bunny
>
> order fs_after_drbd inf: drbd_ms:promote drbd_fs:start
>
> property $id="cib-bootstrap-options" \
>
>     dc-version="1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065" \
>
>     cluster-infrastructure="Heartbeat" \
>
>     stonith-enabled="false" \
>
>     resource-stickiness="100" \
>
>     no-quorum-policy="ignore"
>
> ===
>
>
>
> -bash-4.1# crm status
>
> 
>
> Last updated: Tue Apr 19 09:32:52 2011
>
> Stack: Heartbeat
>
> Current DC: rabbithanode2 (2e9dd3fa-8083-4363-96b4-331aa9b93d1f) - partition
> with quorum
>
> Version: 1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065
>
> 2 Nodes configured, unknown expected votes
>
> 3 Resources configured.
>
> 
>
>
>
> Online: [ rabbithanode1 rabbithanode2 ]
>
>
>
>  Master/Slave Set: drbd_ms [drbd]
>
>  Masters: [ rabbithanode1 ]
>
>  Slaves: [ rabbithanode2 ]
>
>  drbd_fs    (ocf::heartbeat:Filesystem):    Started rabbithanode1
>
>  bunny  (ocf::rabbitmq:rabbitmq-server):    Started rabbithanode1
>
> -bash-4.1#
>
> ===
>
>
>
> Thanks & Regds
>
> Hari Tatituri
>
>
>
> TACG-Cloud Factory Mobilization
>
> Desk  : +91-080-43154146
>
> Mobile: +91-9686022660
>
>
>
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] crm : unknown expected votes

2011-04-20 Thread hari.n.tatituri
Thank you so much for this info!

-Original Message-
From: Andrew Beekhof [mailto:and...@beekhof.net]
Sent: Wednesday, April 20, 2011 11:59 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] crm : unknown expected votes

On Tue, Apr 19, 2011 at 3:37 PM,   wrote:
> Hi,
>
>
>
> I created a 2 node cluster created using pacemaker on Fedora
> 14(2.6.35.6-45.fc14.x86_64)
>
> I have two errors that I am not able to resolve.
>
> Can someone help me resolve these errors.
>
>
>
>   1 )  It always shows " unknown expected votes"  when I see 'crm status'.

not an error. heartbeat based clusters do not use this

>
>   2 ) In the logfile it shows  below message even though stonith setting is
> not enabled.
>
> Error: te_connect_stonith: Attempting connection to fencing daemon...

disabling stonith does not impact whether the daemon is started nor
whether we connect to it

google is your friend:
   http://www.mail-archive.com/linux-ha@lists.linux-ha.org/msg16967.html


>
>
>
>
>  Pasted below the  configure and status:
>
> ===
>
> -bash-4.1# crm configure show
>
> node $id="2e9dd3fa-8083-4363-96b4-331aa9b93d1f" rabbithanode2
>
> node $id="3a56dae9-d8c7-46b0-8a86-f6bd3b9658f4" rabbithanode1
>
> primitive bunny ocf:rabbitmq:rabbitmq-server \
>
> params mnesia_base="/cluster1"
>
> primitive drbd ocf:linbit:drbd \
>
> params drbd_resource="wwwdata" \
>
> op monitor interval="60s"
>
> primitive drbd_fs ocf:heartbeat:Filesystem \
>
> params device="/dev/drbd1" directory="/cluster1" fstype="ext4"
>
> ms drbd_ms drbd \
>
> meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true"
>
> colocation bunny_on_fs inf: bunny drbd_fs
>
> colocation fs_on_drbd inf: drbd_fs drbd_ms:Master
>
> order bunny_after_fs inf: drbd_fs bunny
>
> order fs_after_drbd inf: drbd_ms:promote drbd_fs:start
>
> property $id="cib-bootstrap-options" \
>
> dc-version="1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065" \
>
> cluster-infrastructure="Heartbeat" \
>
> stonith-enabled="false" \
>
> resource-stickiness="100" \
>
> no-quorum-policy="ignore"
>
> ===
>
>
>
> -bash-4.1# crm status
>
> 
>
> Last updated: Tue Apr 19 09:32:52 2011
>
> Stack: Heartbeat
>
> Current DC: rabbithanode2 (2e9dd3fa-8083-4363-96b4-331aa9b93d1f) - partition
> with quorum
>
> Version: 1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065
>
> 2 Nodes configured, unknown expected votes
>
> 3 Resources configured.
>
> 
>
>
>
> Online: [ rabbithanode1 rabbithanode2 ]
>
>
>
>  Master/Slave Set: drbd_ms [drbd]
>
>  Masters: [ rabbithanode1 ]
>
>  Slaves: [ rabbithanode2 ]
>
>  drbd_fs(ocf::heartbeat:Filesystem):Started rabbithanode1
>
>  bunny  (ocf::rabbitmq:rabbitmq-server):Started rabbithanode1
>
> -bash-4.1#
>
> ===
>
>
>
> Thanks & Regds
>
> Hari Tatituri
>
>
>
> TACG-Cloud Factory Mobilization
>
> Desk  : +91-080-43154146
>
> Mobile: +91-9686022660
>
>
>
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker