Skip to main content
Question

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

  • May 29, 2024
  • 4 replies
  • 38 views

Forum|alt.badge.img+7

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

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • May 30, 2024

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


Forum|alt.badge.img+7
  • Author
  • Steward ***
  • June 3, 2024

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


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • June 5, 2024

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.


Forum|alt.badge.img+7
  • Author
  • Steward ***
  • June 10, 2024

Ok, thanks Laurent.

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

Regards.