[Pacemaker] Best setup for lots and lots of IPs

Anton Melser melser.anton at gmail.com
Fri Jan 20 22:24:08 CET 2012


On 20 January 2012 19:37, gustavo panizzo <gfa> <gfa at zumbi.com.ar> wrote:
>> b) (based on the use case of 2000 IP's I'd guess you have at least a
>> /21 public subnet available - or even larger - and based on good
>> practice I'd also guess these IP's are given from a continuous range,
>> in which case the script would) take a start IP and end IP as
>> parameters, and perform a for loop for the resulting range (thus using
>> only 2 parameters for the IP definition, and the other parameters I've
>> seen in the example were netmask and monitoring interval, a grand
>> total of 4).
>
> i would use that script as a cluster resource,
> so when the active node die, you can be sure cluster will run the
> script on the surviving node

Thanks for your suggestions - I'll have a look at adapting the ipaddr2
script - do you think it would be worth resubmitting something for
inclusion somewhere? Is there some sort of forge where this sort of
thing would happily live, or do people usually roll their own?
Cheers
Anton



More information about the Pacemaker mailing list