[Linux-HA] Adding to a group without downtime
Gavin Hamill
gdh at acentral.co.uk
Tue Jul 28 14:00:03 MDT 2009
Hi :)
I'm using the Lenny packages http://people.debian.org/~madkiss/ha/ and
have been enjoying success with pacemaker + heartbeat (I've used a
heartbeat v1 config for years without problems).
I have a few IPaddr2 primitives in groups, but I'd like to understand
how I can add a new primitive into an existing group without
stopping/starting. At the moment I have to:
# primitive failover-ip-186 ocf:heartbeat:IPaddr2 params ip="10.8.2.186"
op monitor interval="10s"
# show www-frontends
group www-frontends failover-ip-184 failover-ip-185
# delete www-frontends
# group www-frontends failover-ip-184 failover-ip-185 failover-ip-186
# commit
But that takes failover-ip-184 and failover-ip-185 down for a couple of
seconds. Is there a way to add a new primitive to a group with zero
downtime?
I tried using 'edit www-frontends' to stick failover-ip-186 on the end
of the line but it complains loudly "Call cib_modify failed (-47):
Update does not conform to the configured schema/DTD"
Thanks for such great software! :)
Cheers
Gavin.
More information about the Linux-HA
mailing list