Premier commit déjà bien avancé
This commit is contained in:
11
notes/test/sous-dossier/nouvelle-note-2.md
Normal file
11
notes/test/sous-dossier/nouvelle-note-2.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Nouvelle Note 2
|
||||
date: 08-11-2025
|
||||
last_modified: 10-11-2025:18:14
|
||||
tags:
|
||||
- default
|
||||
---
|
||||
|
||||
# Nouvelle Note 2
|
||||
|
||||
Ceci est un test de note
|
||||
63
notes/test/sous-dossier/test-2/silverbullet.md
Normal file
63
notes/test/sous-dossier/test-2/silverbullet.md
Normal file
@ -0,0 +1,63 @@
|
||||
---
|
||||
title: Silverbullet
|
||||
date: 08-11-2025
|
||||
last_modified: 09-11-2025:01:13
|
||||
tags:
|
||||
- ring
|
||||
---
|
||||
|
||||
lsls
|
||||
|
||||
|
||||
|
||||
#### Server list :
|
||||
|
||||
```
|
||||
C'est un morceau de code.
|
||||
```
|
||||
|
||||
```bash
|
||||
ringsh supervisor serverList
|
||||
```
|
||||
|
||||
### Show config
|
||||
|
||||
Here you will find the `ring password` and `supapi db password`
|
||||
|
||||
```bash
|
||||
ringsh-config show
|
||||
```
|
||||
|
||||
#### Status :
|
||||
|
||||
```bash
|
||||
for RING in $(ringsh supervisor ringList); do echo " #### $RING ####"; ringsh supervisor ringStorage $RING; ringsh supervisor ringStatus $RING; done
|
||||
```
|
||||
|
||||
#### % Disks usage :
|
||||
|
||||
```bash
|
||||
ringsh supervisor ringStatus DATA | egrep -i '^disk' | awk -F ' ' '{if ($6 + 0 !=0) print int( $5 * 100 / $6) "%" }`
|
||||
|
||||
for RING in $(ringsh supervisor ringList); do echo " #### $RING ####"; ringsh supervisor ringStatus $RING | egrep -i '^disk' | awk -F ' ' '{if ($6 + 0 !=0) print $3, "is", int( $5 * 100 / $6)"% full" }'; done
|
||||
```
|
||||
|
||||
#### Purge Batch / Chuk Deleted :
|
||||
|
||||
```bash
|
||||
for NODE in $(ringsh supervisor loadConf META | awk '{print $3}'); do echo " ### using node $NODE";ringsh -r META -u $NODE node dumpStats flags_01 ; done
|
||||
|
||||
for NODE in $(ringsh supervisor loadConf META | awk '{print $3}'); do echo " ### using node $NODE";ringsh -r DATA -u $NODE node purgeTask fullqueue=1 timetolive=0 absttl=0; done
|
||||
```
|
||||
|
||||
#### Increase number of Batch Delete (1000)
|
||||
|
||||
```bash
|
||||
for NODE in {1..6}; do ringsh -u DATA-storage01-n$NODE -r DATA node configSet msgstore_protocol_chord chordpurgemaxbatch 10000; done
|
||||
```
|
||||
|
||||
#### Rebuild activity :
|
||||
|
||||
```bash
|
||||
salt -G 'roles:ROLE_STORE' cmd.run "grep DELETE /var/log/scality-srebuildd.log-20211001 | cut -c 1-9 | uniq -c"
|
||||
```
|
||||
Reference in New Issue
Block a user