On 22/05/2013, at 10:15 PM, Tony Stocker <[email protected]> wrote:

> 
> I just want to make sure that my understanding of resource groups is 
> correct before I proceed too far.  Are the following true statements 
> regarding resource groups:
> 
>       1. The order in which resource primitives are listed in a resource 
> group is the order in which they will be started?

yes

> 
>       2. The order in which resource primitives are listed in a resource
> group is the inverse of the order in which they will be stopped?

yes

> 
>       3. Resource primitives in a resource group are started 
> sequentially, not in parallel?

yes

> 
>       4. Even if one of the primitives in the group fails to start, 
> subsequent primitives will still be launched?

no

> 
>       5. Ordering constraints outside of the group are not applied to 
> resource group members?

no

if you define group(A, B, C) but ALSO say order(start C before A)... nothing 
will be able to start :)

> 
> 
> For example, given the following resource group definition:
> 
> group HACMASTER HACMASTER-JOBFILE HACMASTER-PWFILE HACMASTER-JAVA 
> HACMASTER-SSHKEYS HACMASTER-EXT-IP HACMASTER-BAK-IP HACMASTER-COMM-IP 
> HACMASTER-STOR-IP \
>    meta target-role="Started"
> 
> The 8 resource primitives listed will always be started in sequential 
> order beginning with HACMASTER-JOBFILE and ending with HACMASTER-STOR-IP, 
> correct?  Similarly when shutting down a resource group, the primitives 
> will be shut down in the reverse order, i.e. starting with 
> HACMASTER-STOR-IP, correct?  I do not need to set any other ordering 
> constraints beyond listing them in order in the group, correct?
> 
> 
> If I want resource primitives to be dependent on another primitive being 
> successful, I should use a resource set and not a resource group, correct?
> 
> 
> Thanks,
> 
> Tony
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to