[Linux-cluster] Resource tree in service?

Ryan Mitchell rmitchel at redhat.com
Tue Feb 19 00:23:02 UTC 2013


On 02/19/2013 09:53 AM, Jakov Sosic wrote:
> So if I understand it correctly, ip has attribute start set to 7, while
> "script" has it 9. That means that IP will always start before script.
>
> But what about "postgres-8" and other cluster resource agents that are
> not listed in "specia" section of service.sh? Are they all
> auto-magically assigned value of 9?

Best Centos documentation I can find for that is here:
http://www.centos.org/docs/5/html/5.2/Cluster_Administration/s1-clust-rsc-sibling-starting-order-CA.html

"... a non-typed child resource is started and stopped according to its 
order in /etc/cluster.cluster.conf.  In addition, non-typed child 
resources are started after all typed child resources have started and 
are stopped before any typed child resources have stopped."

Also see the following 2 pages in the documentation I linked above. 
This is virtually the same as in the RHEL6 guide and so should apply to 
Centos6.

> Also, not forcing hierarchy doesn't mean that IP recognition within
> 'config-utils.sh' is not a bug that should be solved...

I recommend raising a bug for this issue.

On a slightly different topic, perhaps see if pacemaker can do what you 
need it to.  http://clusterlabs.org/doc/

Regards,

Ryan Mitchell




More information about the Linux-cluster mailing list