1 *pmgcm* `<COMMAND> [ARGS] [OPTIONS]`
5 Create initial cluster config with current node as master.
10 *pmgcm delete* `<cid>`
12 Remove a node from the cluster.
14 `<cid>`: `<integer> (1 - N)` ::
21 *pmgcm help* `[<cmd>]` `[OPTIONS]`
23 Get help about specified command.
25 `<cmd>`: `<string>` ::
29 `--verbose` `<boolean>` ::
31 Verbose output format.
36 *pmgcm join* `<master_ip>` `[OPTIONS]`
38 Join a new node to an existing cluster.
40 `<master_ip>`: `<string>` ::
44 `--fingerprint` `^(:?[A-Z0-9][A-Z0-9]:){31}[A-Z0-9][A-Z0-9]$` ::
46 SSL certificate fingerprint.
52 Prints the command for joining an new node to the cluster. You need to
53 execute the command on the new node.
59 Promote current node to become the new master.
64 *pmgcm status* `[OPTIONS]`
68 `--list_single_node` `<boolean>` ('default =' `0`)::
70 List local node if there is no cluster defined. Please note that RSA keys and fingerprint are not valid in that case.
75 *pmgcm sync* `[OPTIONS]`
77 Synchronize cluster configuration.
79 `--master_ip` `<string>` ::
81 Optional IP address for master node.