Michael Schwartzkopff schrieb:
Second step - we have to add a resource, for which Node4 should become the
preferred node.

My idea:


Node1: /etc/init.d/heartbeat stop
Node1: add a line to haresources like:
        node4  IPaddr2::192.168.y.z/24/ethX:Y  samba-ha::node4
Node1: /etc/init.d/heartbeat start

Node2: /etc/init.d/heartbeat stop
Node2: add a line to haresources like:
        node4  IPaddr2::192.168.y.z/24/ethX:Y  samba-ha::node4
Node2: /etc/init.d/heartbeat start

Node3: /etc/init.d/heartbeat stop
Node3: add a line to haresources like:
        node4  IPaddr2::192.168.y.z/24/ethX:Y  samba-ha::node4
Node3: /etc/init.d/heartbeat start

Node4: /etc/init.d/heartbeat stop
Node4: add a line to haresources like:
        node4  IPaddr2::192.168.y.z/24/ethX:Y  samba-ha::node4
Node4: /etc/init.d/heartbeat start

Oops? Did you say you have CRM enabled? Why are your resources in haresources notification? With CRM enabled you just have to add the resource and make a location constraint.
hmm, you are right. So I can delete the file /etc/ha.d/haresources?
I just need to add the resources to /var/lib/heartbeat/crm/cib.xml by "cibadmin -o 
resources -C -x XML-file", right?


Best,
Alex

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