Re: [ClusterLabs] Passing and binding to virtual IP in my service

2016-01-08 Thread Solutions Solutions
hi Nikhil, can you send me the N+1 redundancy configuration file,which you posted earlier. On Thu, Jan 7, 2016 at 2:58 PM, Nikhil Utane wrote: > Hi, > > I have my cluster up and running just fine. I have a dummy service that > sends UDP packets out to another host.

Re: [ClusterLabs] Passing and binding to virtual IP in my service

2016-01-08 Thread Nikhil Utane
What I had posted earlier was an approach to do N+1 Redundancy for my use-case (which could be different from yours). Attaching the same and the cib xml to this thread (Don't know if attachments are allowed.) There are some follow-up questions that I am posting on my other thread. Please check

[ClusterLabs] Passing and binding to virtual IP in my service

2016-01-07 Thread Nikhil Utane
Hi, I have my cluster up and running just fine. I have a dummy service that sends UDP packets out to another host. Resource Group: MyGroup ClusterIP (ocf::heartbeat:IPaddr2): Started node1 UDPSend(ocf::nikhil:UDPSend): Started node1 If I ping to the virtual IP from

Re: [ClusterLabs] Passing and binding to virtual IP in my service

2016-01-07 Thread Jorge Fábregas
On 01/07/2016 05:28 AM, Nikhil Utane wrote: > So my question is, how to pass the virtual IP to my UDPSend OCF agent so > that it can then bind to the vip? This will ensure that all messages > initiated by my UDPSend goes from vip. Hi, I don't know how ping -I does it (what system call it uses)

Re: [ClusterLabs] Passing and binding to virtual IP in my service

2016-01-07 Thread Nikhil Utane
Aah. Got it. Forgot about the ip addr command. Cool. So now I have the option to bind as well as use route command. Kristoffer answered about using attribute references so I should be all set. Thanks Guys. On Thu, Jan 7, 2016 at 4:12 PM, Jorge Fábregas wrote: > On