have you seen this page? http://linux-ha.org/v2/Concepts/MultiState
This page does not seem logical to me. If I create a resource in a two node cluster, as a master/slave with clone_max = 2, clone_node_max = 1, master_max = 1, master_node_max = 1 Then that infers that one instance of the resource will run on both nodes and only one will be master; the other slave. But this is not what happens. Why do both resources try to be master on there respective nodes? How do I stop this behaviour? What I am trying to achieve is a resource running on both nodes. One as master and the other as slave. When the master fails, the slave is promoted to master. When the old master is restored it resumes in slave mode. My resource script is setting crm_master on both resources. 100 for master and 1 for slave (doc states it must be greater than 0 if you ever want to promote to master). This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
