2016-04-06 18:36:10 +03:00
*pvecm* `<COMMAND> [ARGS] [OPTIONS]`
*pvecm add* `<hostname>` `[OPTIONS]`
Adds the current node to an existing cluster.
2016-11-05 18:49:43 +03:00
`<hostname>`: `<string>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Hostname (or IP) of an existing cluster member.
2016-04-06 18:36:10 +03:00
2018-03-22 15:17:37 +03:00
`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
Certificate SHA 256 fingerprint.
2017-10-19 10:30:23 +03:00
`--force` `<boolean>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Do not throw error if node already exists.
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
Address and priority information of a single corosync link.
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
`--nodeid` `<integer> (1 - N)` ::
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
Node id for this node.
2018-03-22 15:17:37 +03:00
`--use_ssh` `<boolean>` ::
Always use SSH to join, even if peer may do it over API.
2016-04-06 18:36:10 +03:00
2017-10-19 10:30:23 +03:00
`--votes` `<integer> (0 - N)` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Number of votes for this node
2016-04-06 18:36:10 +03:00
*pvecm addnode* `<node>` `[OPTIONS]`
2018-11-29 15:12:20 +03:00
Adds a node to the cluster configuration. This call is for internal use.
2016-04-06 18:36:10 +03:00
2016-11-05 18:49:43 +03:00
`<node>`: `<string>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
The cluster node name.
2016-04-06 18:36:10 +03:00
2017-10-19 10:30:23 +03:00
`--force` `<boolean>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Do not throw error if node already exists.
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
Address and priority information of a single corosync link.
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
`--nodeid` `<integer> (1 - N)` ::
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
Node id for this node.
2016-04-06 18:36:10 +03:00
2017-10-19 10:30:23 +03:00
`--votes` `<integer> (0 - N)` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Number of votes for this node
2016-04-06 18:36:10 +03:00
*pvecm create* `<clustername>` `[OPTIONS]`
Generate new cluster configuration.
2016-11-05 18:49:43 +03:00
`<clustername>`: `<string>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
The name of the cluster.
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
2016-04-06 18:36:10 +03:00
2019-06-25 13:45:44 +03:00
Address and priority information of a single corosync link.
2016-04-06 18:36:10 +03:00
2017-10-19 10:30:23 +03:00
`--nodeid` `<integer> (1 - N)` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Node id for this node.
2016-04-06 18:36:10 +03:00
2017-10-19 10:30:23 +03:00
`--votes` `<integer> (1 - N)` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Number of votes for this node.
2016-04-06 18:36:10 +03:00
*pvecm delnode* `<node>`
2018-03-22 15:17:37 +03:00
Removes a node from the cluster configuration.
2016-04-06 18:36:10 +03:00
2016-11-05 18:49:43 +03:00
`<node>`: `<string>` ::
2016-04-06 18:36:10 +03:00
2018-03-22 15:17:37 +03:00
The cluster node name.
2016-04-06 18:36:10 +03:00
*pvecm expected* `<expected>`
Tells corosync a new value of expected votes.
2016-11-05 18:49:43 +03:00
`<expected>`: `<integer> (1 - N)` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Expected votes
2016-04-06 18:36:10 +03:00
2018-02-12 11:50:48 +03:00
*pvecm help* `[OPTIONS]`
2016-04-06 18:36:10 +03:00
Get help about specified command.
2018-02-12 11:50:48 +03:00
`--extra-args` `<array>` ::
2016-04-06 18:36:10 +03:00
2018-02-12 11:50:48 +03:00
Shows help for a specific command
2016-04-06 18:36:10 +03:00
2017-10-19 10:30:23 +03:00
`--verbose` `<boolean>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Verbose output format.
2016-04-06 18:36:10 +03:00
*pvecm keygen* `<filename>`
Generate new cryptographic key for corosync.
2016-11-05 18:49:43 +03:00
`<filename>`: `<string>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Output file name
2016-04-06 18:36:10 +03:00
*pvecm nodes*
Displays the local view of the cluster nodes.
2019-04-04 18:17:19 +03:00
*pvecm qdevice remove*
Remove a configured QDevice
*pvecm qdevice setup* `<address>` `[OPTIONS]`
Setup the use of a QDevice
`<address>`: `<string>` ::
Specifies the network address of an external corosync QDevice
`--force` `<boolean>` ::
Do not throw error on possible dangerous operations.
`--network` `<string>` ::
The network which should be used to connect to the external qdevice
2016-04-06 18:36:10 +03:00
*pvecm status*
Displays the local view of the cluster status.
*pvecm updatecerts* `[OPTIONS]`
Update node certificates (and generate all needed files/directories).
2017-10-19 10:30:23 +03:00
`--force` `<boolean>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Force generation of new SSL certifate.
2016-04-06 18:36:10 +03:00
2017-10-19 10:30:23 +03:00
`--silent` `<boolean>` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Ignore errors (i.e. when cluster has no quorum).
2016-04-06 18:36:10 +03:00