Hi, On Fri, Jan 20, 2012 at 10:24:08PM +0100, Anton Melser wrote: > On 20 January 2012 19:37, gustavo panizzo <gfa> <g...@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?
IIRC, IPaddr2 already has such an option. See "crm ra info IPaddr2". Thanks, Dejan > Cheers > Anton > > _______________________________________________ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org