[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] big brother replacement
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] big brother replacement
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Fri, 2 Nov 2007 16:34:55 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=wXmoM9G/9eDPiI3q1mrHGA64h8MLz/ckv16XL3Y6qfM=; b=PyVl7xHB8VuuFIIHV0ryp2c5DV9c6+A2S89xds//bUhyqqe5fqLsE4JeEuzZjjfUeBIrMiDBxERuSBNcpnaZ4mHMKnzi8Qji6ab643JlDv3gS53E63/UTyacDyAVFtivXJjhOgLmNLSN1IyrLEgxG/on3y1GZMrZEzNx05SDXOE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=tvDyPMUbYAgGBpp626uUVlJZHIdJT5AmKmHii5jDx6kO5U6z8Y/ubiFrsbw3cKKnc/mMmj0OC7SMxbzP5Aou6lniwcy7peiVW6Da8F33oJnJiVBLzG5QaYWzJGVsn21QI42zCvaSO8xYBKMITtDzq+cf1jjS/Q91BUjwIspyGXQ=
- References: <472A511C.8050604 (at) tmsusa.com> <20071102143720.GA20671 (at) hswn.dk> <961092e10711020744g4de97be0wa9e606aafa9fb741 (at) mail.gmail.com> <472B5C27.2030308 (at) tmsusa.com> <6C2B32F89382AF42875672B6F5BEB682047D06CA (at) MERCMBX07.na.sas.com> <472B6CE2.20903 (at) tmsusa.com> <6C2B32F89382AF42875672B6F5BEB682047D0772 (at) MERCMBX07.na.sas.com>
On 11/2/07, Galen Johnson <Galen.Johnson (at) sas.com> wrote:
>
> Just offer $1000000 binary...man, I'm on geek overload...
::shakes head::
-----Original Message-----
> From: Sloan [mailto:joe (at) tmsusa.com]
> Sent: Friday, November 02, 2007 2:31 PM
> To: hobbit (at) hswn.dk
> Subject: Re: [hobbit] big brother replacement
>
> Galen Johnson wrote:
> > Aw...don't be cheap...go ahead and kick in the other $12...
> >
>
> OK you win - $40 hex, as soon as I get paid.
>
> Joe
> > -----Original Message-----
> > From: Sloan [mailto:joe (at) tmsusa.com]
> > Sent: Friday, November 02, 2007 1:20 PM
> > To: hobbit (at) hswn.dk
> > Subject: Re: [hobbit] big brother replacement
> >
> > Yes, but keep in mind that's $64 octal.
> >
> > Joe
> >
> > Josh Luthman wrote:
> >
> >> So I take it that Joe has to Paypal Henrik $64 now?
> >>
> >> Please let me, and everyone else of course, know how the failover
> >> script works on Hobbit. I'd be very interested in knowing the result
> >> to this!
> >>
> >> Thanks to all three of you!
> >>
> >> On 11/2/07, *Henrik Stoerner* <henrik (at) hswn.dk
> <mailto:henrik (at) hswn.dk>>
> >> wrote:
> >>
> >> Hi Joe,
> >>
> >> On Thu, Nov 01, 2007 at 03:20:12PM -0700, Sloan wrote:
> >> > So, the $64 question: Is there anything in hobbit, or on the
> >> horizon,
> >> > which will allow hobbit to serve as a drop-in replacement for
> >>
> > bb,
> >
> >> > including the failover capability?
> >>
> >> The BB "failover" script does two things: It makes the network
> >>
> > tests
> >
> >> run on the failover server if the primary BBNET server cannot be
> >> ping'ed; and it enables alerts being sent from the failover
> server
> >> if there is no connection from the failover server to the primary
> >> BBPAGER server.
> >>
> >>
> >> The network-test failover is fairly simple to do. I've attached
> >>
> > two
> >
> >> scripts here, both of which must run on the
> >>
> > backup/standby/failover
> >
> >> server:
> >>
> >> 1) failover.sh - goes in ~hobbit/server/ext/
> >> Add a section to hobbitlaunch.cfg with
> >>
> >> [failovercheck]
> >> ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
> >> NEEDS hobbitd
> >> CMD $BBHOME/ext/failover.sh 10.0.0.1 <http://10.0.0.1>
> >> hobbitnet.mydom.com <http://hobbitnet.mydom.com>
> >>
> >> "10.0.0.1 <http://10.0.0.1>" is the IP of your primary Hobbit
> >> server,
> >> "hobbitnet.mydom.com <http://hobbitnet.mydom.com>" is the
> >> hostname (in the bb-hosts file) of the
> >> primary network test machine.
> >>
> >> What this does is that it queries the primary Hobbit server
> for
> >> how
> >> long ago the network tests were updated. If more than 7
> minutes
> >>
> > ago
> >
> >> it deems the primary network test node to be DOWN, and flags
> >> this via
> >> the file $BBTMP/primarynetDOWN. If the network test update was
> >> less
> >> than 7 minutes ago, it removes the file.
> >>
> >> This is then used by the other script, which replaces the CMD
> >> in the
> >> "[bbnet]" section in hobbitlaunch.cfg.
> >>
> >> 2) failovernet.sh - goes in ~hobbit/server/ext/
> >> When this runs to do the normal network tests, it will check
> >> for the
> >> presence of the $BBTMP/primarynetDOWN file. If this file
> >>
> > exists, it
> >
> >> picks up the IP of the primary Hobbit server from the file,
> and
> >> modifies the settings to report data to both the normal
> (local)
> >> Hobbit server, and to the primary server. If the file does not
> >> exist,
> >> it will just run the network tests the normal way.
> >> So to run this, modify the [bbnet] section in hobbitlaunch.cfg
> >>
> > and
> >
> >> change the CMD setting to "$BBHOME/server/ext/failovernet.sh"
> >>
> >>
> >> The alert failover is different, because Hobbit doesn't have a
> >> separate
> >> BBPAGER server - alerts are sent from the same host that handles
> >>
> > the
> >
> >> Hobbit data collection and webpages. A solution to this has been
> >> implemented for the next release, where the alerting module can
> be
> >> distributed onto multiple servers, but only one of them will send
> >> alerts
> >> at any given time.
> >>
> >>
> >> Regards,
> >> Henrik
> >>
> >>
> >> To unsubscribe from the hobbit list, send an e-mail to
> >> hobbit-unsubscribe (at) hswn.dk <mailto:hobbit-unsubscribe (at) hswn.dk>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> Josh Luthman
> >> Office: 937-552-2340
> >> Direct: 937-552-2343
> >> 1100 Wayne St
> >> Suite 1337
> >> Troy, OH 45373
> >>
> >> Those who don't understand UNIX are condemned to reinvent it, poorly.
> >> --- Henry Spencer
> >>
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>