-
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.
Add readme to Upgrade Graylog and MongoDB to version 6.0.5 and 6.0.16…
… respectively Signed-off-by: Shubham Gupta <[email protected]>
- Loading branch information
Shubham Gupta
committed
Sep 11, 2024
1 parent
24dd78f
commit 6784ef4
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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,31 @@ | ||
# Graylog Upgrade to 6.0.5 | ||
# MongoDB Upgrade to 6.0.16 | ||
|
||
## 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.0.5 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 Upgrade Documentation](https://go2docs.graylog.org/current/upgrading_graylog/upgrading_graylog.html?tocpath=Upgrading%20Graylog%7C_____0) | ||
|
||
2. **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. | ||
|
||
3. **Remove Incompatible Plugins**: Remove or replace any incompatible Graylog plugins. | ||
|
||
4. **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. | ||
|
||
5. **Add Startup Probe for Graylog**: | ||
Configure a **startup probe** in the Graylog deployment to ensure Graylog starts only after MongoDB is ready. | ||
|
||
6. **Upgrade Graylog and MongoDB**: | ||
Perform the upgrade of Graylog to version **6.0.5** and MongoDB to version **6.0.16** and sync. |