Migration of a platform with the Poller Display¶
Migrating your Centreon central server¶
If the module centreon-poller-display-central-1.6.x is installed:
Go to the Administration > Extensions > Modules menu and uninstall the centreon-poller-display-central.
Remove the associated package:
# yum remove centreon-poller-display-central
If you use the Centreon EMS modules, you must update these repositories. Be sure to contact Centreon support and request new licenses.
Migrating a server from the Centreon Poller Display to Remote Server¶
Go to the Administration > Extensions > Modules menu and uninstall the Centreon Poller Display module.
If you installed the module using an RPM package, remove it with the following command:
# yum remove centreon-poller-display
If you use Centreon EMS modules, you must update the repositories. Be sure to contact your Centreon support and request new licenses.
Go to Administration > Extensions > Modules menu and install the centreon-license-manager module.
Execute the following command:
# /usr/share/centreon/bin/centreon -u admin -p centreon -a enableRemote -o CentreonRemoteServer -v @IP_CENTREON_CENTRAL
Replace @IP_CENTREON_CENTRAL by the IP of the Centreon server seen by the Poller.
This command will enable Remote Server mode:
Starting Centreon Remote enable process: Limiting Menu Access...Success Limiting Actions...Done Notifying Master...Success Set 'remote' instance type...Done Centreon Remote enabling finished.
Add rights to centreon database user to use LOAD DATA INFILE command:
# mysql -h <database_server_address> -u root -p MariaDB [(none)]> GRANT FILE on *.* to 'centreon'@'<remote_server_ip>';
Exchange the SSH key. If you do not have a private SSH key for the Centreon user on the central server:
# su - centreon $ ssh-keygen -t rsa
Copy this key to the new server:
# su - centreon $ ssh-copy-id -i .ssh/id_rsa.pub centreon@IP_POLLER
- On the Centreon Central server, edit all pollers and attach them to the Remote Server using the selection list.
Remember to generate the configuration for your Remote Server.
A Centreon Remote Server is self-administered. Thus, the configuration of the LDAP directory, users and ACLs are specific to this server and must be configured through the Administration menu.