Re: Fail lover between two virtual_server instances?
Quentin Armitage <[email protected]> Mon, 14 May 2018 08:04:28 +0100
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Organization | The Armitage family |
| Message-ID | <[email protected]> |
--===============8354343503492874413== Content-Type: multipart/alternative; boundary="=-92tqdd7V1Dyf3RMxGFWu" --=-92tqdd7V1Dyf3RMxGFWu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Nick, I think you might be able to use a TCP_CHECK to check if the primary NFS server is not available, which would then disable the real server. Probably your best option is to then use a sorry server to bring in the secondary NFS server. Quentin Armitage On Sun, 2018-05-13 at 21:24 +0100, nick tailor wrote: > Hello, > I have setup keepalived with glusterfs coupled with nfs > My clients can mount the nfs glusterfs storage through the VIP to one > real server. However, if i block port 2049 as a test to see if the > mount will move over to the sorry_server. The clients are no longer > able to see the gluster storage via nfs. > I was thinking maybe setting up two virtual_sever instances and each > VIP have 1 realserver. In the event the primary pool goes down. Is > there a way to have keepalived to failover to the secondary > virtual_server instance and pool? > Or if anyone knows if its even possible to have glusterfs(nfs) work > in this fashion. My goal is to have redundancy for NFS through a > VIP. > Cheers-- > Nick Tailor > http://www.nicktailor.com > > > > > > ------------------------------------------------------------------- > ----------- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot__________ > _____________________________________ > Keepalived-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/keepalived-devel --=-92tqdd7V1Dyf3RMxGFWu Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body bgcolor=3D"#ffffff" text=3D"#2e3436" link=3D"#2a76= c6" vlink=3D"#2e3436"><div>Nick,</div><div><br></div><div>I think you might= be able to use a TCP_CHECK to check if the primary NFS server is not avail= able, which would then disable the real server. Probably your best option i= s to then use a sorry server to bring in the secondary NFS server. </div><d= iv><br></div><div>Quentin Armitage</div><div><br></div><div>On Sun, 2018-05= -13 at 21:24 +0100, nick tailor wrote:</div><blockquote type=3D"cite" style= =3D"margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div= dir=3D"ltr"><div>Hello,</div><div><br>I have setup keepalived with gluster= fs coupled with nfs</div><div><br></div><div>My clients can mount the nfs g= lusterfs storage through the VIP to one real server. However, if i block po= rt 2049 as a test to see if the mount will move over to the sorry_server. T= he clients are no longer able to see the gluster storage via nfs.</div><div= ><br></div><div>I was thinking maybe setting up two virtual_sever instances= and each VIP have 1 realserver. In the event the primary pool goes down. I= s there a way to have keepalived to failover to the secondary virtual_serve= r instance and pool?</div><div><br></div><div>Or if anyone knows if its eve= n possible to have glusterfs(nfs) work in this fashion. My goal is to have = redundancy for NFS through a VIP. </div><div><br></div><div>Cheers</di= v>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature">= <div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div><font color=3D= "#76b900" face=3D"Arial, sans-serif" size=3D"3">Nick Tailor</font><br></div= ><div><font face=3D"Arial, sans-serif" color=3D"#414b56" style=3D"font-size= :12px"><a href=3D"http://www.nicktailor.com" target=3D"_blank">http://www.n= icktailor.com</a></font></div><div><br></div><div><p><br></p></div></div></= div></div></div></div> </div> <pre>----------------------------------------------------------------------= -------- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot">htt= p://sdm.link/slashdot</a></pre><pre>_______________________________________= ________ Keepalived-devel mailing list <a href=3D"mailto:[email protected]">Keepalived-devel@= lists.sourceforge.net</a> <a href=3D"https://lists.sourceforge.net/lists/listinfo/keepalived-devel">h= ttps://lists.sourceforge.net/lists/listinfo/keepalived-devel</a> </pre></blockquote></body></html> --=-92tqdd7V1Dyf3RMxGFWu-- --===============8354343503492874413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============8354343503492874413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Keepalived-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/keepalived-devel --===============8354343503492874413==--