Create 2 constraints:

1. Colocation between ip adress (the one for the master) and master status of 
your mastr/slave resource: You need to add the status "master" (instead of 
start, which is the default) to the constraint.

2. Colocation between ip adress (the one for the slave) and slave status of you 
master/slave resource:. Add also the status "slave" to the constraint 
definition.

It might you also need to adjust the score of your constraints, depending on 
the exact needs.

Regards
Fabian




Von Samsung-Tablet gesendet

-------- Ursprüngliche Nachricht --------
Von: jarek <ja...@poczta.srv.pl> 
Datum:01.08.2014  09:39  (GMT+01:00) 
An: linux-ha@lists.linux-ha.org 
Betreff: [Linux-HA] Virtual address for slave 

Hello!

I'd like to have two virtual adresses: vip-master and vip-slave.
vip-master should be bound to master mode, vip-slave should be bound to
slave node.
How can I do it ?

Best regards
Jarek

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to