Skip to main content
Question

How to migrate Central and pollers to Oracle Linux but not the DBMS server

  • 29 May 2024
  • 4 replies
  • 30 views

Hello,

 

we are preparing to migrate from CentOS7 to OL8 following this procedure:

https://docs.centreon.com/docs/22.10/migrate/migrate-from-el-to-el/#step-1-install-the-new-server

 

The thing is that our database is already running on OL8 so I don’t want to migrate that. As I understand, in that linked procedure during the installation of Centreon I need to provide the database server, but I don’t know how that would affect the DB while stil having to perform the migration.

 

Is there any documentation for this case?

 

I was thinking that maybe I can clone the DBMS server and use that one as a temporal DB and after completing the installation and migration connect the new OL8 Central to the actual DBMS server.

 

Is that a good way of doing it?

 

Regards,

Enrique

4 replies

Userlevel 6
Badge +20

You can migrate your central server and keep your distant DBMS.

Userlevel 1
Badge +6

Hello Laurent

Ok, but what are the steps to follow?

The migration document say to prepare the new hosts and then install Centreon on them, which at some point requeres to connect to a DBMS.

Since my DBMS is already migrated to OL8, I asume it is not correct to connecto to it at that point.

So, should I connect to a dummy empty DBMS server (or even a non existing one), procede with the migration and as the last step connect to my DBMS?

 

Regards,

Enrique

Userlevel 6
Badge +20

On your DBMS you need to create a “centreon” account for the IP of the new central server.

Then install the Centreon central server

Then import dump.

Userlevel 1
Badge +6

Ok, thanks Laurent.

I’ll give it a try in our pre production environment.

Regards.

Reply