Never even thought about that - that would be a far superior way of doing
things!
I can't imagine why it wouldn't work, it's a whole new suite. I'm certain
you can do it with Vhosts and adding an IP address is simple enough.
I'm snowed in so I may be out of my mind myself. Ohio sucks.
On 3/7/08, Hobbit User in Richmond <user-24d6f8323faa@xymon.invalid> wrote:
On Fri, March 7, 2008 12:51, Stef Coene wrote:
Hi,
Is is possible to run 2 hobbit servers on the same server ? I need a
hobbit server for our SLA servers and an other hobbit server for the
rest. And I want to run in on the same server. I copied the server
directory and changed all the needed files. Each hobbit server is
listening on an other port.
However, the client information is ending up on1 hobbit server. I think
this has to with the way the hobbit daemons are communicating with each
other.
Stef, you could do it with different ports, I think, but 1984 is so
ingrained that you may have problems getting client and server straight in
both environments. IIRC, you're a pretty capable Linux admin. The way
I'd go at is would be with subinterfaces on different ip addresses
(eth0:1, eth0:2), then you just have to point each client at its correct
server address. You'll also need to set up each ip as an Apache virtual
host in httpd.conf and probably need to dig into the hobbit server
configuration to get the two hobbit instances to put their respective rrd
files in different places.
Off the top of my head on a rainy Friday afternoon. I may be full of it
again.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer