On 11/2/07, <b class="gmail_sendername">Galen Johnson</b> <<a href="mailto:Galen.Johnson@sas.com">Galen.Johnson@sas.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just offer $1000000 binary...man, I'm on geek overload...</blockquote><div><br>::shakes head:: </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----Original Message-----<br>From: Sloan [mailto:<a href="mailto:joe@tmsusa.com">joe@tmsusa.com</a>]<br>Sent: Friday, November 02, 2007 2:31 PM<br>To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>Subject: Re: [hobbit] big brother replacement
<br><br>Galen Johnson wrote:<br>> Aw...don't be cheap...go ahead and kick in the other $12...<br>><br><br>OK you win - $40 hex, as soon as I get paid.<br><br>Joe<br>> -----Original Message-----<br>> From: Sloan [mailto:
<a href="mailto:joe@tmsusa.com">joe@tmsusa.com</a>]<br>> Sent: Friday, November 02, 2007 1:20 PM<br>> To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>> Subject: Re: [hobbit] big brother replacement<br>>
<br>> Yes, but keep in mind that's $64 octal.<br>><br>> Joe<br>><br>> Josh Luthman wrote:<br>><br>>> So I take it that Joe has to Paypal Henrik $64 now?<br>>><br>>> Please let me, and everyone else of course, know how the failover
<br>>> script works on Hobbit. I'd be very interested in knowing the result<br>>> to this!<br>>><br>>> Thanks to all three of you!<br>>><br>>> On 11/2/07, *Henrik Stoerner* <<a href="mailto:henrik@hswn.dk">
henrik@hswn.dk</a><br><mailto:<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>>><br>>> wrote:<br>>><br>>> Hi Joe,<br>>><br>>> On Thu, Nov 01, 2007 at 03:20:12PM -0700, Sloan wrote:
<br>>> > So, the $64 question: Is there anything in hobbit, or on the<br>>> horizon,<br>>> > which will allow hobbit to serve as a drop-in replacement for<br>>><br>> bb,<br>>
<br>>> > including the failover capability?<br>>><br>>> The BB "failover" script does two things: It makes the network<br>>><br>> tests<br>><br>>> run on the failover server if the primary BBNET server cannot be
<br>>> ping'ed; and it enables alerts being sent from the failover<br>server<br>>> if there is no connection from the failover server to the primary<br>>> BBPAGER server.<br>>><br>>>
<br>>> The network-test failover is fairly simple to do. I've attached<br>>><br>> two<br>><br>>> scripts here, both of which must run on the<br>>><br>> backup/standby/failover<br>
><br>>> server:<br>>><br>>> 1) failover.sh - goes in ~hobbit/server/ext/<br>>> Add a section to hobbitlaunch.cfg with<br>>><br>>> [failovercheck]<br>>> ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
<br>>> NEEDS hobbitd<br>>> CMD $BBHOME/ext/failover.sh <a href="http://10.0.0.1">10.0.0.1</a> <<a href="http://10.0.0.1">http://10.0.0.1</a>><br>>> <a href="http://hobbitnet.mydom.com">
hobbitnet.mydom.com</a> <<a href="http://hobbitnet.mydom.com">http://hobbitnet.mydom.com</a>><br>>><br>>> "<a href="http://10.0.0.1">10.0.0.1</a> <<a href="http://10.0.0.1">http://10.0.0.1
</a>>" is the IP of your primary Hobbit<br>>> server,<br>>> "<a href="http://hobbitnet.mydom.com">hobbitnet.mydom.com</a> <<a href="http://hobbitnet.mydom.com">http://hobbitnet.mydom.com
</a>>" is the<br>>> hostname (in the bb-hosts file) of the<br>>> primary network test machine.<br>>><br>>> What this does is that it queries the primary Hobbit server<br>for
<br>>> how<br>>> long ago the network tests were updated. If more than 7<br>minutes<br>>><br>> ago<br>><br>>> it deems the primary network test node to be DOWN, and flags<br>
>> this via<br>>> the file $BBTMP/primarynetDOWN. If the network test update was<br>>> less<br>>> than 7 minutes ago, it removes the file.<br>>><br>>> This is then used by the other script, which replaces the CMD
<br>>> in the<br>>> "[bbnet]" section in hobbitlaunch.cfg.<br>>><br>>> 2) failovernet.sh - goes in ~hobbit/server/ext/<br>>> When this runs to do the normal network tests, it will check
<br>>> for the<br>>> presence of the $BBTMP/primarynetDOWN file. If this file<br>>><br>> exists, it<br>><br>>> picks up the IP of the primary Hobbit server from the file,<br>
and<br>>> modifies the settings to report data to both the normal<br>(local)<br>>> Hobbit server, and to the primary server. If the file does not<br>>> exist,<br>>> it will just run the network tests the normal way.
<br>>> So to run this, modify the [bbnet] section in hobbitlaunch.cfg<br>>><br>> and<br>><br>>> change the CMD setting to "$BBHOME/server/ext/failovernet.sh"<br>>><br>
>><br>>> The alert failover is different, because Hobbit doesn't have a<br>>> separate<br>>> BBPAGER server - alerts are sent from the same host that handles<br>>><br>> the
<br>><br>>> Hobbit data collection and webpages. A solution to this has been<br>>> implemented for the next release, where the alerting module can<br>be<br>>> distributed onto multiple servers, but only one of them will send
<br>>> alerts<br>>> at any given time.<br>>><br>>><br>>> Regards,<br>>> Henrik<br>>><br>>><br>>> To unsubscribe from the hobbit list, send an e-mail to
<br>>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a> <mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>><br>>><br>>><br>>><br>
>><br>>><br>>> --<br>>> Josh Luthman<br>>> Office: 937-552-2340<br>>> Direct: 937-552-2343<br>>> 1100 Wayne St<br>>> Suite 1337<br>>> Troy, OH 45373<br>>><br>>> Those who don't understand UNIX are condemned to reinvent it, poorly.
<br>>> --- Henry Spencer<br>>><br>><br>><br>> To unsubscribe from the hobbit list, send an e-mail to<br>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>><br>><br>
><br>> To unsubscribe from the hobbit list, send an e-mail to<br>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>><br>><br>><br><br><br>To unsubscribe from the hobbit list, send an e-mail to
<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk
</a><br><br><br></blockquote></div><br>