[Pacemaker] resource can not be started
Mia Lueng
xiaozunvlg at gmail.com
Thu Oct 18 01:13:23 UTC 2012
I just set "one" order rule:
order rg_apache_order : res_ip_apache res_apache
You mean the rule
group rg_apache2 res_apache res_ip_apache \
meta target-role="Started"
also indicates an order rule ?
2012/10/17 Lars Marowsky-Bree <lmb at suse.com>:
> On 2012-10-17T14:03:16, Florian Crouzat <gentoo at floriancrouzat.net> wrote:
>
>> Le 17/10/2012 11:56, Mia Lueng a écrit :
>>
>> >group rg_apache2 res_apache res_ip_apache \
>> > meta target-role="Started"
>> >order rg_apache_order : res_ip_apache res_apache
>>
>> It seems not correct. A group is already a shortcut for an ordered
>> collocation. Either use collocation+ordering, or a group, not
>> "almost both".
>
> A group *can* be combined with any other dependencies. That's not the
> problem.
>
> The problem is that the above says
>
> "First A, then B" and "First B, then A", i.e., it can never satisfy
> that. So yes, in this case, the order should be dropped.
>
>
> Regards,
> Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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://bugs.clusterlabs.org
More information about the Pacemaker
mailing list