> > My question : how can I avoid this ? I don't want an automatic
> > I know that one solution is to use the rotating mode, but this mode is
> > limited to
> > 2 nodes per cluster (or at least per resource group).
> I am not sure whether you are on HA 4.3.1, in this version, it has a
> new feature which allows you to make a resource sticky.
> i.e. If boxA fails over to BoxB then you can say to BoxB hold on to this
> resource, so when you restart HA on BoxA, the resource does not cascade
> back to BoxA.
> I think that this is what you a looking for, The are obviously commands
> to allow you to make a resource sticky, and you could probably put them
> into a post install script of some kind.
> Later, John.
> Sent via Deja.com http://www.deja.com/
> Before you buy.
The sticky option has been around a while. If you have HACMP installed
and its man pages, try man cldare.
cldare -M resgrp :location :sticky # etc.
However, if you really want 2 prod servers to fail over to one standby
for both, and leave the failed system as the new standby when it comes
up, rotating is the way to go. If you then want to migrate the rotating
resources back to the first production node, you can use the same cldare
-M command to migrate it back there at a time of your choice. I like the
control in a standard env vs trying to customize one function to act like
If you decide to try to go this route, you need to be CAREFUL and test
this outside of production. The vaules of default and sticky can be
reset by HACMP if certain circumstances occur. I recommend reading (and
the man page recommends reading) the chapter on "Changing Resources and
Resource Groups" in the HACMP for AIX Administration Guide.
Comments, views, and opinions are mine alone, not IBM's.