Hi,<br><br>I have got some multistate resources running. This resources should start after the resources resIP (IPaddr2) and resFSys (Filesystem).<br>So to accomplish this requirement I defined the following constraints.<br>
colocation colFSysNTP inf: msNTP:Master resFSys<br>colocation colIPNTP inf: msNTP:Master resIP<br>order orderFSysNTP inf: resFSys msNTP:promote<br clear="all">order orderIPNTP inf: resIP msNTP:promote<br><br>The multistate resource is defined as follows:<br>
primitive resNTP ocf:T-Systems:ntp \<br> params master_config="/mnt/DRBD/drbd1/ntp/cnf/ntp_master.conf" slave_config="/etc/ntp.conf" \<br> op monitor interval="10" role="Master" timeout="30" \<br>
op monitor interval="12" timeout="31" \<br> op start interval="0" timeout="120" \<br> op stop interval="0" timeout="120"<br>ms msNTP resNTP<br>
<br>The problem is that the multistate resource msNTP tries to promote anyways even if the resources resIP and resFSys are not running on a cluster node. So the constraints do not take effect at all.<br>Is there a solution to control the promotion of multistate resources with constraints?<br>
<br>-- <br><br><br>Regards<br><br>Simon Jansen<br><br><br>---------------------------<br>Simon Jansen<br>64291 Darmstadt<br>