Migrating Nagios Database to Azure ( MyISAM to INNODB )
Posted: Wed Sep 26, 2018 3:55 am
Hi all
I have a query regarding migrating the nagios database to a separate MYSQL server in azure . Below are the details
- Server A: Nagios XI on linux redhat 7 ( including its default MARIADB database )
MY aim : to migrate this database on AZURE MYSQL server B . NAGIOS frontend will remain on Server A
I followed the approach mentioned here : https://assets.nagios.com/downloads/nag ... Server.pdf
The only issue that I noticed is that : NAgios XI uses 3 database ( nagiossql , nagiosxi , nagios ) . 2 of them ( nagiosxi and nagiossql are having INNODB as engine ) and nagios is having MyISAM DB engine .
MY AZURE SQL only supports INNODB , therefore while importing the nagios database instance I got the error . The remaining 2 database were imported successfully .
When I changed the ENGINE parameter on the SQL dump file for nagios to INNODB , it was also imported successfully . Although on HIGH level I see that everything is running . But I am not sure if this is the correct way . So my question is is it ok it I run nagios db instance as INNODB rather then MyISAM ??? will it have impact in any way ??
I have a query regarding migrating the nagios database to a separate MYSQL server in azure . Below are the details
- Server A: Nagios XI on linux redhat 7 ( including its default MARIADB database )
MY aim : to migrate this database on AZURE MYSQL server B . NAGIOS frontend will remain on Server A
I followed the approach mentioned here : https://assets.nagios.com/downloads/nag ... Server.pdf
The only issue that I noticed is that : NAgios XI uses 3 database ( nagiossql , nagiosxi , nagios ) . 2 of them ( nagiosxi and nagiossql are having INNODB as engine ) and nagios is having MyISAM DB engine .
MY AZURE SQL only supports INNODB , therefore while importing the nagios database instance I got the error . The remaining 2 database were imported successfully .
When I changed the ENGINE parameter on the SQL dump file for nagios to INNODB , it was also imported successfully . Although on HIGH level I see that everything is running . But I am not sure if this is the correct way . So my question is is it ok it I run nagios db instance as INNODB rather then MyISAM ??? will it have impact in any way ??