pmg-docs/pmgcm.1-synopsis.adoc
2018-01-02 13:27:12 +01:00

69 lines
991 B
Plaintext

*pmgcm* `<COMMAND> [ARGS] [OPTIONS]`
*pmgcm create*
Create initial cluster config with current node as master.
*pmgcm help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
`<cmd>`: `<string>` ::
Command name
`--verbose` `<boolean>` ::
Verbose output format.
*pmgcm join* `<master_ip>` `[OPTIONS]`
Join a new node to an existing cluster.
`<master_ip>`: `<string>` ::
IP address.
`--fingerprint` `^(:?[A-Z0-9][A-Z0-9]:){31}[A-Z0-9][A-Z0-9]$` ::
SSL certificate fingerprint.
*pmgcm join_cmd*
Prints the command for joining an new node to the cluster. You need to
execute the command on the new node.
*pmgcm status* `[OPTIONS]`
Cluster node status.
`--list_single_node` `<boolean>` ('default =' `0`)::
List local node if there is no cluster defined. Please note that RSA keys and fingerprint are not valid in that case.
*pmgcm sync* `[OPTIONS]`
Synchronize cluster configuration.
`--master_ip` `<string>` ::
Optional IP address for master node.