Xymon Mailing List Archive search

hobbit -> xymon migration

4 messages in this thread

list Stef Coene · Fri, 12 Dec 2008 10:13:13 +0100 ·
Hi,

I have more then 20 hobbit servers and a few 100 hobbit AIX/Linux clients to migrate from hobbit to xymon.  I'm not going to do this by hand as you can imagine.

Anyone interested in documenting the migration process and developing a migration script ?


Stef
list Martin Flemming · Fri, 12 Dec 2008 10:32:21 +0100 (CET) ·
Hi, Stef !

.. interested to use it of course :-)

.. for doing the documenting and scripting my time and 
specially my  code-expertise are not enough :-(

... besides i will migrate to xymon later and use now for the new releases
the old setup with hobbit :-(

cheers,
 	martin
quoted from Stef Coene

On Fri, 12 Dec 2008, Stef Coene wrote:
Hi,

I have more then 20 hobbit servers and a few 100 hobbit AIX/Linux clients to
migrate from hobbit to xymon.  I'm not going to do this by hand as you can
imagine.

Anyone interested in documenting the migration process and developing a
migration script ?


Stef

list Stef Coene · Fri, 12 Dec 2008 10:55:40 +0100 ·
quoted from Martin Flemming
On Friday 12 December 2008, Martin Flemming wrote:
Hi, Stef !

.. interested to use it of course :-)

.. for doing the documenting and scripting my time and
specially my  code-expertise are not enough :-(

... besides i will migrate to xymon later and use now for the new releases
the old setup with hobbit :-(
Actually, me too.
I will wait for a 4.3 release to migrate all the installations.
I'm going to migrate some internal and test installations from hobbit to xymon 
and document it so I will be ready for the 4.3 for a major upgrade and 
rename.


Stef
list Stef Coene · Thu, 22 Jan 2009 14:14:45 +0100 ·
Hi,

I just migrated some of our Hobbit servers to Xymon.

Some background information:
- compiled from source
- all files are checked in in subversion
- all files are installed in /home/users/hobbit/server
- the data directory is /home/users/hobbit/data
- the client is installed in an other directory and is not migrated (it is integrated with other management tools)
- ubuntu 8.10

Steps done to upgrade from Hobbit to Xymon:
- stop hobbit server as user hobbit

- change the account hobbit:
   - change username: usermod -l xymon hobbit
   - change home dir: usermod -d /home/users/xymon xymon

- mv /home/users/hobbit /home/users/xymon

- compile xymon from source and install all files in /home/users/xymon/server
   -> all config files are migrated from hobbit to xymon except 1 file but I don't remember wich one :(  I think it was hobbitserver.cfg and that 3 variables for the urls still point to /hobbit.

- Start xymon server as user xymon

These are the basic steps.  The most important step is the rename of the directory so that if you do a 'make install', alle the config files are migrated to Xymon.

I did this for 1 server.  The other servers are migrated with subversion by switching to a new repository with 'svn switch'.

I also added this to hobbit-apache.cfg so all old hobbit url's are redirected to the xymon equivalent:

# Redirect van hobbit naar xymon url
RewriteEngine on
RewriteRule ^/hobbit/(.*)        /xymon/$1        [R]
RewriteRule ^/hobbit-cgi/(.*)    /xymon-cgi/$1    [R]
RewriteRule ^/hobbit-seccgi/(.*) /xymon-seccgi/$1 [R]


Stef