Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread georg
Wow, what a great list!!
Thanks a lot for a the help!!

Cheers,
Georg


___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread Florian Haas
On 2011-10-14 17:49, ge...@riseup.net wrote:
>> Maybe what you want is ocf:heartbeat:IPsrcaddr
> 
> Ah, thanks. Wasn't aware of this.
> Is there somewhere (I didn't found this) an complete overview for all "the
> commands"?

http://www.linux-ha.org/doc/man-pages/ap-ra-man-pages.html

Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now

___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread georg
> Maybe what you want is ocf:heartbeat:IPsrcaddr

Ah, thanks. Wasn't aware of this.
Is there somewhere (I didn't found this) an complete overview for all "the
commands"?

Thanks,
Georg


___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread Florian Haas
On 2011-10-14 17:39, ge...@riseup.net wrote:
>> crm ra info ocf:heartbeat:Route
>>
>> man ocf_heartbeat_Route
>>
>> Feel free to also tell the author of that howto. :)
> 
> Actually I'm using this command already for the extern ip to connect to my
> provider. I had for days the problem with the internal ip for the phones,
> these registering on the virtual ip, but getting aswer from the main-ip
> associated to the nic.

Oh. Well then:

crm ra info ocf:heartbeat:IPsrcaddr

:)

Florian

-- 
Need help with Pacemaker?
http://www.hastexo.com/now

___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread Trevor Hemsley

ge...@riseup.net wrote:

crm ra info ocf:heartbeat:Route

man ocf_heartbeat_Route

Feel free to also tell the author of that howto. :)



Actually I'm using this command already for the extern ip to connect to my
provider. I had for days the problem with the internal ip for the phones,
these registering on the virtual ip, but getting aswer from the main-ip
associated to the nic.
  


Maybe what you want is ocf:heartbeat:IPsrcaddr

--
Voiceflex
www.voiceflex.com



___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread georg
> crm ra info ocf:heartbeat:Route
>
> man ocf_heartbeat_Route
>
> Feel free to also tell the author of that howto. :)

Actually I'm using this command already for the extern ip to connect to my
provider. I had for days the problem with the internal ip for the phones,
these registering on the virtual ip, but getting aswer from the main-ip
associated to the nic.

So I'm using now a script like

ip route change 192.168.1.0/24 src 192.168.1.126 dev eth0 which is started
trough lsb:fixrouting. Maybe I made a mistake with ocf:heartbeat:Route,
and thats why it wasn't working.

And I thought about writing a new complete tutorial for this, but I have
to find time for this.

So far,
Georg :)


___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread Florian Haas
On 2011-10-14 17:10, ge...@riseup.net wrote:
> Hello all,
> 
> I've setup two systems using corosync/pacemaker/drbd to use with asterisk.
> Everything is running really great so far.
> 
> However, I still have to questions:
> 
> - I would like to execute two ip route change commands after two virtual
> ips were started, before asterisk is started. 

crm ra info ocf:heartbeat:Route

or

man ocf_heartbeat_Route

Feel free to also tell the author of that howto. :)

Florian


-- 
Need help with Pacemaker?
http://www.hastexo.com/now

___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] using ip route change with pacemaker

2011-10-14 Thread georg
Hello,

Both problems solved, using [1].

Thanks... :)
Georg

P.S.: And sorry for these useless mails...

[1] http://wiki.debian.org/LSBInitScripts


___
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker