[Linux-HA] Add multiple IPs in V1 style config

Lars Marowsky-Bree lmb at suse.de
Tue Oct 16 05:47:03 MDT 2007


On 2007-10-16T11:00:54, Hannes Dorbath <light at theendofthetunnel.de> wrote:

> I need to add multiple IPs to a machine that runs HB 2.0.8 with V1 style 
> config.
>
> Is there a limit of IPaddr statements I can have? Is there a better to 
> define multiple IPs?
>
> Can I get the changes take effect without doing a failover / restart 
> heartbeat? Will hb_takeover on the already primary node add the IPs?

v1 is very dumb. You can add them to haresources and then simply start
them manually - v1 doesn't run resource monitoring or start/stop except
on take-over, nor is haresources cached in memory anywhere, so it won't
mind. Just make sure that you really copy the haresources file to both
nodes.

I'm not sure whether there's a limit on the number of resources v1 can
manage, except if it hits some line-length limit of the shell
somewhere.

The downside with a large number of resources is that v1 is all serial;
nothing is done in parallel, which means a large number of resources
will incur some penalty.


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde



More information about the Linux-HA mailing list