On 6/6/2010 at 12:58 AM, Comet / 余尚哲<comet...@gmail.com> wrote: > I have 10 nodes and want to run httpd & mysqld on all node, i plan to do > load balance later, > so i set two clone set on apache and mysql: > > clone cl-apache apache > clone cl-mysqld mysqld > > each apache will connect to mysqld locally, so if mysqld crash, i must > turnoff apache running on the same node to avoid error if apache try to load > data from mysql, > but i think the order constrant can't do that for me if my setting like > this: > > order mysqld-before-apache inf: cl-mysqld cl-apache > > If i want to apply this rule to each node, what setting should i configure?
Try cloning a group, something like: group mysqld-with-apache mysqld apache clone cl-mysqld-with-apache mysqld-with-apache Regards, Tim -- Tim Serong <tser...@novell.com> Senior Clustering Engineer, OPS Engineering, Novell Inc. _______________________________________________ Pacemaker mailing list: Pacemaker@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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker