On 13.09.2013 08:16, kioto mitsubisi wrote:
> Hi,
>
> I want to migrate my Icinga installation and my data from Debian to 
> RHEL, but I could not find the documention that describes the process.

i guess that's a rather rare use case. i have various installations in 
my dev area, but never migrated data around.

> How can I migrate my installation (configuration, data stored in 
> mysql, data stored in rrd's, etc) without losing data?

obviously you should have backups. if not, check the docs/wiki. 
https://wiki.icinga.org/display/howtos/Backup

regarding mysql - mysqldump and mysql shell client should likely be your 
friends. depending in your setup, you'll find the according databases in 
it to dump and restore.

regarding rrds - those are bound to the binary architecture. so if 
you're changing it during migration, your rrds will remain broken. 
alternate methods for migration should be found on the rrdtool 
documentation itsself. i guess, you're using pnp4nagios - likely you 
want to migrate its configuration then too.

oh, and don't copy binary files around. that won't be fun on the new system.

depending on the installation method of icinga/addons, paths may change 
too. probably you should note that before starting it. package specific 
locations are documented on the wiki (at least those known from official 
sources).

other than that - good luck.

ps: if you've sucessfully migrated, you might want to add a new howto to 
the wiki for other community members looking for the same question. 
create an icinga user if not already existing 
(https://wiki.icinga.org/display/community/Create+an+Issue#CreateanIssue-CreateUser)
 
and start in https://wiki.icinga.org/display/howtos/Home

>
> Thanks.
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

mail:     michael.friedr...@gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmi...@jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to