On Thu, Nov 15, 2012 at 6:35 PM, Carlos Luna <carlos.l...@openet.com> wrote: > Hello. > > I have a task that I can't seem to figure out how to implement in PaceMaker. > > I have two virtual ip resources and they are grouped together (colocated). > They > are initially started on node 1. > > I have a group of resources (three servers and two databases) that are cloned > on > nodes 1 and 2. Both groups are running simultaneously. > > The difficulty is I want to migrate the virtual ips to node 2 if any of the > the > resources in the server group fail. I do not want the cloned groups to > migrate > at all. I simply want traffic on the virtual ips to divert from one node to > the > another. > > Any ideas would be greatly appreciated.
Did you try: colocate ip_group server_group plus migration-threshold = 1 The latter prevents the server group from recovering after a failure and the former only allows the IPs to run where the server group is active. _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org