[Pacemaker] [Problem] Order which combined a master with clone is invalid.

2012-07-19 Thread renayama19661014
Hi All, We confirmed movement of order which combined a master with clone. We performed it by a very simple combination. Step1) We change it to produce start error in Dummy resource. (snip) dummy_start() { return $OCF_ERR_GENERIC dummy_monitor (snip) Step2) We start one node and send cib.

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Andrew Beekhof
On Fri, Jul 20, 2012 at 12:27 AM, Rasto Levrinc wrote: > On Thu, Jul 19, 2012 at 4:13 PM, Lars Marowsky-Bree wrote: >> On 2012-07-19T09:41:55, Vadym Chepkov wrote: >> >>> Oh, so in other words it's not supported by 1.1.7 ? Why was it in >>> release-notes then? >> >> Pacemaker supports it, but n

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Andrew Beekhof
On Thu, Jul 19, 2012 at 11:41 PM, Vadym Chepkov wrote: > > On Jul 19, 2012, at 8:57 AM, Rasto Levrinc wrote: > >> On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >>> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: Hi, When Pacemaker 1.1.7 was announced, a new feature was mentione

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Andrew Beekhof
On Thu, Jul 19, 2012 at 10:57 PM, Rasto Levrinc wrote: > On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: >>> Hi, >>> >>> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >>> >>> The ability to specify that A starts after ( B or

Re: [Pacemaker] mysql resource agent

2012-07-19 Thread Andreas Kurz
On 07/18/2012 03:24 PM, DENNY, MICHAEL wrote: > Our current monitor action tests the availability of the mysql database. > However, the monitor fails if mysql is doing recovery processing. And the > recovery processing can take a long time. Do you know if there is a way to > programmatical

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Andreas Kurz
On 07/19/2012 02:57 PM, Rasto Levrinc wrote: > On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: >>> Hi, >>> >>> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >>> >>> The ability to specify that A starts after ( B or C or D ) >>

Re: [Pacemaker] node offline after fencing (pacemakerd hangs)

2012-07-19 Thread Raoul Bhatia [IPAX]
On 2012-07-19 16:05, Jake Smith wrote: > Another solution is something like (will vary a little in RHEL I believe): > > Disable corosync autostart > $sudo update-rc.d -f corosync disable S > > add 'post-up /etc/init.d/corosync start' to bonding (or in your case bridged) > interface in > /etc/n

Re: [Pacemaker] Pengine behavior

2012-07-19 Thread David Vossel
- Original Message - > From: "Виталий Давудов" > To: "The Pacemaker cluster resource manager" > Sent: Thursday, July 19, 2012 8:08:12 AM > Subject: Re: [Pacemaker] Pengine behavior > > > Hi! > > I had moved my cluster from heartbeat to corosync. > Here corosync.conf content: > > compa

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-07-19 Thread Julien Cornuwel
2012/7/18 Jake Smith : > With the "status=Timed Out" I'm thinking that you're setting of 60s for start > timeout might be too short? How long does it take to return if you start > squid from the LSB script? How long after starting until the squid.pid is > created (is it even created?)? >From t

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Rasto Levrinc
On Thu, Jul 19, 2012 at 3:46 PM, Vadym Chepkov wrote: > > On Jul 19, 2012, at 8:57 AM, Rasto Levrinc wrote: > >> On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >>> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: Hi, When Pacemaker 1.1.7 was announced, a new feature was mentioned

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Rasto Levrinc
On Thu, Jul 19, 2012 at 4:13 PM, Lars Marowsky-Bree wrote: > On 2012-07-19T09:41:55, Vadym Chepkov wrote: > >> Oh, so in other words it's not supported by 1.1.7 ? Why was it in >> release-notes then? > > Pacemaker supports it, but not yet the shell/hawk. ... nor cibadmin :) Rasto > > > Regard

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Lars Marowsky-Bree
On 2012-07-19T09:41:55, Vadym Chepkov wrote: > Oh, so in other words it's not supported by 1.1.7 ? Why was it in > release-notes then? Pacemaker supports it, but not yet the shell/hawk. Regards, Lars -- Architect Storage/HA SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix

[Pacemaker] Could not establish cib_rw connection

2012-07-19 Thread Martin Unger
Hello! I'm running Pacemaker and Corosync on CentOS 6.3 (yum install corosync pacemaker). Corosync starts just fine, but as soon as I start pacemaker, error messages start appearing in the log-file: pacemakerd: info: start_child: Forked child 2 for process crmd crmd: info: cr

Re: [Pacemaker] node offline after fencing (pacemakerd hangs)

2012-07-19 Thread Jake Smith
- Original Message - > From: "Raoul Bhatia [IPAX]" > To: "The Pacemaker cluster resource manager" > Sent: Wednesday, July 18, 2012 10:12:14 AM > Subject: Re: [Pacemaker] node offline after fencing (pacemakerd hangs) > > On 2012-07-18 15:57, Ulrich Leodolter wrote: > > hi, > > > > after

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 8:57 AM, Rasto Levrinc wrote: > On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: >>> Hi, >>> >>> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >>> >>> The ability to specify that A starts after ( B or C

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 8:16 AM, Phillip Frost wrote: > On Jul 19, 2012, at 7:44 AM, Vadym Chepkov wrote: > >> Not there either. > > Maybe I'm not understanding your question. Isn't this what you are seeking? > >> Ordered resource sets have an >> extra attribute to allow for sets of resources whos

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 8:57 AM, Rasto Levrinc wrote: > On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: >> On 07/19/2012 11:47 AM, Vadym Chepkov wrote: >>> Hi, >>> >>> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >>> >>> The ability to specify that A starts after ( B or C

Re: [Pacemaker] Pengine behavior

2012-07-19 Thread Виталий Давудов
Hi! I had moved my cluster from heartbeat to corosync. Here corosync.conf content: compatibility: whitetank totem { version: 2 token: 500 downcheck: 500 secauth: off threads: 0 interface { ringnumber: 0 bindnetaddr

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Rasto Levrinc
On Thu, Jul 19, 2012 at 2:38 PM, Andreas Kurz wrote: > On 07/19/2012 11:47 AM, Vadym Chepkov wrote: >> Hi, >> >> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >> >> The ability to specify that A starts after ( B or C or D ) >> >> I wasn't able to find an example how to express i

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Andreas Kurz
On 07/19/2012 11:47 AM, Vadym Chepkov wrote: > Hi, > > When Pacemaker 1.1.7 was announced, a new feature was mentioned: > > The ability to specify that A starts after ( B or C or D ) > > I wasn't able to find an example how to express it crm shell in neither man > crm nor in Pacemaker Explained

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Phillip Frost
On Jul 19, 2012, at 7:44 AM, Vadym Chepkov wrote: > Not there either. Maybe I'm not understanding your question. Isn't this what you are seeking? > Ordered resource sets have an > extra attribute to allow for sets of resources whose actions may run > in parallel. The shell syntax for such sets i

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
On Jul 19, 2012, at 6:55 AM, Phillip Frost wrote: > On Jul 19, 2012, at 5:47 AM, Vadym Chepkov wrote: > >> Hi, >> >> When Pacemaker 1.1.7 was announced, a new feature was mentioned: >> >> The ability to specify that A starts after ( B or C or D ) >> >> I wasn't able to find an example how to

Re: [Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Phillip Frost
On Jul 19, 2012, at 5:47 AM, Vadym Chepkov wrote: > Hi, > > When Pacemaker 1.1.7 was announced, a new feature was mentioned: > > The ability to specify that A starts after ( B or C or D ) > > I wasn't able to find an example how to express it crm shell in neither man > crm nor in Pacemaker Exp

[Pacemaker] Pacemaker 1.1.7 order constraint syntax

2012-07-19 Thread Vadym Chepkov
Hi, When Pacemaker 1.1.7 was announced, a new feature was mentioned: The ability to specify that A starts after ( B or C or D ) I wasn't able to find an example how to express it crm shell in neither man crm nor in Pacemaker Explained. In fact, http://www.clusterlabs.org/doc/en-US/Pacemaker/1.

[Pacemaker] After reboot, node does not an automatically rejoin

2012-07-19 Thread Tom Tux
Hi When I reboot one of our two-node-cluster-boxes (sles11 sp1, fully patched, HAE installed, the node does not rejoin himself to the cluster. I got the following error: corosync[5377]: [pcmk ] WARN: route_ais_message: Sending message to local.cib failed: ipc delivery failed (rc=-2) corosync[53

Re: [Pacemaker] Recent CRM-Documentation?

2012-07-19 Thread Dejan Muhamedagic
Hi, On Wed, Jul 18, 2012 at 07:49:03AM +, Stallmann, Andreas wrote: > Hi! > > I read here, that the crm documentation currently online is not very recent > any more. > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained > does not cover crm at all but instead explai