Re: [Linux-HA] Adding to a group without downtime
On Wed, 2009-07-29 at 12:14 +0200, Andrew Beekhof wrote: > On Wed, Jul 29, 2009 at 10:08 AM, wrote:] > > # crm > ## cib new fixgroup > ## configure delete ... > ## configure group ... > ## cib commit fixgroup > ## quit Ah, winner - thanks! I was aware of the 'copy, update and merge' approach but didn't think the behaviour would be any different to editing live. No matter, just so long as I know :) gdh ___ 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
Re: [Linux-HA] Adding to a group without downtime
On Wed, Jul 29, 2009 at 10:08 AM, wrote: > Just for info, it doesn't work for me either on SLES 11 x86_64 and i386. > I didn't realise it was supposed to work. > > Can't edit any groups without deleting them first, which also deletes > all constraints. But that doesn't mean you have to commit the deletion to the cluster before you recreate it again: # crm ## cib new fixgroup ## configure delete ... ## configure group ... ## cib commit fixgroup ## quit > It's a pain but the CRM shell is so great otherwise > I've just accepted it. > > Darren > ___ > 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
Re: [Linux-HA] Adding to a group without downtime
> > Gavin Hamill wrote: > > 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" > > Which version? Can you post the actual in- and output? > > Afaik, that's supposed to work. > > Regards > Dominik Just for info, it doesn't work for me either on SLES 11 x86_64 and i386. I didn't realise it was supposed to work. Can't edit any groups without deleting them first, which also deletes all constraints. It's a pain but the CRM shell is so great otherwise I've just accepted it. Darren ___ 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
Re: [Linux-HA] Adding to a group without downtime
Gavin Hamill wrote: > 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" Which version? Can you post the actual in- and output? Afaik, that's supposed to work. Regards Dominik ___ 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] Adding to a group without downtime
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. ___ 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