Re: [Pacemaker] IP fail over without controlling the services

2012-07-27 Thread Phillip Frost
On Jul 27, 2012, at 7:06 AM, Dongdong Zhou wrote: > Hi Vossel, > > Thanks for the information. I have tried to put mysql un-managed, but in > this situation, when I shutdown mysqld or make as standby of the node > which the IP resource is on, the cluster will put the IP resource as > stopped oth

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 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

Re: [Pacemaker] [Problem] Order is ignored, and promote is carried out.

2012-06-29 Thread Phillip Frost
On Jun 28, 2012, at 10:26 PM, renayama19661...@ybb.ne.jp wrote: >> We set order limitation as follows. > > with-rsc="msPostgresql" with-rsc-role="Master"/> > score="INFINITY" then="msPostgresql" then-action="promote"/> > >> However, promote was carried out even if primitvei resource

Re: [Pacemaker] vlan tag for a cluster

2012-04-24 Thread Phillip Frost
On Apr 24, 2012, at 5:40 AM, emmanuel segura wrote: > I would like to know if it's possible use vlan interface for a cluster > network? It is. VLAN interfaces are handled by the Linux networking layer below Pacemaker, so there's no difference from Pacemaker's perspective. Once you have created

Re: [Pacemaker] manually failing back resources when set sticky

2012-03-30 Thread Phillip Frost
On Mar 30, 2012, at 2:35 PM, Florian Haas wrote: > On Fri, Mar 30, 2012 at 8:26 PM, Brian J. Murrell > wrote: >> >> The question is, what is the proper administrative command(s) to move >> the resource back to it's "primary" after I have manually determined >> that that node is OK after coming

Re: [Pacemaker] Using shadow configurations noninteractively

2012-03-21 Thread Phillip Frost
On Mar 19, 2012, at 4:30 PM, Florian Haas wrote: > On Mon, Mar 19, 2012 at 9:00 PM, Phil Frost wrote: >> On Mar 19, 2012, at 15:22 , Florian Haas wrote: >>> On Mon, Mar 19, 2012 at 8:00 PM, Phil Frost >>> wrote: Normally I'd expect some command-line option, but I can't find any. It >

Re: [Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

2012-03-14 Thread Phillip Frost
On Mar 14, 2012, at 12:33 PM, Florian Haas wrote: >> However, sometimes pacemakerd will not stop cleanly. > > OK. Whether this is related to your original problem or not a complete > open question, jftr. > >> I thought it might happen when stopping pacemaker on the current DC, but >> after succ

Re: [Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

2012-03-14 Thread Phillip Frost
On Mar 14, 2012, at 9:45 AM, Florian Haas wrote: >>> The current cluster-glue package in squeeze-backports, >>> cluster-glue_1.0.9+hg2665-1~bpo60+2, has upstart disabled. >>> Double-check that you're running that version. If you do, and the >>> issue persists, please let us know. >> >> Indeed, tha

Re: [Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

2012-03-14 Thread Phillip Frost
On Mar 14, 2012, at 9:25 AM, Florian Haas wrote: >> Do you have upstart at all? In that case, the debian package >> shouldn't have the upstart enabled when building cluster-glue. > > The current cluster-glue package in squeeze-backports, > cluster-glue_1.0.9+hg2665-1~bpo60+2, has upstart disabled

Re: [Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

2012-03-13 Thread Phillip Frost
On Mar 13, 2012, at 2:21 PM, Jake Smith wrote: >> From: "Phillip Frost" >> Subject: [Pacemaker] getting started - crm hangs when adding resources, >> even "crm ra classes" hangs >> >> more interestingly, even "crm ra classes" nev

[Pacemaker] getting started - crm hangs when adding resources, even "crm ra classes" hangs

2012-03-13 Thread Phillip Frost
I'm trying to set up pacemaker for the first time, following the instructions in clusters from scratch, on Debian squeeze, using pacemaker and corosync from squeeze-backports. I seem to have gotten as far as getting two nodes in the cluster: # crm status Last updated: Tue Mar 13 13