Re: [Pacemaker] CIB write-to-disk bug?

2010-03-31 Thread Alan Robertson
OK Since there was no ssh-as-root between the cluster nodes, I didn't send all the logs along from every node in the cluster - and it didn't occur to me to look at all of them. However, the problem has gotten curioser and curioser - because ALL the nodes in the cluster reported the same

Re: [Pacemaker] Time/Date Based Expressions in the CRM Shell

2010-03-31 Thread Alan Robertson
Dejan Muhamedagic wrote: Hi, On Wed, Mar 31, 2010 at 10:56:29AM +0100, darren.mans...@opengi.co.uk wrote: Apologies if this is in the documentation but I can't see how to use the time/date based expression resource constraints in the CRM shell. There's usage in the crm shell documentation and

[Pacemaker] CIB write-to-disk bug?

2010-03-31 Thread Alan Robertson
Hi, I've run into what looks at first blush to be a CIB bug in writing to disk. The key messages from this incident are these: Mar 31 19:02:52 vhost0384 cib: [13294]: ERROR: validate_cib_digest: Digest comparision failed: expected 316049fa7ee8d2e107573ce7cded07cf (/var/lib/heartbeat/crm/cib.

Re: [Pacemaker] Corosync crashes when cluster NIC disabled (Something strange happened)

2010-03-31 Thread Steven Dake
On Wed, 2010-03-31 at 16:07 -0400, Simpson, John R wrote: > Greetings all, > > I have a lab cluster using Pacemaker 1.0.8 and Corosync 1.2.0-1 > (see packages below) on CentOS 5.4 (32-bit) VM's running under > VMware ESXi 3.5. My location constraints and connectivity > tests were working well, so

Re: [Pacemaker] disable failover when doing orderly reboot

2010-03-31 Thread Gerry Kernan
Hi Andreas, Thanks for your answer, I was hoping there was some config option that would not failover the node if the reboot or shutdown was orderly. Geery -Original Message- From: Andreas Mock [mailto:andreas.m...@web.de] Sent: 31 March 2010 17:24 To: The Pacemaker cluster resourc

[Pacemaker] Corosync crashes when cluster NIC disabled (Something strange happened)

2010-03-31 Thread Simpson, John R
Greetings all, I have a lab cluster using Pacemaker 1.0.8 and Corosync 1.2.0-1 (see packages below) on CentOS 5.4 (32-bit) VM's running under VMware ESXi 3.5. My location constraints and connectivity tests were working well, so I was feeling really good when I decided to shut down the interface

Re: [Pacemaker] disable failover when doing orderly reboot

2010-03-31 Thread Andreas Mock
Hi Gerry, my poor man's answer is: Stop all resources running on the node going to be shut down. That's what you want in the end, isn't it? Best regards Andreas Mock - Von: Gerry Kernan Gesendet: 31.03.2010 16:13:46 An: pacemaker@oss.clusterlabs.org Betreff: [Pacemaker] dis

Re: [Pacemaker] Time/Date Based Expressions in the CRM Shell

2010-03-31 Thread Darren.Mansell
> -Original Message- > From: Dejan Muhamedagic [mailto:deja...@fastmail.fm] > Sent: 31 March 2010 11:09 > To: The Pacemaker cluster resource manager > Subject: Re: [Pacemaker] Time/Date Based Expressions in the CRM Shell > Hi, > > On Wed, Mar 31, 2010 at 10:56:29AM +0100, darren.mans...@op

[Pacemaker] disable failover when doing orderly reboot

2010-03-31 Thread Gerry Kernan
Hi Is it possible to disable failover when doing an orderly reboot on the primary node so that the resources don’t fail over to the standby node. Regards, Gerry Kernan InfinityIT Suite 17 The Mall, Beacon court, Sandyford, Dublin 18. p:+353-1-2930090 f:+353-1-2930137 <>__

Re: [Pacemaker] corosync.conf rrp mode

2010-03-31 Thread Dejan Muhamedagic
Hi, On Wed, Mar 31, 2010 at 02:51:07PM +0200, Norbert Winkler wrote: > Hello Forum > I have a problem how to make the corosync config well > I have 2 networkinterfaces on each node (2 nodes) > One is for the normal network with ip failover (node1: 192.168.1.21 > node2:192.168.1.22 failover ip

[Pacemaker] corosync.conf rrp mode

2010-03-31 Thread Norbert Winkler
Hello Forum I have a problem how to make the corosync config well I have 2 networkinterfaces on each node (2 nodes) One is for the normal network with ip failover (node1: 192.168.1.21 node2:192.168.1.22 failover ip 192.168.1.23 the other is a crossover cable for ring1 using drbd (node1 10.10.

[Pacemaker] Default value of globally-unique in document

2010-03-31 Thread Yan Gao
Hi Andrew, According to the code, currently the default value of "globally-unique" is "false". So isn't the Pacemaker_Explained supposed to be like the following? diff -r fc8aeabc5da9 doc/Pacemaker_Explained/en-US/Ch-Advanced-Resources.xml --- a/doc/Pacemaker_Explained/en-US/Ch-Advanced-Resource

Re: [Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Michael Schwartzkopff
Am Mittwoch, 31. März 2010 13:01:57 schrieb Rasto Levrinc: > On Wed, March 31, 2010 12:33 pm, Michael Schwartzkopff wrote: > > Am Mittwoch, 31. März 2010 12:19:23 schrieb Rasto Levrinc: > >> nvpair should have "name" and "value" attributes. > >> > >> Rasto > > > > Oops, yes. simple syntax error. >

Re: [Pacemaker] [SOLVED] Resource-Monitoring with an "On Fail"-Action

2010-03-31 Thread Tom Tux
Hi >From Novell-Support I got a PTF (Program Temporary Fix) which should handle this issue. I'm thinking, that the monitoring is working now. But I'm irritated with the output of the command "crm_mon -t1", which shows me the "last-rc-change" and the "last-run" of the monitor-operation. I have def

Re: [Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Rasto Levrinc
On Wed, March 31, 2010 12:33 pm, Michael Schwartzkopff wrote: > Am Mittwoch, 31. März 2010 12:19:23 schrieb Rasto Levrinc: >> >> nvpair should have "name" and "value" attributes. >> >> Rasto >> > > Oops, yes. simple syntax error. > > > But after correcting the problem the the error still remains.

Re: [Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Michael Schwartzkopff
Am Mittwoch, 31. März 2010 12:19:23 schrieb Rasto Levrinc: > On Wed, March 31, 2010 11:57 am, Michael Schwartzkopff wrote: > > Am Mittwoch, 31. März 2010 11:49:31 schrieb Michael Schwartzkopff: > >> Hi, > >> > >> > >> I have a resource defined according to chapter 8.4 of the pacemaker > >> guide: >

Re: [Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Rasto Levrinc
On Wed, March 31, 2010 11:57 am, Michael Schwartzkopff wrote: > Am Mittwoch, 31. März 2010 11:49:31 schrieb Michael Schwartzkopff: > >> Hi, >> >> >> I have a resource defined according to chapter 8.4 of the pacemaker >> guide: >> >> >> >> >> >> > value="debian1"/> >> nvpair should have "nam

Re: [Pacemaker] Time/Date Based Expressions in the CRM Shell

2010-03-31 Thread Dejan Muhamedagic
Hi, On Wed, Mar 31, 2010 at 10:56:29AM +0100, darren.mans...@opengi.co.uk wrote: > Apologies if this is in the documentation but I can't see how to use the > time/date based expression resource constraints in the CRM shell. There's usage in the crm shell documentation and help for the location co

Re: [Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Michael Schwartzkopff
Am Mittwoch, 31. März 2010 11:49:31 schrieb Michael Schwartzkopff: > Hi, > > I have a resource defined according to chapter 8.4 of the pacemaker guide: > > > > >value="debian1"/> > > > > > >value="debian2"/> > > > > > > If I try to > cibad

[Pacemaker] Time/Date Based Expressions in the CRM Shell

2010-03-31 Thread Darren.Mansell
Apologies if this is in the documentation but I can't see how to use the time/date based expression resource constraints in the CRM shell. Can anyone provide an example config or point me to any documentation for how to use it? I'm trying to use these constraints to run scripts at certain t

[Pacemaker] Problems using rules to Control Resource Options

2010-03-31 Thread Michael Schwartzkopff
Hi, I have a resource defined according to chapter 8.4 of the pacemaker guide: If I try to cibadmin -C -x resDummy.xml the cluster tells me Call cib_create failed (-22): The object/attrbiute does not exist Any idea what is wrong here? T

[Pacemaker] How to handle a lun wtih vmfs in a pacemaker cluster

2010-03-31 Thread Norbert Winkler
Hello again Forum It looks like that i have more luck with building the cluster with pacemaker corosync drbd iscsitartget with debian. But i am not shure how to handle the luns ( drbbd resources with iscsitarget ) Should i formate the drbd resources /sda5 sda6 sda7 with ocfs2 first and then

Re: [Pacemaker] Mgmtd problem building on Debian Lenny

2010-03-31 Thread Robert van Leeuwen
On Tue, 30 Mar 2010 13:34:43 +0800, Yan Gao wrote: > Hi, > > On 03/29/10 18:06, Robert wrote: >> Hello, >> >> I am using the Madkiss repo for Debian Lenny. The management client >> seems to be missing though. I tried to build the package >> Pacemaker-Python-GUI-0f1490eaa8d8 but it fails: >> >> S