Thank you Honza, I will give that a go and report back.
Kind regards,
Steven Iveson
> From: users-requ...@clusterlabs.org
> Subject: Users Digest, Vol 12, Issue 11
> To: users@clusterlabs.org
> Date: Fri, 8 Jan 2016 08:54:17 +0100
>
> Send Users mailing list submissions to
> users@clusterlabs.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://clusterlabs.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-requ...@clusterlabs.org
>
> You can reach the person managing the list at
> users-ow...@clusterlabs.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>1. Re: Passing and binding to virtual IP in my service
> (Andrei Borzenkov)
>2. Re: Passing and binding to virtual IP in my service
> (Andrei Borzenkov)
>3. Multiple Corosync Instance on a Single Host (Steven Iveson)
>4. Re: Passing and binding to virtual IP in my service
> (Dejan Muhamedagic)
>5. Pacemaker 1.1.14 - Release Candidate 5 (Ken Gaillot)
>6. Parallel adding of resources (Arjun Pandey)
>7. Re: Multiple Corosync Instance on a Single Host (Jan Friesse)
>8. Help required for N+1 redundancy setup (Rishin Gangadharan)
>
>
> --
>
> Message: 1
> Date: Thu, 7 Jan 2016 14:14:17 +0300
> From: Andrei Borzenkov
> To: Cluster Labs - All topics related to open-source clustering
> welcomed, Nikhil Utane
>
> Subject: Re: [ClusterLabs] Passing and binding to virtual IP in my
> service
> Message-ID: <568e4889.7000...@gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> 07.01.2016 13:09, Kristoffer Gr?nlund ?:
> > Nikhil Utane writes:
> >
> >> Of course, one way is to pass the same virtual IP configuration to my
> >> resource agent:
> >> " >> value="10.206.1.253"/>"
> >> But this will be duplicate information and error-prone.
> >> There ought to be a better way. :)
> >>
> >
> > Hi,
> >
> > You can use attribute references to avoid having to configure the same
> > value twice. It is documented here for the crmsh syntax:
> >
> > http://crmsh.github.io/man/#topics_Features_AttributeReferences
> >
>
>
> Is it crmsh-script only or it is also stored in CIB? How would it look
> like in CIB then?
>
>
>
> --
>
> Message: 2
> Date: Thu, 7 Jan 2016 14:19:35 +0300
> From: Andrei Borzenkov
> To: Cluster Labs - All topics related to open-source clustering
> welcomed
> Subject: Re: [ClusterLabs] Passing and binding to virtual IP in my
> service
> Message-ID: <568e49c7.7090...@gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> 07.01.2016 13:42, 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) but I think
> > you'll have to implement that if you want your program to source
> > connection from a particular virtual IP.
> >
> > As far as I know, the way this is usually done these days is by creating
> > routes. Something like:
> >
> > ip route change 192.168.14.0/24 dev eth0 src 192.168.14.4
> >
> >
> >> Out of curiosity, where is this virtual IP stored in the kernel?
> >> I expected to see a secondary interface ( for e.g. eth0:1) with the vip
> >> but it isn't there.
> >
> > Well, in the old days we used to have a "virtual interface" (eth0:1,
> > eth0:2 etc) but the proper modern way is to use "virtual addresses"
> > within a single interface. The caveat is that you need to use the ip
> > command to show these virtual addresses (ifconfig is not aware of them):
>
> You can assign label to address which will then be visible in ifconfig; i.e.
>
> ip addr add 1.2.3.4/24 label eth0:foo dev eth0
>
> will actually make new address appear in ifconfig output as "eth0:foo"
> interface.
>
> >
> > ip addr show
> >
> > You'll see there the notion of a primary IP and secondaries. The system
> > will initiate connection from