Re: [Linux-HA] Resource set question

2009-07-10 Thread Gawith
Hi Dominik,

 Set ordered=false for the ip group. That will start them in parallel. I
 think. Then specify a resource order constraint to start your app group
 after the ip group and a colocation constraint to have the apps on the
 same node as the ips.
 

As far as I know, setting ordered=false is not supported any more for
groups. Andrew?


Cheers
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] target-role does not exist with crm_resource

2009-07-09 Thread Gawith
Hi,

yes, the problem disappeared in 1.0.4
(Unfortunately, the excessive logging of pingd keeps me from using 1.0.4)

Regards.

Michael Schwartzkopff schrieb:
 Am Donnerstag, 9. Juli 2009 12:38:23 schrieb Dejan Muhamedagic:
 Hi,

 On Wed, Jul 08, 2009 at 01:50:53PM +0200, Steinhauer Juergen wrote:
 Hi guys!

 I've experienced for several times, that I'm not able to query the
 resource status with crm_resource:

 crm_resource -r app -g target-role --meta
 Error performing operation: The object/attribute does not exist

 But the meta-attribute is there...

 primitive class=ocf id=app provider=me type=myapp
   meta_attributes id=app-meta_attributes
 nvpair id=app-meta_attributes-target-role name=target-role
 value=started/
 nvpair id=app-meta_attributes-migration-threshold
 name=migration-threshold value=1/
   /meta_attributes
 /primitive

 It worked with pacemaker 0.6 (without the --meta) and works sometimes
 with pacemaker 1.0.3.

 Am I doing something wrong? Is this way to query the app's status not
 supported anymore?
 I can't reproduce this with 1.0.4. Which version do you run? Can
 you also post the whole CIB?

 Thanks,

 Dejan
 
 Strange enough, the problem disappeared here.
 
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems