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

192 lines
3.4 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-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
2016-11-05 18:49:43 +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-11-05 18:49:43 +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-11-05 18:49:43 +03:00
`-ring0_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +03:00
`-ring1_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +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-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
2016-11-05 18:49:43 +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-11-05 18:49:43 +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-11-05 18:49:43 +03:00
`-ring0_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +03:00
`-ring1_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +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
2016-11-05 18:49:43 +03:00
`-bindnet0_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +03:00
`-bindnet1_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +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-11-05 18:49:43 +03:00
`-ring0_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +03:00
`-ring1_addr` `<string>` ::
2016-04-06 18:36:10 +03:00
2016-05-19 17:14:05 +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-11-05 18:49:43 +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-11-05 18:49:43 +03:00
`<node>`: `<string>` ::
2016-04-06 18:36:10 +03:00
2016-09-29 13:18:57 +03:00
Hostname or IP of the corosync ring0 address of this node.
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
*pvecm help* `[<cmd>]` `[OPTIONS]`
Get help about specified command.
2016-11-05 18:49:43 +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-11-05 18:49:43 +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
2017-06-29 19:01:29 +03:00
*pvecm mtunnel* `[<extra-args>]` `[OPTIONS]`
2016-11-03 15:21:10 +03:00
Used by VM/CT migration - do not use manually.
2017-06-29 19:01:29 +03:00
`<extra-args>`: `<array>` ::
Extra arguments as array
2016-11-05 18:49:43 +03:00
`-get_migration_ip` `<boolean>` ('default =' `0`)::
2016-11-03 15:21:10 +03:00
return the migration IP, if configured
2016-11-05 18:49:43 +03:00
`-migration_network` `<string>` ::
2016-11-03 15:21:10 +03:00
the migration network used to detect the local migration IP
2017-06-29 19:01:29 +03:00
`-run-command` `<boolean>` ::
Run a command with a tcp socket as standard input. The IP address and port are printed via this command's stdandard output first, each on a separate line.
2016-11-03 15:21:10 +03:00
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-11-05 18:49:43 +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-11-05 18:49:43 +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