5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-07 17:17:48 +03:00
pve-docs/pvecm.1-synopsis.adoc

183 lines
3.0 KiB
Plaintext
Raw Normal View History

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-04-07 09:20:32 +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
2016-04-07 09:20:32 +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
2016-04-07 09:20:32 +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
2016-04-07 09:20:32 +03:00
`-ring0_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Hostname (or IP) of the corosync ring0 address of this node. Defaults to
nodes hostname.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
`-ring1_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Hostname (or IP) of the corosync ring1 address, this needs an valid
configured ring 1 interface in the cluster.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +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]`
Adds a node to the cluster configuration.
2016-04-07 09:20:32 +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
2016-04-07 09:20:32 +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
2016-04-07 09:20:32 +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
2016-04-07 09:20:32 +03:00
`-ring0_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Hostname (or IP) of the corosync ring0 address of this node. Defaults to
nodes hostname.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
`-ring1_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Hostname (or IP) of the corosync ring1 address, this needs an valid
bindnet1_addr.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +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-04-07 09:20:32 +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
2016-04-07 09:20:32 +03:00
`-bindnet0_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
This specifies the network address the corosync ring 0 executive should
bind to and defaults to the local IP address of the node.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
`-bindnet1_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
This specifies the network address the corosync ring 1 executive should
bind to and is optional.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +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
2016-04-07 09:20:32 +03:00
`-ring0_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Hostname (or IP) of the corosync ring0 address of this node. Defaults to
the hostname of the node.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
`-ring1_addr` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Hostname (or IP) of the corosync ring1 address, this needs an valid
bindnet1_addr.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
`-rrp_mode` `(active | none | passive)` (default=`none`)::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
This specifies the mode of redundant ring, which may be none, active or
passive. Using multiple interfaces only allows 'active' or 'passive'.
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +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>`
Removes a node to the cluster configuration.
2016-04-07 09:20:32 +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
*pvecm expected* `<expected>`
Tells corosync a new value of expected votes.
2016-04-07 09:20:32 +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
*pvecm help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
2016-04-07 09:20:32 +03:00
`<cmd>` `string` ::
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +03:00
Command name
2016-04-06 18:36:10 +03:00
2016-04-07 09:20:32 +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-04-07 09:20:32 +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.
*pvecm status*
Displays the local view of the cluster status.
*pvecm updatecerts* `[OPTIONS]`
Update node certificates (and generate all needed files/directories).
2016-04-07 09:20:32 +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
2016-04-07 09:20:32 +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