Describe your incident: We are planning on migrating to a new OS because CentOS 7 reached its EOL.
Describe your environment
OS Information: From CentOS 7 to RHEL 9
Package Version:
Graylog 6.1
Mongo 5.0
Opensearch 1.3
(same version is installed on the other OS)
What steps have you already taken to try and solve the problem?
None so far. We’ve reached out to a support engineer in graylog regarding this and he/she advised that we transfer files from directories onto the new machine.
How can the community help?
Does anyone have experience with this?
Assuming you have version parity between both the old cluster and the new cluster then dumping mongo and restoring that to the new cluster would ensure you maintain the configuration. Copying the data directory across would persist the data, you could also reindex from one cluster to another.
This is all made much simpler if you can plan for down time or does this need to be as close to rolling as possible?
We have planned downtime. We might proceed with checking if each directory has the corresponding files we need for when we migrate to another OS. We will do a backup so that if ever this migration fails we could try another method. As per the supports suggestion this was the directory where the corresponding files can be found.
There are several places to look for this, depending on what
distribution you want to move over to.
The ones with the leap method are respected and wel supported.
What it does is enabeling the needed repo’s, invesigate possible
hickups and then if wanted by command migrates centos 6 to the
linux distribution to your likings.