----- Original Message ----- > From: "Anton Melser" <melser.an...@gmail.com> > To: "The Pacemaker cluster resource manager" <pacemaker@oss.clusterlabs.org> > Sent: Monday, January 23, 2012 12:40:25 PM > Subject: Re: [Pacemaker] Best setup for lots and lots of IPs > > >> 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". > > I just had a look - I'm using the default version that comes with > centos 6.2 - and I can't see anything that suggests being able to use > a range, either for ipaddr or ipaddr2. Was it maybe a different > module > you were thinking of? If so I'd be very interested to find out about > it!
I'm not an expert on it but... unique_clone_address: If true, add the clone ID to the supplied value of ip to create a unique address to manage (optional, boolean, default false) So for example: primitive ClusterIP ocf:heartbeat:IPaddr2 \ params ip="10.0.0.1" cidr_netmask="32" clusterip_hash="sourceip" \ op monitor interval="30s" clone CloneIP ClusterIP \ meta globally-unique="true" clone-max="8" would result in 8 ip's: 10.0.0.2, 10.0.0.3, etc. HTH Jake > Thanks for your suggestions and help. > 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