Re: Replacing ldirectord/heartbeat with LVS/piranha/pulse
Edward Croft <[email protected]> Mon, 9 Mar 2009 14:16:39 -0400
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
--===============1477901440== Content-Type: multipart/related; boundary=001636427377c9f1e90464b3a20c --001636427377c9f1e90464b3a20c Content-Type: multipart/alternative; boundary=001636427377c9f1e70464b3a20b --001636427377c9f1e70464b3a20b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit If you need to use scripting with FOS then you may need the patched version that Sebastion Bonnet put out. 2009/3/9 Mike Kemelmakher <[email protected]> > Hi Sean, > You can try to configure FOS ( fail-over service) mode which is supported > by piranha as well. > > Regards, > -Mike > > 2009/3/9 Sean Drill <[email protected]> > >> Hi there >> >> I have been having some issues implementing a new load balancing system, >> and was hoping someone could over some advice. >> >> Our current configuration is configured using ldirectord. The active node >> hosts all the virtual servers. Each virtual server will have an active real >> server, and a backup real server. All the traffic will be directed to the >> active real server, unless that server becomes unreachable, at which point >> all traffic will be directed to the backup server. In other words, a >> traditional real/fallback system. >> >> I am however only able to get piranha/lvs to do load sharing. In this case >> as long as both servers are set to UP, then traffic will be balanced between >> all servers (determined by load balancing scheme and weighting.) What I am >> attempting to do is create a virtual server in LVS, which has two active >> REAL servers, however direct traffic only to one of them, unless otherwise >> directed or if the active member fail, then direct traffic to the backup.I am basically trying to replicate the ldirectord/heartbeat system with >> piranha/lvs/pulse. >> >> Any directions which can be offered would be great appreciated. >> Regards, >> Sean >> >> Regards, >> Sean >> ____________________________________ >> >> Sean Drill >> *Network Administrator - Network Services* >> [image: Westnet] <http://www.westnet.com.au/> >> *Westnet - Voted Number 1 ISP in Customer Satisfaction six years running* >> >> *Phone:* (08) 9218 2600 *Fax:* (08) 9218 2666 >> Westnet Home <http://www.westnet.com.au/> | MyWestnet<http://www.mywestnet.com.au/> >> | Contact Us <http://www.westnet.com.au/contact/> >> >> >> >> _______________________________________________ >> Piranha-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/piranha-list >> > > > _______________________________________________ > Piranha-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/piranha-list > -- Life's most urgent question is: what are you doing for others? -Martin Luther King Jr --001636427377c9f1e70464b3a20b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If you need to use scripting with FOS then you may need the patched version= that Sebastion Bonnet put out. <br><br><br><div class=3D"gmail_quote">2009= /3/9 Mike Kemelmakher <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= om">[email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir=3D"ltr">= Hi Sean,=A0<div><br></div><div>You can try to configure FOS =A0( fail-over = service) =A0mode which is supported by piranha as well.=A0</div> <div><br></div><div>Regards,=A0</div><div>-Mike=A0<br><div><br><div class= =3D"gmail_quote"> 2009/3/9 Sean Drill <span dir=3D"ltr"><<a href=3D"mailto:sean.drill@staf= f.westnet.com.au" target=3D"_blank">[email protected]</a>>= </span><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px soli= d rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div></div><div class=3D"h5"> <div> <div><font face=3D"Verdana" size=3D"2"> <div> <p><span><font face=3D"Verdana" size=3D"2">Hi=20 there</font></span></p> <p><span><font face=3D"Verdana" size=3D"2">I have been having=20 some issues implementing a new load balancing system, and was hoping someon= e=20 could over some advice.</font></span></p> <p><font face=3D"Verdana"><font size=3D"2">Our current configuration is con= figured using=20 ldirectord. The active node hosts all the virtual servers. Each virtual ser= ver=20 will have an active real server, and a backup real server. All the traffic = will=20 be directed to the active real server, unless that server becomes unreachab= le,=20 at which point all traffic will be directed to the backup server.<span> In = other words, a traditional real/fallback=20 system.</span></font></font></p> <p><font face=3D"Verdana"><font size=3D"2">I am however only able to get pi= ranha/lvs to=20 do load sharing. In this case as long as both servers are set to UP, then= =20 traffic will be balanced between all servers (determined by load balancing= =20 scheme and weighting.) What I am attempting to do is create a virtual serve= r in=20 LVS, which has two active REAL servers, however direct traffic only to one = of=20 them, unless otherwise directed or if the active member fail, then direct= =20 traffic to the backup.<span> I am basically trying to=20 replicate the ldirectord/heartbeat system with=20 piranha/lvs/pulse.</span></font></font></p> <p><font face=3D"Verdana"><font size=3D"2"><span>Any directions=20 which can be offered would be great appreciated.</span></font></font></p></= div> <div align=3D"left"><font face=3D"Verdana," size=3D"2">Regards,<br>Sean<br>= </font></div></font></div> <div><font face=3D"Verdana" size=3D"2"></font>=A0</div> <div align=3D"left"><font face=3D"Verdana," size=3D"2">Regards,<br>Sean<br>= <font color=3D"#cccccc">____________________________________</font><br><br>= Sean=A0Drill<br><i>Network=20 Administrator - Network Services</i><br><a href=3D"http://www.westnet.com.a= u/" target=3D"_blank"><img alt=3D"Westnet" src=3D"cid:187393305@09032009-11= B4" align=3D"baseline" border=3D"0" hspace=3D"0" vspace=3D"8"></a><br><b><f= ont size=3D"1">Westnet - Voted Number 1 ISP in Customer=20 Satisfaction=A0six years running</font></b><br><br><font size=3D"1"><b>Phon= e:</b> (08) 9218=20 2600=A0=A0=A0=A0<b>Fax:</b> (08) 9218 2666<br><font face=3D"Verdana," size= =3D"2"><font size=3D"1"><a href=3D"http://www.westnet.com.au/" target=3D"_b= lank">Westnet Home</a>=A0 | =A0<a href=3D"http://www.mywestnet.com.au/" tar= get=3D"_blank">MyWestnet</a>=A0 | =A0<a href=3D"http://www.westnet.com.au/c= ontact/" target=3D"_blank">Contact=20 Us</a></font></font><br><br></font></font></div> <div>=A0</div></div> <br></div></div>_______________________________________________<br> Piranha-list mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Piranha-list@r= edhat.com</a><br> <a href=3D"https://www.redhat.com/mailman/listinfo/piranha-list" target=3D"= _blank">https://www.redhat.com/mailman/listinfo/piranha-list</a><br></block= quote></div><br></div></div></div> <br>_______________________________________________<br> Piranha-list mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://www.redhat.com/mailman/listinfo/piranha-list" target=3D"= _blank">https://www.redhat.com/mailman/listinfo/piranha-list</a><br></block= quote></div><br><br clear=3D"all"><br>-- <br><br>Life's most urgent que= stion is: what are you doing for others?<br> <br>-Martin Luther King Jr<br> --001636427377c9f1e70464b3a20b-- --001636427377c9f1e90464b3a20c Content-Type: image/gif; name="att3d006.gif" Content-Transfer-Encoding: base64 Content-ID: <187393305@09032009-11B4> X-Attachment-Id: 0.0.1 R0lGODlhwAA0ANUAACRSlRZHjwk8iICawvf5+1V4reLp8TNenUNrpPz9/mqJt5Opy/L1+dTd6qO2 02i6LwGsxuzw9rDA2crV5rrI3ukwjcHO4dnl7+47GeypAbzHCgKO1PaHEPHRdPjpvQSghPv89erk lo7MZPRpaSux1W1ZprDj6/q6sm7H3fnz1rDclELA143X6f3q3/alzfzT4M7qvf728fSJuPP56un1 4PmvXsrTNz22ofzt8/eVLPK4LM/H4piJwAA1hAA2hP///yH5BAAAAAAALAAAAADAADQAAAb/wJ9w SCwaj8ikcslsOp/QqHCyKAACvmwvKwggFJKIdEwum8/otGFxyLrf8GxAYUnb7/i8fmgYBLZxW4CA bj09CBR7iouMjAkLWG8CAj5dBwUKAwMKCJSEWwUXjaOkpU8NCD6EAAsXBg0XYkYGDp1acgtPBA1N BgxKDbKmw4wSf4ZZoVANCpFuCr/AAwcB0Ue0BQIOSQZdCgnE4XiPtz4BuWMGzYQIBEqRPXVIqVsK SQ7JpuDiQwn7ZQ0AqBJwYIAwMn3a+EDw70iqLAOQdEMGwN0RBVu2NZowoIA1YgkmKCjQ8EkMDzGE MGgw4UJJMwQmWIhGwIQJi0MGqPJxAImE/0I+eBkhIFCAqEUEbAH4aMoAgi0AXjapwSFHi1IXSGzY gKKIhZ0CDFwEiq7IhCw9GTGg5KOiuAZuDkhdEoOD3RweRhnYupVEEaJuNBIBPAjBkQX1GjGI5DZc A09ypdS1W/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4EQB+IGf5XYicOQAKx3AGyRWZpIB3rmiajYCAnQAHDFb/L2Be4W dWUQBAA7 --001636427377c9f1e90464b3a20c-- --===============1477901440== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Piranha-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/piranha-list --===============1477901440==--