-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request 'Add readme to Upgrade Graylog and MongoDB to vers…
…ion 6.0.5 and 6.0.16 respectively' (#406) from grayLogUpgradeReadme into master Reviewed-on: https://gitea.obmondo.com/EnableIT/KubeAid/pulls/406
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Backup Data | ||
1. **MongoDB Backup**: Use `mongodump` to back up the MongoDB data. | ||
2. **Elasticsearch Backup**: Back up Elasticsearch data | ||
3. **Graylog Configuration Backup**: Backup Graylog configuration and Helm `values.yaml`. | ||
|
||
## Review Breaking Changes | ||
1. **Plugins**: Verify all plugins for compatibility with Graylog `6.x` and replace/remove incompatible plugins. | ||
2. **Templates**: Review any custom templates and ensure compatibility with **JMTE 7.0.2**. | ||
|
||
--- | ||
|
||
## Steps for the Upgrade: | ||
|
||
1. **Check Compatibility Matrix**: Review the compatibility matrix of Graylog and MongoDB from the official documentation: | ||
![Graylog MongoDB Compatibility Matrix](grayLogCompatibiltyMatrix.png) | ||
[Reference Link](https://go2docs.graylog.org/current/upgrading_graylog/upgrading_graylog.html?tocpath=Upgrading%20Graylog%7C_____0) | ||
|
||
1. **Upgrade MongoDB Operator**: Upgrade the MongoDB operator to the latest version **0.11.0**. Ensure the Helm charts are up to date with the upstream repository. | ||
|
||
2. **Remove Incompatible Plugins**: Remove or replace any incompatible Graylog plugins. | ||
|
||
3. **Add `data_dir` to Graylog Configuration**: | ||
Add the `data_dir` in the `graylog.conf` (default: `/usr/share/graylog/data`) based on the values from the `values.yaml` file. | ||
|
||
4. **Add Startup Probe for Graylog**: | ||
Configure a **startup probe** in the Graylog deployment to ensure Graylog starts only after MongoDB is ready. | ||
|
||
5. **Upgrade Graylog and MongoDB**: | ||
Perform the upgrade of Graylog to version **6.0.5** and MongoDB to version **6.0.16** and sync. |