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