[omd-users] Migrating OMD

Sven Nierlein sven at nierlein.de
Thu Jan 18 21:03:59 CET 2018


Hi,

you could have a look at: https://labs.consol.de/omd/backup_and_restore.html#platform-migration-and-os-upgrades%22
Not sure if this is true for the raw edition as well, but starting with OMD 2.40 you can just do cross-plattform
backups/restores without manually fiddeling config files. OMD will run an "omd update" internally when restoring
from a different release.

Cheers,
 Sven


On 18.01.18 18:01, Dennis Sweben wrote:
> Hi Andreas
> 
> Thank you soo many times!!
> I got a test site up and running after loads of changes.
> The profiles init script apache config modules etc
> 
> Going to redo it and write it all down and share it here as well, might be usefull for someone else :) and/or maybe someone would like to make a little bash for it
> 
> Kind regards,
> Dennis Sweben
> 
> Sent from my iPhone
> 
> On 17 Jan 2018, at 22:27, Andreas Döhler <andreas.doehler at gmail.com <mailto:andreas.doehler at gmail.com>> wrote:
> 
>> Hi Dennis,
>>
>> with such a migration you must do some manual steps. I had done this week one migration from SLES11 to actual Ubuntu and then the same "problems".
>> First edit the init file for the site apache - linke file for 85-apache. It is only one line with the executable for apache.
>> The next step are some changes to the apache config itself.
>> Easiest way for this is to create a test site on your new system and take this created apache config and compare it with your restored site.
>> The test site should have the same version as your migrated site.
>> There you will find many entries for the loading of apache modules. These entries must be changed to the new ones (copy and paste from the test site).
>>
>> If you now try to start the apache and get another error look at the mentioned config file and compare again with the test site ones.
>>
>> Best regards
>> Andreas
>>
>> Dennis Sweben <d_sweben at hotmail.com <mailto:d_sweben at hotmail.com>> schrieb am Mi., 17. Jan. 2018 um 13:29 Uhr:
>>
>>     Hi Robert,
>>
>>     Thanks for your reply!
>>     I ran it and these are the results:
>>     sudo omd diff MySite
>>      * Changed content var/icinga
>>      * Changed content var/nagios/nagios.log
>>      * Changed content var/check_mk/wato/auth/auth.php
>>      ! Changed permissions var/check_mk/wato/auth/auth.php
>>      * Changed content local/lib/icinga
>>      * Changed content etc/auth.secret
>>      * Changed content etc/htpasswd
>>      ! Changed permissions etc/htpasswd
>>      * Changed content etc/apache/php-wrapper
>>      * Changed content etc/apache/apache.conf
>>      * Changed content etc/apache/conf.d/02_fcgid.conf
>>      * Changed content etc/mk-livestatus/xinetd.conf
>>      * Changed content etc/init.d/apache
>>
>>     I’m not sure what the permissions should be, but I don’t really think it will solve the error “Starting dedicated Apache for site MySite…/omd/sites/MySite/etc/rc.d/85-apache: line 88: /usr/sbin/httpd: No such file or directory”
>>
>>     Thanks again!
>>
>>     Kind regards,
>>     Dennis
>>
>>     On Wednesday1/17/18, 12:14, "omd-users on behalf of Robert Sander" <omd-users-bounces at lists.mathias-kettner.de <mailto:omd-users-bounces at lists.mathias-kettner.de> on behalf of r.sander at heinlein-support.de <mailto:r.sander at heinlein-support.de>> wrote:
>>
>>         On 17.01.2018 09:21, Dennis Sweben wrote:
>>
>>         > Any advice? I can’t really afford a clean site since the old one is
>>         > holding data from more than a year which I need to preserve.
>>
>>         You should run "omd diff" in your site and compare the listed files.
>>
>>         Regards
>>         --
>>         Robert Sander
>>         Heinlein Support GmbH
>>         Schwedter Str. 8/9b, 10119 Berlin
>>
>>         https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.heinlein-support.de&data=02%7C01%7C%7C3fd6452c018647a7c2b108d55d9b6c43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636517844475938146&sdata=qdjSklFGwA9n3QJCibBXFevcsWdnC4vl8QPzDYGrsL4%3D&reserved=0
>>
>>         Tel: 030 / 405051-43 <tel:030%2040505143>
>>         Fax: 030 / 405051-19 <tel:030%2040505119>
>>
>>         Zwangsangaben lt. §35a GmbHG:
>>         HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
>>         Geschäftsführer: Peer Heinlein -- Sitz: Berlin
>>
>>
>>
>>     _______________________________________________
>>     omd-users mailing list
>>     omd-users at lists.mathias-kettner.de <mailto:omd-users at lists.mathias-kettner.de>
>>     http://lists.mathias-kettner.de/mailman/listinfo/omd-users <https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.mathias-kettner.de%2Fmailman%2Flistinfo%2Fomd-users&data=02%7C01%7C%7Ca222afa60a1c4215d6a308d55df12dbe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636518212788364821&sdata=bIzMqRLvVA6HAzHqopThQlzjD%2BDXFRDSumSKxPK%2BN3s%3D&reserved=0>
>>
> 
> 
> _______________________________________________
> omd-users mailing list
> omd-users at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/omd-users
> 



More information about the omd-users mailing list