<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div></div><div>depends on if the app is UNIX or Windows based.</div><div><br></div><div>If UNIX based, I use CARP and ssh-tunnel</div><div><br></div><div>I haven't set up anything for Windows in this setting yet.</div><div> </div>--<br><br><div>Jim Sloan</div><br><br><div>Just remember, today is the day you thought tomorrow was going to be yesterday.<div><br></div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Jerald Sheets <questy@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> hobbit@hswn.dk<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, December 30, 2009 11:34:12
 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [hobbit] Interesting question<br></font><br>
I'm about to undertake writing a series of monitors for a custom app we have here in-house.<br><br>This app lives over a networked filesystem (think cvfs or gpfs) that is managed by two master nodes, a master and a failover.  As a result, only one node at a time can answer the query I want to give it.<br>
<br>My conundrum:<br><br>If I make the query form my Xymon server on node1 and it fails over to node2, node1 becomes completely unable to answer the question, and that check would go "red".  Same for node2 back to node1.  <br>
<br>If I run the check locally on each system, while one is working, the other will go "blue".<br><br>Have any of you ever written monitors for servers that carry a service in an active/passive configuration, and been able to keep the individual servers from going into some strange state as a result of failovers and such?<br>
<br>How did you handle it?<br><br><br><br clear="all">---<br>Jerald M. Sheets jr.<br>
</div></div></div><div style="position:fixed"></div>


<!-- cg25.c2.mail.re1.yahoo.com compressed/chunked Sun Dec 27 09:10:13 PST 2009 -->
</div><br>

      </body></html>