> depending on your version, you might need to add: > symmetrical="true" > and > score="INFINITY" > to the ordering constraint > > the first should make the resources stop in the reverse order. > the second will make sure that the other two resources will be stopped > if iscsi_resources isn't running > > i'd recommend the latest interim build and this document > http://oss.beekhof.net/~beekhof/heartbeat/docs/Ordering-Explained.pdf [Damon Estep]
Andrew, Thank you kindly for your advice, this did in fact resolve my issue. I am using version 2.1.2-3 since that is what is currently readily available for CentOS 5.1 as RPMs. I have read in many places that the GUI has limitations, but I am impressed that I was able to configure everything I needed via the GUI with the exception of this important piece. For those of us just learning V2 heartbeat the GUI is quite valuable, even if we might outgrow it in a short period of time. No sure if later releases include the option to add these values via the GUI. Based on your pdf I assume the default behavior changed in 2.1.2-4 to include these options. ################ For others in my situation that might stumble upon this, here are the exact steps required to update the order constraint with the values suggested once you have created the basic order constraint in the GUI; Export the constraints section of your current cib.xml file # cibadmin -Q --obj_type constraints > /$HOME/constraints.xml' Edit the file and add symmetrical="true" and score="INFINITY" to the rsc_order id you wish to modify # vi /$HOME/constraints.xml Here are the before and after; Before: <rsc_order id="vg9_after_storage" from="vg9_group" type="after" to="storage_group"/> After: <rsc_order id="vg9_after_storage" from="vg9_group" type="after" to="storage_group" symmetrical="true" score="INFINITY"/> Now update the active cib.xml # cibadmin -obj_type constraints -U -x /$HOME/constraints.xml You can export again to verify, this time to the console rather than a file # cibadmin -Q --obj_type constraints ################ Damon _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
