Re: Cluster
Colm Buckley <[email protected]> Fri, 30 Jul 2021 12:36:35 +0100
| Newsgroups | gmane.user-groups.linux.ilug.general |
|---|---|
| Message-ID | <CAKECruMUOJzwWa97VKoKMUsg=+PzaCBy0jvzAGyEcb-2E9oiFA@mail.gmail.com> |
--0000000000005f58d205c855a267 Content-Type: text/plain; charset="UTF-8" Clusterlabs' Pacemaker - https://wiki.clusterlabs.org/wiki/Pacemaker - almost definitely can do what you want; it includes a bunch of very mature primitives for things like master elections, reliable resource takeover, etc. Colm On Fri, 30 Jul 2021 at 10:57, Harry Duncan <[email protected]> wrote: > Hi Guys, > > I have a linux server running centos, and I want warm standby machines for > failover if there is a problem. > > The server runs an application and has data. What differentiates a live > server from warm backup is cron jobs. > > I want to write a script to take up and down the cron jobs, no biggie. > What I'm looking for is a way to communicate state with other servers in > the cluster where when taking the master role, the server can contact other > known servers in the cluster and ask are you master, and drop the task of > promotion with an error if a master answers. > > To achieve this, I need a way of communicating state. Is there anything in > the FOSS world that you guys have experience of that fits this bill off the > shelf or do I need to roll my own? > > TIA, > > Harry. > > -- > Irish Linux Users Group > --- > You received this message because you are subscribed to the Google Groups > "ILUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/a/linux.ie/d/msgid/ilug/e9bfc75b-68ef-4f29-b4a6-78d13f119c4cn%40linux.ie > <https://groups.google.com/a/linux.ie/d/msgid/ilug/e9bfc75b-68ef-4f29-b4a6-78d13f119c4cn%40linux.ie?utm_medium=email&utm_source=footer> > . > -- Colm Buckley | [email protected] -- Irish Linux Users Group --- You received this message because you are subscribed to the Google Groups "ILUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/a/linux.ie/d/msgid/ilug/CAKECruMUOJzwWa97VKoKMUsg%3D%2BPzaCBy0jvzAGyEcb-2E9oiFA%40mail.gmail.com. --0000000000005f58d205c855a267 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Clusterlabs' Pacemaker -=C2=A0<a href=3D"https://wiki.= clusterlabs.org/wiki/Pacemaker">https://wiki.clusterlabs.org/wiki/Pacemaker= </a> - almost definitely can do what you want; it includes a bunch of very = mature primitives for things like master elections, reliable resource takeo= ver, etc.<div><br></div><div><blockquote style=3D"margin:0 0 0 40px;border:= none;padding:0px"><div>Colm</div><div><br></div></blockquote></div></div><b= r><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, = 30 Jul 2021 at 10:57, Harry Duncan <<a href=3D"mailto:usr.src.linux@gmai= l.com">[email protected]</a>> wrote:<br></div><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex">Hi Guys,<div><br></div><div>I have a linux se= rver running centos, and I want warm standby machines for failover if there= is a problem.</div><div><br></div><div>The server runs an application and = has data. What differentiates a live server from warm backup is cron jobs.<= /div><div><br></div><div>I want to write a script to take up and down the c= ron jobs, no biggie. What I'm looking for is a way to communicate state= with other servers in the cluster where when taking the master role, the s= erver can contact other known servers in the cluster and ask are you master= , and drop the task of promotion with an error if a master answers.</div><d= iv><br></div><div>To achieve this, I need a way of communicating state. Is = there anything in the FOSS world that you guys have experience of that fits= this bill off the shelf or do I need to roll my own?</div><div><br></div><= div>TIA,</div><div><br></div><div>Harry.</div> <p></p> -- <br> Irish Linux Users Group<br> --- <br> You received this message because you are subscribed to the Google Groups &= quot;ILUG" group.<br> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]" target=3D"_blank">ilug= [email protected]</a>.<br> To view this discussion on the web, visit <a href=3D"https://groups.google.= com/a/linux.ie/d/msgid/ilug/e9bfc75b-68ef-4f29-b4a6-78d13f119c4cn%40linux.i= e?utm_medium=3Demail&utm_source=3Dfooter" target=3D"_blank">https://gro= ups.google.com/a/linux.ie/d/msgid/ilug/e9bfc75b-68ef-4f29-b4a6-78d13f119c4c= n%40linux.ie</a>.<br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><span sty= le=3D"color:rgb(153,153,153);font-size:x-small">Colm Buckley |=C2=A0</span>= <a href=3D"mailto:[email protected]" style=3D"font-size:x-small" target=3D"_b= lank">[email protected]</a><div><br></div></div></div></div></div> <p></p> -- <br /> Irish Linux Users Group<br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;ILUG" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">ilug+unsubscribe@linux= .ie</a>.<br /> To view this discussion on the web, visit <a href=3D"https://groups.google.= com/a/linux.ie/d/msgid/ilug/CAKECruMUOJzwWa97VKoKMUsg%3D%2BPzaCBy0jvzAGyEcb= -2E9oiFA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://g= roups.google.com/a/linux.ie/d/msgid/ilug/CAKECruMUOJzwWa97VKoKMUsg%3D%2BPza= CBy0jvzAGyEcb-2E9oiFA%40mail.gmail.com</a>.<br /> --0000000000005f58d205c855a267--