]> git.proxmox.com Git - pmg-docs.git/blame - pmgcm.1-synopsis.adoc
bump version to 5.1-2
[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
4a46ced6
DM
7*pmgcm delete* `<cid>`
8
9Remove a node from the cluster.
10
11`<cid>`: `<integer> (1 - N)` ::
12
13Cluster Node ID.
14
b81b1f95 15*pmgcm help* `[OPTIONS]`
274b47fc
DM
16
17Get help about specified command.
18
b81b1f95 19`--extra-args` `<array>` ::
274b47fc 20
b81b1f95 21Shows help for a specific command
274b47fc
DM
22
23`--verbose` `<boolean>` ::
24
25Verbose output format.
26
274b47fc
DM
27*pmgcm join* `<master_ip>` `[OPTIONS]`
28
29Join a new node to an existing cluster.
30
31`<master_ip>`: `<string>` ::
32
33IP address.
34
35`--fingerprint` `^(:?[A-Z0-9][A-Z0-9]:){31}[A-Z0-9][A-Z0-9]$` ::
36
37SSL certificate fingerprint.
38
274b47fc
DM
39*pmgcm join_cmd*
40
41Prints the command for joining an new node to the cluster. You need to
42execute the command on the new node.
43
4a46ced6
DM
44*pmgcm promote*
45
46Promote current node to become the new master.
47
274b47fc
DM
48*pmgcm status* `[OPTIONS]`
49
50Cluster node status.
51
52`--list_single_node` `<boolean>` ('default =' `0`)::
53
54List local node if there is no cluster defined. Please note that RSA keys and fingerprint are not valid in that case.
55
274b47fc
DM
56*pmgcm sync* `[OPTIONS]`
57
58Synchronize cluster configuration.
59
60`--master_ip` `<string>` ::
61
62Optional IP address for master node.
63
64