[Linux-HA] Don't start all groups at once?

Andrew Beekhof beekhof at gmail.com
Tue Oct 2 01:42:54 MDT 2007


On 10/2/07, Kelly Byrd <kbyrd-linuxha at memcpy.com> wrote:
> As I've mentioned before, I've got 22 groups, each of which is tied to one
> of  22 master/slave drbd resources. During normal operation, one node runs
> 11 and the other node runs the other 11.
>
> During a failure, 11 drbds their 11 groups will start on the remaining
> node. This will be quite a load on the surviving machine and it's
> currently running resources. Each group is a virtual machine trying to
> allocate a few hundred megs of RAM and boot an OS. I'd like to space it
> out a bit. Is this possible? I don't want to specify an strict ordering. I
> don't actually care about the order and I don't want VM-14 to not come up
> because VM-13 failed for some reason. Ideally, I could configure things so
> heartbeat will start a few at a time, then wait a bit, then start a few
> more. If that's not possible, then starting them all sequentially would be
> fine, and I'll just put a delay in the group. I'm under the impression
> that heartbeat will try and start all groups at the same time. Is this
> true?

unless you tell us otherwise :-)
but thats more constraints you need to write.

i was thinking more about this last night... putting the FS and the VM
in a group would reduce some of the "clutter".  it would also mean you
could add a Delay resource before the FS which could be used to
stagger the starts...

actually setting start_delay for the FS resource's start operation
would achieve the same thing... just set them all to different values.


More information about the Linux-HA mailing list