[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit following cluster nodes (or can I include a file in localclient.cfg)
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit following cluster nodes (or can I include a file in localclient.cfg)
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Tue, 2 Feb 2010 10:05:32 +0100
- References: <1037115664b9a6b80665f063a71cfc2d (at) imap>
- User-agent: KMail/1.12.2 (Linux/2.6.31-17-generic; KDE/4.3.2; i686; ; )
On Tuesday 02 February 2010, L.M.J wrote:
> Hi,
>
> I have a passive/active cluster on 2 Linux servers :
For AIX, I created a script that runs on each cluster node. Each node has a
normal hobbit client running. I also have an entry in bb-hosts for each
clustered application.
I have a config file where I link the ip address to the Xymon name I used in bb-
hosts (or you can use an other method in stead of the ip address to figure out
wich applications are running a cluster node).
Each cluster nodes runs a external script that uses the previous config file to
figure out wich applications are running. For each application, it generates a
file with the same syntax as the normal hobbit client does and it sends the
content with the correct hobbit client name to the xymon server.
You can see the syntax if you click on 'Client data available' on a disk
check.
So basically, I have a hobbit client running per application on the cluster
that behaves exactly like a normal client.
I even configured external tests per application in the config file.
Hope this helps.
Stef