]> git.proxmox.com Git - pmg-docs.git/blob - pmgcm.1-synopsis.adoc
bump version to 5.0-8
[pmg-docs.git] / pmgcm.1-synopsis.adoc
1 *pmgcm* `<COMMAND> [ARGS] [OPTIONS]`
2
3 *pmgcm create*
4
5 Create initial cluster config with current node as master.
6
7
8
9
10 *pmgcm delete* `<cid>`
11
12 Remove a node from the cluster.
13
14 `<cid>`: `<integer> (1 - N)` ::
15
16 Cluster Node ID.
17
18
19
20
21 *pmgcm help* `[<cmd>]` `[OPTIONS]`
22
23 Get help about specified command.
24
25 `<cmd>`: `<string>` ::
26
27 Command name
28
29 `--verbose` `<boolean>` ::
30
31 Verbose output format.
32
33
34
35
36 *pmgcm join* `<master_ip>` `[OPTIONS]`
37
38 Join a new node to an existing cluster.
39
40 `<master_ip>`: `<string>` ::
41
42 IP address.
43
44 `--fingerprint` `^(:?[A-Z0-9][A-Z0-9]:){31}[A-Z0-9][A-Z0-9]$` ::
45
46 SSL certificate fingerprint.
47
48
49
50 *pmgcm join_cmd*
51
52 Prints the command for joining an new node to the cluster. You need to
53 execute the command on the new node.
54
55
56
57 *pmgcm promote*
58
59 Promote current node to become the new master.
60
61
62
63
64 *pmgcm status* `[OPTIONS]`
65
66 Cluster node status.
67
68 `--list_single_node` `<boolean>` ('default =' `0`)::
69
70 List local node if there is no cluster defined. Please note that RSA keys and fingerprint are not valid in that case.
71
72
73
74
75 *pmgcm sync* `[OPTIONS]`
76
77 Synchronize cluster configuration.
78
79 `--master_ip` `<string>` ::
80
81 Optional IP address for master node.
82
83
84
85