ZiLi0n ha scritto:
[...]
 > Here is the question : how can i put the resource svnserve back to his
 > place on the node2 once this one is online again ? Is there some kind of
 > command or best practice ?
You should have a constraint location for the group_2 in the node2. The score of the constraint can be 100 (for example). Moreover if also "resource_failure_stickiness=0", the resources should back to node2.
<rsc_location id="group_2_node2" rsc="group_2">
  <rule id="group_2_node2_rule" score="100">
    <expression  attribute="#uname" operation="eq" value="node2"/>
  </rule>
</rsc_location>
You can see the score with this script: http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=2763;list=linuxha
More info: http://www.linux-ha.org/ScoreCalculation

Hi ZiLi0n,
consider that I'm using heartbeat 1.2 and NOT the 2 version with crm enabled.

I will look the link you passed me, for now I solved my problem with the script /usr/lib/heartbeat/hb_takeover which do the thing i need.

Thanks,

--
RaSca
"Il regno dei cieli e' simile ad un mercante che va in cerca di
perle preziose. Trovatane una di grande valore va, vende tutti
i suoi averi e la compra" - Gesu' Cristo
http://web.tiscali.it/rascasoft

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to