On Tue, Mar 4, 2008 at 3:15 PM, Adam Kaufman
<[EMAIL PROTECTED]> wrote:
> hi all,
>
>  I've been wracking my brain trying to figure out how to tie a master/slave 
> resource to a regular one.  specifically, I'm trying to make drbd's behavior 
> follow that of IPAddr.  I'd like drbd to promote itself to master only on the 
> node where IPAddr is started.  conversely, when IPAddr is switched, I'd like 
> drbd to follow.  this should be a combination of order and colocation 
> constraints, but I haven't found the magic configuration yet.


rsc_colocation from=drbd from_role=Master to=ipaddr

but normally you want it the other way around... you want the ip to
follow the drbd master
_______________________________________________
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