22
33### Overview
44
5- Use the Gluster CLI to setup and manage your Gluster cluster from a terminal.
6- You can run the Gluster CLI on any Gluster server either by invoking the commands
7- or by running the Gluster CLI in interactive mode.
5+ Use the Gluster CLI to setup and manage your Gluster cluster from a terminal.
6+ You can run the Gluster CLI on any Gluster server either by invoking the commands
7+ or by running the Gluster CLI in interactive mode.
88You can also use the gluster command remotely using SSH.
99
1010The gluster CLI syntax is ` gluster <command> ` .
1111
12-
1312To run a command directly:
1413
1514``` console
16- # gluster < command>
15+ gluster <command>
1716```
1817
1918For example, to view the status of all peers:
2019
2120``` console
22- # gluster peer status
21+ gluster peer status
2322```
2423
2524To run a command in interactive mode, start a gluster shell by typing:
2625
2726``` console
28- # gluster
27+ gluster
2928```
3029
3130This will open a gluster command prompt. You now run the command at the prompt.
@@ -44,13 +43,12 @@ gluster> peer status
4443
4544The peer commands are used to manage the Trusted Server Pool (TSP).
4645
47-
48- | Command | Syntax | Description |
49- | --------------- | :-----------------------| :------------------------|
50- | peer probe | peer probe _ server_ | Add _ server_ to the TSP |
51- | peer detach | peer detach _ server_ | Remove _ server_ from the TSP |
52- | peer status | peer status | Display the status of all nodes in the TSP |
53- | pool list | pool list | List all nodes in the TSP |
46+ | Command | Syntax | Description |
47+ | ----------- | :------------------- | :----------------------------------------- |
48+ | peer probe | peer probe _ server_ | Add _ server_ to the TSP |
49+ | peer detach | peer detach _ server_ | Remove _ server_ from the TSP |
50+ | peer status | peer status | Display the status of all nodes in the TSP |
51+ | pool list | pool list | List all nodes in the TSP |
5452
5553#### Volume Commands
5654
0 commit comments