Skip to content

Commit

Permalink
Added danger zone to warn users to manually delete resources using th…
Browse files Browse the repository at this point in the history
…e s9s cli or ui
  • Loading branch information
Johan Andersson authored and Johan Andersson committed Oct 16, 2024
1 parent cb7c905 commit 59d7f80
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions docs/admin/Troubleshooting/Operations-and-Management.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ You need to logout from CCX web-app first or clear the cookies for your `CCX_URL
This is the admin panel for Cluster Control and exposes the functionality of CMON through a web interface (you can also use the `s9s` CLI to interact).

The account details for this are found in the kubernetes secret `cmon-credentials`.
:::danger
Never use the ClusterControl UI to delete resources (nodes or datastores). This may lead to stray data.
::::

## CCX-MGMT

Expand All @@ -23,3 +26,6 @@ This is a proxy to an instance of CMON and the credentials for this are logged t
## S9S CLI

This is a CLI tool that provides access to CMON functionality and the tool can be run from the `cmon-master` service within kubernetes.
:::danger
Never use the S9S CLI to delete resources (nodes or datastores). This may lead to stray data.
::::
11 changes: 5 additions & 6 deletions docs/admin/Troubleshooting/Troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Troubleshooting

This page describes troubleshooting scenarios.
:::danger
Never use the S9S CLI nor the CCUIv2 to delete resources (nodes or datastores). This may lead to stray data.
::::

## CCX Error Report

The script to generate an error report is here - https://github.com/severalnines/helm-ccx/tree/main/scripts. Please attach the error report (.tar.gz file) to every ticket created for CCX support. This tremendously helps to diagnose the issue.
Expand All @@ -14,10 +12,11 @@ For the CMON managing the CMONDB and CCXDB, see below.

Use kubectl and open a bash terminal on the cmon-master container.

### S9S CLI commands

*WARNING!* Do not add or remove database nodes using the S9s CLI.
### S9S CLI commands

:::danger
Never use the S9S CLI nor the CCUIv2 to delete resources (nodes or datastores). This may lead to stray data.
::::
The 's9s job' commands can be used to debug why a datastore failed to create. Example:

```bash
Expand Down

0 comments on commit 59d7f80

Please sign in to comment.