On Nov 1, 2007, at 10:49 PM, Jeremy N Thornhill wrote:
I have created a working DRBD config for heartbeat 2.1.2 following the
example document, and everything seems to work as anticipated.
However, I am curious if it is possible to manually force a specific
node
be a master for a master/slave set. I.E., given the following
situation:
Master/Slave Set: ms-drbd0
drbd0:0 (heartbeat::ocf:drbd): Master NodeA
drbd0:1 (heartbeat::ocf:drbd): Slave NodeB
I would like to cause "NodeB" to become the master and "NodeA" to
become
the slave. This is certainly not possible with the GUI, and I have
been
unable to determine how to go about this using the crm_ commands.
adding a rsc_lcoation constraint with role=Master should achieve what
you're after
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems