Xymon Mailing List Archive search

migrate server

list Peter Kache
Wed, 14 Nov 2012 08:52:39 +0100
Message-Id: <user-ba7360630eb6@xymon.invalid>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 14.11.2012 07:59, schrieb Henrik Størner:
On 14-11-2012 04:04, Novosielski, Ryan wrote:
I did this recently but also changed the hostname and upgraded
from 4.2.3 to 4.3.10 at the same time and had trouble with the
graphs. Any obvious gotchas to look out for there?
RRD-files are architecture-specific in format, so if you go from
e.g. a 32-bit system to 64-bit you will need to convert all of your
rrd-files.

If your Xymon server changes IP, then you'll need to reconfigure
all of the clients reporting to the server. Plus any firewall
changes that might incur.

Other that that, doing a new install on the new server and then
copying all of the data- and configuration-files across should work
fine.


Regards, Henrik

we just migrated from Hobbit 4.2.0 running on Debian Lenny to Xymon
4.3.10 on a new machine with Debian Squeeze and had to dump and
restore a lot of rrd databases since there is also a Cacti
installation on the same server.

There was one gotcha that took us some time: the language variables on
the two machines were set to different values and our restored rrds
got mangled with wrong min/max values. To avoid this you can simply
set the LANG Variable when dumping and restoring. We used the
following commands:

on the old machine:
cd /var/lib/hobbit/rrd && for i in `find ./ -type f -name "*.rrd"`;do
LANG=C rrdtool dump "$i" "$i.xml";done

transfer the xml files to the new machine

on the new machine:
cd /var/lib/xymon/rrd && for i in `find ./ -type f -name "*.rrd.xml"`;
do LANG=C rrdtool restore "$i" ${i%.xml};done

Regards,
Peter


- -- 
- ------
Besuchen Sie uns auf unseren nächsten Veranstaltungen:
- - European SharePoint Conference, 04. - 07.02.2013 Kopenhagen, Stand X
- ------

Dr. Peter Kache
Systemintegration

getit GmbH
Emil-Figge-Straße 76-80
44227 Dortmund

Tel: +XX.XXX.XXXX.XXX
Fax: +XX.XXX.XXXX.XXX
http://www.getit.de

Amtsgericht Dortmund, HRB-Nr. 13836

Geschäftsführung:
Dr. Thomas Krämerkämper (Vorsitzender)
Christoph Hecker

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJQo03HAAoJEIcsA0knPrMkHbIIAI1bAPAiOg+ZebI2EUZUzWD+
3UIK0RAbqdMClE7bhA9UyD3iSZAXHLcd6CpzUNBMYyuWYhC0vPE1Y9nyeX01CQ7i
NpaetRQEfS7P8LQRZ6Xr9ogqW9YxWVQKPHu4XD7aac3cllwQW9JXHmiGZchziphD
jCSvr7RAF0K2QXgy/BuOkVWSoOAO2V62i5QUz6d878XbLkYKBbPYHL1CcUFwE+uF
ZGC9ZJJ++xOJd+02BmSO+uuMrU69/DFs7KbQKAwt5+ChN2us3slNAD8HkXpUYzJo
+YIGs386atgKak5DKqls9wH+3XMyJVmpA/cyJbGooHqVQhOrB+tkK/CBu5+cyA8=
=UU8k
-----END PGP SIGNATURE-----