Xymon Mailing List Archive search

setting up multiple servers

8 messages in this thread

list Stephane Caminade · Fri, 21 Jul 2006 10:40:06 +0200 ·
Hi,

I m a bit unclear as to the syntax used for the BBDISPLAYS variable.
If I want to set up 2 servers, for redundancy, I set BBDISP to 0.0.0.0, but what is used for separating the servers in BBDISPLAYS ? Just a blank, a comma, ... ?

And on the replicated servers, I guess that I have to modify both server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those same settings ?

Thanks,
Stephane


-- 
Stephane Caminade
Administrateur Systèmes et Réseaux
                                   \  <user-b664a384004a@xymon.invalid>
Institut d'Astrophysique Spatiale  /  tel : (XX) (X) XX XX XX XX
Batiment 121, Universite Paris XI  \  fax : (XX) (X) XX XX XX XX
F-91405 ORSAY Cedex                /  www : http://www.ias.u-psud.fr/

list Henrik Størner · Fri, 21 Jul 2006 11:37:00 +0200 ·
quoted from Stephane Caminade
On Fri, Jul 21, 2006 at 10:40:06AM +0200, Stephane Caminade wrote:
I m a bit unclear as to the syntax used for the BBDISPLAYS variable.
If I want to set up 2 servers, for redundancy, I set BBDISP to 0.0.0.0, but what is used for separating the servers in BBDISPLAYS ? Just a blank, a comma, ... ?
A blank.
And on the replicated servers, I guess that I have to modify both server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those same settings ?
Correct. Especially, make sure your clients are configured to send data
to both servers.


Regards,
Henrik
list Ralph Mitchell · Thu, 3 Aug 2006 01:53:27 -0500 ·
quoted from Henrik Størner
On 7/21/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Fri, Jul 21, 2006 at 10:40:06AM +0200, Stephane Caminade wrote:
And on the replicated servers, I guess that I have to modify both
server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those
same settings ?
Correct. Especially, make sure your clients are configured to send data
to both servers.
So, it's up to the clients to send to multiple servers, and the
servers wouldn't forward anything except whatever reports they
generate about themselves??

I *may* have a problem with that in 4.2-RC-20060712.  I have some Big
Brother scripts that are running in a Big Brother environment,
reporting to two Hobbit servers - 4.1.2p1 & 4.2-RC.  Almost all of the
results get through to the RC server, but some don't.

I'm still trying to refine it to a simple test case, but at the moment
it looks like a report with "status+LIFETIME" isn't displayed on the
RC server.  If I remove the +LIFETIME value, the report *is*
displayed.  I figure I must have something wrong, because there have
to be other people using that feature... :)

Ralph Mitchell
list Galen Johnson · Thu, 03 Aug 2006 09:45:53 -0400 ·
quoted from Henrik Størner
Henrik Stoerner wrote:
On Fri, Jul 21, 2006 at 10:40:06AM +0200, Stephane Caminade wrote:
 
I m a bit unclear as to the syntax used for the BBDISPLAYS variable.
If I want to set up 2 servers, for redundancy, I set BBDISP to 0.0.0.0, but what is used for separating the servers in BBDISPLAYS ? Just a blank, a comma, ... ?
   
A blank.

 
And on the replicated servers, I guess that I have to modify both server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those same settings ?
   
Correct. Especially, make sure your clients are configured to send data
to both servers.


Regards,
Henrik

 
This may be a tangent to this.  I haven't looked at the DMZ functionality but it seems to me that one could use that to have multiple servers set up....just have them all grab a copy of the client output (set the client up as a DMZ client regardless).   Would this work?

=G=
list Buchan Milne · Thu, 3 Aug 2006 16:33:01 +0200 ·
quoted from Galen Johnson
On Thursday 03 August 2006 15:45, Galen Johnson wrote:
Henrik Stoerner wrote:
On Fri, Jul 21, 2006 at 10:40:06AM +0200, Stephane Caminade wrote:
I m a bit unclear as to the syntax used for the BBDISPLAYS variable.
If I want to set up 2 servers, for redundancy, I set BBDISP to 0.0.0.0,
but what is used for separating the servers in BBDISPLAYS ? Just a
blank, a comma, ... ?
A blank.
And on the replicated servers, I guess that I have to modify both
server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those
same settings ?
Correct. Especially, make sure your clients are configured to send data
to both servers.


Regards,
Henrik
This may be a tangent to this.  I haven't looked at the DMZ
functionality but it seems to me that one could use that to have
multiple servers set up....just have them all grab a copy of the client
output (set the client up as a DMZ client regardless).   Would this work?
Why not have bbproxy set up on both sides, with hobbitd running on a different 
port, and have each bbproxy forward to both hobbitd's?

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list J. Bobby Lopez · Mon, 3 Nov 2008 16:50:09 -0500 ·
I guess with Hobbit 4.2.0, there is no 'etc/hobbitclient.cfg', as it
has been replaced by 'hobbit-clients.cfg' ?


When I configure my two Hobbit servers as discussed below, I see that
there is only one server which lists the 'hobbitd' service.  The other
one ishows ' - '.


Is this normal?  Is the general idea that if both Hobbit servers are
in-sync, that 'hobbitd' on a per-system basis is irrelevant, and so it
only shows one?

(screenshot attached)
quoted from Stephane Caminade


On Fri, Jul 21, 2006 at 10:40:06AM +0200, Stephane Caminade wrote:
I m a bit unclear as to the syntax used for the BBDISPLAYS variable.
If I want to set up 2 servers, for redundancy, I set BBDISP to 0.0.0.0,
but what is used for separating the servers in BBDISPLAYS ? Just a
blank, a comma, ... ?
A blank.

And on the replicated servers, I guess that I have to modify both
server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those
same settings ?
Correct. Especially, make sure your clients are configured to send data

to both servers.


Regards,
Henrik


-- 

J. Bobby Lopez
Web: http://jbldata.com/
Twitter: http://www.twitter.com/jbobbylopez
Attachments (1)
list J. Bobby Lopez · Fri, 7 Nov 2008 13:38:29 -0500 ·
Just re-sending this to engage anyone who may have missed it.   Has no one
come across this?
quoted from J. Bobby Lopez


On Mon, Nov 3, 2008 at 4:50 PM, J. Bobby Lopez <user-e8564da46726@xymon.invalid>wrote:
I guess with Hobbit 4.2.0, there is no 'etc/hobbitclient.cfg', as it has been replaced by 'hobbit-clients.cfg' ?


When I configure my two Hobbit servers as discussed below, I see that there is only one server which lists the 'hobbitd' service.  The other one ishows ' - '.


Is this normal?  Is the general idea that if both Hobbit servers are in-sync, that 'hobbitd' on a per-system basis is irrelevant, and so it only shows one?

(screenshot attached)


On Fri, Jul 21, 2006 at 10:40:06AM +0200, Stephane Caminade wrote:
I m a bit unclear as to the syntax used for the BBDISPLAYS variable.
If I want to set up 2 servers, for redundancy, I set BBDISP to 0.0.0.0,
but what is used for separating the servers in BBDISPLAYS ? Just a
blank, a comma, ... ?
A blank.

And on the replicated servers, I guess that I have to modify both
server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those
same settings ?
Correct. Especially, make sure your clients are configured to send data

to both servers.


Regards,
Henrik


--
J. Bobby Lopez
Web: http://jbldata.com/
Twitter: http://www.twitter.com/jbobbylopez

-- 
J. Bobby Lopez
Web: http://jbldata.com/
Twitter: http://www.twitter.com/jbobbylopez
list Sebastian Auriol · Thu, 13 Nov 2008 18:41:13 -0000 ·
I have the same issue.  Maybe whatever it is (client?) that sends the data
for bbgen and bbtest (and bbproxy if available) to the other hobbit server
misses out the hobbitd data for some reason?
 
SebA
quoted from J. Bobby Lopez


From: J. Bobby Lopez [mailto:user-e8564da46726@xymon.invalid] 
Sent: 07 November 2008 18:38
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] setting up multiple servers


Just re-sending this to engage anyone who may have missed it.   Has no one
come across this?


On Mon, Nov 3, 2008 at 4:50 PM, J. Bobby Lopez <user-e8564da46726@xymon.invalid>
quoted from J. Bobby Lopez
wrote:


I guess with Hobbit 4.2.0, there is no 'etc/hobbitclient.cfg', as it has
been replaced by 'hobbit-clients.cfg' ?


When I configure my two Hobbit servers as discussed below, I see that there
is only one server which lists the 'hobbitd' service.  The other one ishows
' - '.


Is this normal?  Is the general idea that if both Hobbit servers are
in-sync, that 'hobbitd' on a per-system basis is irrelevant, and so it only
shows one?

(screenshot attached)


On Fri, Jul 21, 2006 at 10:40:06AM +0200, Stephane Caminade wrote:
I m a bit unclear as to the syntax used for the BBDISPLAYS variable.
If I want to set up 2 servers, for redundancy, I set BBDISP to 0.0.0.0
<http://0.0.0.0/>; , 
quoted from J. Bobby Lopez

but what is used for separating the servers in BBDISPLAYS ? Just a 
blank, a comma, ... ?
A blank.

And on the replicated servers, I guess that I have to modify both 
server/etc/hobbitserver.cfg and client/etc/hobbitclient.cfg with those 
same settings ?
Correct. Especially, make sure your clients are configured to send data

to both servers.


Regards,
Henrik


-- 
J. Bobby Lopez
Web: http://jbldata.com/
Twitter: http://www.twitter.com/jbobbylopez


-- 
J. Bobby Lopez
Web: http://jbldata.com/
Twitter: http://www.twitter.com/jbobbylopez