Skip to content

Commit

Permalink
Rename graylog6.0.5.md to upgrading.md and update instructions for Gr…
Browse files Browse the repository at this point in the history
…aylog and MongoDB upgrade

Signed-off-by: Shubham Gupta <[email protected]>
  • Loading branch information
Shubham Gupta committed Sep 11, 2024
1 parent 6784ef4 commit 8d6c702
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
# 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.
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 Upgrade Documentation](https://go2docs.graylog.org/current/upgrading_graylog/upgrading_graylog.html?tocpath=Upgrading%20Graylog%7C_____0)
![Graylog MongoDB Compatibility Matrix](grayLogCompatibiltyMatrix.png)

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.
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.

3. **Remove Incompatible Plugins**: Remove or replace any incompatible Graylog plugins.
2. **Remove Incompatible Plugins**: Remove or replace any incompatible Graylog plugins.

4. **Add `data_dir` to Graylog Configuration**:
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.

5. **Add Startup Probe for Graylog**:
4. **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**:
5. **Upgrade Graylog and MongoDB**:
Perform the upgrade of Graylog to version **6.0.5** and MongoDB to version **6.0.16** and sync.

0 comments on commit 8d6c702

Please sign in to comment.