Skip to content

Commit

Permalink
updated troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Andersson authored and Johan Andersson committed Oct 24, 2024
1 parent 153590c commit 92433d4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/admin/Troubleshooting/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ Use kubectl and open a bash terminal on the cmon-master container.
### S9S CLI commands

:::danger
Never use the S9S CLI nor the CCUIv2 to delete resources (nodes or datastores). This may lead to stray data.
Never use the S9S CLI nor the CCUIv2 to add or remove resources (nodes or datastores). This may lead to stray data.
Do not use the following commands:
- s9s cluster --[drop|remove-node|add-node|upgrade-cluster|reinstall-node|demote-node|reconfigure-node]
- s9s node --unregister
::::
The 's9s job' commands can be used to debug why a datastore failed to create. Example:

Expand Down Expand Up @@ -109,6 +112,12 @@ s9s account --cluster-id=NNN --create --account='ccxadmin:PASSWORD@%' --privileg
s9s account --cluster-id=NNN --create --account='ccxadmin:PASSWORD@%' --privileges='NOSUPERUSER, CREATEROLE, LOGIN, CREATEDB'
```

### Rebuildint a failed replica
In some cases it is wanted to rebuild a replica.
```bash
s9s replication --cluster-id=NNN --stage --master="PUBLIC_ADDRESSS_OF_MASTER" --slave="PUBLIC_ADDRESSS_OF_REPLICA_TO_BE_REBUILT
```
## Certificates
## Services are bouncing
Expand Down

0 comments on commit 92433d4

Please sign in to comment.