Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-26 Thread Anton Melser
> Thousands? In that case you should extend the IPaddr2 RA to > support IP ranges and then handle all of them in a loop within > the RA. If any of the IP addresses fails you'll need to report > failure, so the complete range would have to be restarted. I knew that would be an option but I'm going

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-25 Thread Anton Melser
>> I actually did 1 to 3 (with both configure primitive and configure >> clone) which worked successfully, and then launched the following. >> Both FW1 and FW2 are up, and it seems to be distributing the IPs >> between the two. The IPs are pingable from external machines. It is >> taking aages

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-25 Thread Anton Melser
On 25 January 2012 17:43, Dejan Muhamedagic wrote: > On Wed, Jan 25, 2012 at 04:40:38PM +0100, Anton Melser wrote: >> >> # primitive ClusterIP.144.1 ocf:heartbeat:IPaddr2 params >> >> ip="10.144.1.1" cidr_netmask="32" clusterip_hash="sour

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-25 Thread Anton Melser
>> # primitive ClusterIP.144.1 ocf:heartbeat:IPaddr2 params >> ip="10.144.1.1" cidr_netmask="32" clusterip_hash="sourceip" op monitor >> interval="120s" >> # clone CloneIP ClusterIP.144.1 meta globally-unique="true" clone-max="8" > > You have just two nodes so with this configuration you get two >

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-25 Thread Anton Melser
> Let's try that again with something useful! > > 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:IPadd

Re: [Pacemaker] mass deletion of resources

2012-01-25 Thread Anton Melser
On 24 January 2012 23:45, Dejan Muhamedagic wrote: > On Tue, Jan 24, 2012 at 06:00:22PM +0100, Anton Melser wrote: >> > I can't see how to list the options available - I'm obviously missing >> > that last bit that would enable me to get the answers for myself... &

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique="true"

2012-01-24 Thread Anton Melser
On 24 January 2012 16:28, Dejan Muhamedagic wrote: > On Mon, Jan 23, 2012 at 08:25:32PM +, Reid, Mike wrote: >> Dejan, >> >> >> Regarding the stability: In my two node cluster testing, unfortunately >> multiple times (on each node) when managing multiple IP Ranges via >> unique_clone_address,

Re: [Pacemaker] mass deletion of resources

2012-01-24 Thread Anton Melser
>> > I can't see how to list the options available - I'm obviously >> > missing >> > that last bit that would enable me to get the answers for myself... >> >> Actually, is it suicide to try and modify >> /var/lib/heartbeat/crm/cib.xml directly and remove (almost) all the >> superfluous nodes? >> I'

Re: [Pacemaker] mass deletion of resources

2012-01-24 Thread Anton Melser
> I can't see how to list the options available - I'm obviously missing > that last bit that would enable me to get the answers for myself... Actually, is it suicide to try and modify /var/lib/heartbeat/crm/cib.xml directly and remove (almost) all the superfluous nodes? I'll back up and give it a

Re: [Pacemaker] mass deletion of resources

2012-01-24 Thread Anton Melser
... >> This should help: >> crm configure help erase >> >> and (probably first) >> crm configure property stop-all-resource=true >> >> HTH >> >> Jake > > Ok, that was bad... For some reason I had my mind set on "delete" and > seeing erase made no connection... Sorry about the foolish question - > I

Re: [Pacemaker] mass deletion of resources

2012-01-24 Thread Anton Melser
On 24 January 2012 17:18, Jake Smith wrote: > - Original Message - >> From: "Anton Melser" >> To: pacemaker@oss.clusterlabs.org >> Sent: Tuesday, January 24, 2012 11:03:35 AM >> Subject: [Pacemaker] mass deletion of resources >> >> Hi, &

[Pacemaker] mass deletion of resources

2012-01-24 Thread Anton Melser
Hi, I borked an install by trying to put in far too many resources - I can't work out where these are stored, and there doesn't seem to be a mass option to stop and then delete the resources - is this possible? I am on Centos and removing the rpms didn't seem to do anything (didn't get rid of the d

Re: [Pacemaker] Best setup for lots and lots of IPs

2012-01-23 Thread Anton Melser
>> 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

Re: [Pacemaker] Best setup for lots and lots of IPs

2012-01-20 Thread Anton Melser
On 20 January 2012 19:37, gustavo panizzo 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)

[Pacemaker] Best setup for lots and lots of IPs

2012-01-19 Thread Anton Melser
Hi, I want to set up a very simple NAT device for natting around 2000 internal /24 networks to around 2000 external IPs (1 /24 = 1 public IP). That part works fine (and is *extremely* efficient, I have it on a pretty powerful machine but cpu is 0% with 2gbps going through!) with iproute2 and iptabl