<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/TR/REC-html40" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="MSHTML 6.00.6000.17093" name="GENERATOR">
<!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><style>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
P.MsoAcetate {
        FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
LI.MsoAcetate {
        FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
DIV.MsoAcetate {
        FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
SPAN.BalloonTextChar {
        FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char"
}
SPAN.EmailStyle19 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle21 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.WordSection1 {
        page: WordSection1
}
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" vlink="purple" link="blue">
<div dir="ltr" align="left"><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2">The hobbit-alerts.cfg entry for the secondary:</font></span></div>
<div dir="ltr" align="left"><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>HOST=<PRIMARYSERVER> COLOR=red SERVICE=bbd,conn<br>
        SCRIPT /usr/local/scripts/hbtSecondaryTakeOver <EMAILADDRESS></strong></font></span></div>
<div dir="ltr" align="left"><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>        MAIL <EMAILADDRESS></strong></font></span></div>
<div dir="ltr" align="left"><font face="Arial"><font size="2"><font color="#0000ff"><span class="012335920-09022011"></span></font></font></font> </div>
<div dir="ltr" align="left"><font face="Arial"><font size="2"><font color="#0000ff"><span class="012335920-09022011"></span></font></font></font> </div>
<div dir="ltr" align="left"><font face="Arial"><font size="2"><font color="#0000ff"><span class="012335920-09022011">The hbtSecondaryTakeOver script:</span></font></font></font></div>
<div dir="ltr" align="left"><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>echo "Starting at `date`, $BBHOSTNAME . $BBSVCNAME" >/tmp/blah<br>
MESSAGE="Hobbit: $BBHOSTNAME's $BBSVCNAME service is $BBCOLORLEVEL. Secondary taking over"<br>
export HOST=`/usr/bin/hostname`<br>
export USER=hobbit<br>
echo "mailing: $RCPT \"$MESSAGE\"" >> /tmp/blah<br>
echo  $MESSAGE | /usr/bin/mail $RCPT <br>
HETC="/home/hobbit/server/etc"</strong></font></span></div>
<div> </div>
<div dir="ltr" align="left"><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>cp ${HETC}/hobbit-alerts.cfg.primary ${HETC}/hobbit-alerts.cfg<br>
</strong></font></span></div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2">The hobbit-alerts.cfg entry to release (would go in hobbit-alerts.cfg.primary)</font></span></div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>HOST=iadhbtp1 COLOR=red SERVICE=bbd,conn RECOVERED<br>
        SCRIPT /usr/local/scripts/hbtSecondaryRelease <EMAILADDRESS></strong></font></span></div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>        MAIL <EMAILADDRESS></div>
</strong></font></span>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong></strong></font></span> </div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2">And the release script:</font></span></div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>echo "Starting at `date`, $BBHOSTNAME . $BBSVCNAME" >/tmp/blah<br>
MESSAGE="Hobbit: $BBHOSTNAME's $BBSVCNAME service is $BBCOLORLEVEL. Secondary turning down"<br>
export USER=hobbit<br>
echo "mailing: $RCPT \"$MESSAGE\"" >> /tmp/blah<br>
echo $MESSAGE | /usr/bin/mail $RCPT <br>
HETC="/home/hobbit/server/etc"</strong></font></span></div>
<div><strong></strong> </div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong>cp ${HETC}/hobbit-alerts.cfg.secondary ${HETC}/hobbit-alerts.cfg<br>
</strong></font></span></div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"><strong></strong></font></span> </div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2">You'll need to adjust things like, machine names, file/directory locations/name, and email addresses.</font></span></div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span class="012335920-09022011"><font face="Arial" color="#0000ff" size="2">Also, You don't want the Release script to run on the primary, so either don't have it there or have some logic in the script that stops execution if it's not the right machine
 (like if [ "$HOSTNAME" != "<secondaryserver>"] ; then exit fi)</div>
</font></span><!-- Converted from text/plain format -->
<p><font size="2">Paul Root<br>
Lead Internet Systems Eng<br>
Qwest Network Services<br>
<br>
</font></p>
<div> </div>
<br>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> Raymond, David [mailto:David.Raymond@ca.ebarrette.com]
<br>
<b>Sent:</b> Wednesday, February 09, 2011 2:46 PM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> RE: [xymon] RE: xymon replication or clustering<br>
</font><br>
</div>
<div></div>
<div class="WordSection1">
<p class="MsoNormal"><span style="COLOR: #1f497d">Are you able to send me the how to for this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">My skill is a little limited and that could help me.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">thx<o:p></o:p></span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Arial','sans-serif'">David Raymond
</span><span style="COLOR: #1f497d"><o:p></o:p></span></p>
<div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</span></b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Root, Paul [mailto:Paul.Root@qwest.com]
<br>
<b>Sent:</b> Wednesday, February 09, 2011 14:49<br>
<b>To:</b> 'xymon@xymon.com'<br>
<b>Subject:</b> [xymon] RE: xymon replication or clustering<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">I have a secondary server watching the primary. It has 1 think to do in hobbit-alerts.cfg, watch the primary. If the secondary looses contact with the primary
 it will run a script.</span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">That script is to copy in the primaries hobbit-alerts.cfg file in place. It is put on the secondary automatically with rdist.
</span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Also, in the primaries hobbit-alerts.cfg file, there is a watch that looks for a recovery, at which time, another script is run to reverse the process.</span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Pretty simple</span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></span></p>
<p style="MARGIN-BOTTOM: 12pt"><span style="FONT-SIZE: 10pt">Paul Root<br>
Lead Internet Systems Eng<br>
Qwest Network Services</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></span></p>
</div>
<blockquote style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0in">
<p class="MsoNormal"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p> </o:p></span></p>
<div class="MsoNormal" style="TEXT-ALIGN: center" align="center"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">
<hr align="center" width="100%" size="2">
</span></div>
<p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"><b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</span></b><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Raymond, David [mailto:David.Raymond@ca.ebarrette.com]
<br>
<b>Sent:</b> Wednesday, February 09, 2011 1:04 PM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [xymon] xymon replication or clustering</span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></span></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have one xymon in our Head Office, and other one in branch office.<o:p></o:p></p>
<p class="MsoNormal">In my Head office, we want to have 2 xymon to replicate result, if one failed, the other take place.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">An employe have start something, but he left month ago. I see I the hobbit he did, this line in bb-hosts :<o:p></o:p></p>
<p class="MsoNormal">                summary  Hobbit-PRD.All 172.30.1.1 <a href="http://hobbit/hobbit">
http://hobbit/hobbit</a><o:p></o:p></p>
<p class="MsoNormal">                group servers<o:p></o:p></p>
<p class="MsoNormal">                127.0.0.1              Hobbit-PRD        # bbd
<a href="http://Hobbit-PRD/">http://Hobbit-PRD/</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So the big question is, it is possible to do this ? Can we have to xymon than are in “cluster”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And if we want to get our branch office?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">thx<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">David Raymond
</span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p> </o:p></span></p>
<div class="MsoNormal" style="TEXT-ALIGN: center" align="center"><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">
<hr align="center" width="100%" size="2">
</span></div>
<p class="MsoNormal"><span style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: 'Arial','sans-serif'">This communication is the property of Qwest and may contain confidential or<br>
privileged information. Unauthorized use of this communication is strictly<br>
prohibited and may be unlawful. If you have received this communication<br>
in error, please immediately notify the sender by reply e-mail and destroy<br>
all copies of the communication and any attachments.</span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></span></p>
</div>
</blockquote>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This communication is the property of Qwest and may contain confidential or<br>
privileged information. Unauthorized use of this communication is strictly<br>
prohibited and may be unlawful. If you have received this communication<br>
in error, please immediately notify the sender by reply e-mail and destroy<br>
all copies of the communication and any attachments.<br>
</font>
</body>
</html>