]> git.proxmox.com Git - pmg-docs.git/blame - pmgcm.1-synopsis.adoc
d/souce/format: mark package as native
[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
c5ccf1ab 39*pmgcm join-cmd*
274b47fc
DM
40
41Prints the command for joining an new node to the cluster. You need to
42execute the command on the new node.
43
c5ccf1ab
TL
44*pmgcm join_cmd*
45
46An alias for 'pmgcm join-cmd'.
47
4a46ced6
DM
48*pmgcm promote*
49
50Promote current node to become the new master.
51
274b47fc
DM
52*pmgcm status* `[OPTIONS]`
53
54Cluster node status.
55
56`--list_single_node` `<boolean>` ('default =' `0`)::
57
58List local node if there is no cluster defined. Please note that RSA keys and fingerprint are not valid in that case.
59
274b47fc
DM
60*pmgcm sync* `[OPTIONS]`
61
62Synchronize cluster configuration.
63
64`--master_ip` `<string>` ::
65
66Optional IP address for master node.
67
c5ccf1ab
TL
68*pmgcm update-fingerprints*
69
70Notify master to refresh all certificate fingerprints
71
274b47fc 72