-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path03 memSQL Tools
More file actions
36 lines (22 loc) · 1.93 KB
/
03 memSQL Tools
File metadata and controls
36 lines (22 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
The MemSQL management tools allow you to perform cluster management operations for setup, configuration, and diagnostics.
Most of the tools are part of the memsql-toolbox package
The MemSQL management tools are as follows:
memsql-toolbox-config: Performs host machine registration.
memsql-deploy: Installs the memsql-server package that contains memsqlctl and the MemSQL database engine.
memsql-admin: Helps you manage a MemSQL cluster.
memsql-report: Collects and performs diagnostic checks on your cluster.
memsqlctl: Provides lower-level access to manage nodes on a host machine.
____________________________________________________________________________________________________________________________________________________
To Access the Built-in MemSQL Tools
$ docker exec -it memsql-ciab /bin/bash
"Once connected, you can run any of the MemSQL tools; however, because the master aggregator and leaf node share the same
container (and thus the same host machine), memsqlctl was used to setup and configure the cluster. If the deployment was
across multiple host machines, then the higher-level tools such as memsql-admin and memsql-deploy would have been used
instead."
bash-4.2$ memsqlctl list-nodes
+------------+--------+------+---------------+--------------+---------+----------------+--------------------+--------------+
| MemSQL ID | Role | Port | Process State | Connectable? | Version | Recovery State | Availability Group | Bind Address |
+------------+--------+------+---------------+--------------+---------+----------------+--------------------+--------------+
| D948D48F01 | Master | 3306 | Running | True | 7.0.9 | Online | | 0.0.0.0 |
| 3671827374 | Leaf | 3307 | Running | True | 7.0.9 | Online | 1 | 0.0.0.0 |
+------------+--------+------+---------------+--------------+---------+----------------+--------------------+--------------+