1 *pvecm* `<COMMAND> [ARGS] [OPTIONS]`
3 *pvecm add* `<hostname>` `[OPTIONS]`
5 Adds the current node to an existing cluster.
7 `<hostname>`: `<string>` ::
9 Hostname (or IP) of an existing cluster member.
11 `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
13 Certificate SHA 256 fingerprint.
15 `--force` `<boolean>` ::
17 Do not throw error if node already exists.
19 `--nodeid` `<integer> (1 - N)` ::
21 Node id for this node.
23 `--ring0_addr` `<string>` ('default =' `Hostname of the node`)::
25 Hostname (or IP) of the corosync ring0 address of this node.
27 `--ring1_addr` `<string>` ::
29 Hostname (or IP) of the corosync ring1 address of this node. Requires a valid configured ring 1 (bindnet1_addr) in the cluster.
31 `--use_ssh` `<boolean>` ::
33 Always use SSH to join, even if peer may do it over API.
35 `--votes` `<integer> (0 - N)` ::
37 Number of votes for this node
39 *pvecm addnode* `<node>` `[OPTIONS]`
41 Adds a node to the cluster configuration.
43 `<node>`: `<string>` ::
45 The cluster node name.
47 `--force` `<boolean>` ::
49 Do not throw error if node already exists.
51 `--nodeid` `<integer> (1 - N)` ::
53 Node id for this node.
55 `--ring0_addr` `<string>` ('default =' `Hostname of the node`)::
57 Hostname (or IP) of the corosync ring0 address of this node.
59 `--ring1_addr` `<string>` ::
61 Hostname (or IP) of the corosync ring1 address of this node. Requires a valid configured ring 1 (bindnet1_addr) in the cluster.
63 `--votes` `<integer> (0 - N)` ::
65 Number of votes for this node
67 *pvecm create* `<clustername>` `[OPTIONS]`
69 Generate new cluster configuration.
71 `<clustername>`: `<string>` ::
73 The name of the cluster.
75 `--bindnet0_addr` `<string>` ::
77 This specifies the network address the corosync ring 0 executive should bind to and defaults to the local IP address of the node.
79 `--bindnet1_addr` `<string>` ::
81 This specifies the network address the corosync ring 1 executive should bind to and is optional.
83 `--nodeid` `<integer> (1 - N)` ::
85 Node id for this node.
87 `--ring0_addr` `<string>` ('default =' `Hostname of the node`)::
89 Hostname (or IP) of the corosync ring0 address of this node.
91 `--ring1_addr` `<string>` ::
93 Hostname (or IP) of the corosync ring1 address of this node. Requires a valid configured ring 1 (bindnet1_addr) in the cluster.
95 `--votes` `<integer> (1 - N)` ::
97 Number of votes for this node.
99 *pvecm delnode* `<node>`
101 Removes a node from the cluster configuration.
103 `<node>`: `<string>` ::
105 The cluster node name.
107 *pvecm expected* `<expected>`
109 Tells corosync a new value of expected votes.
111 `<expected>`: `<integer> (1 - N)` ::
115 *pvecm help* `[OPTIONS]`
117 Get help about specified command.
119 `--extra-args` `<array>` ::
121 Shows help for a specific command
123 `--verbose` `<boolean>` ::
125 Verbose output format.
127 *pvecm keygen* `<filename>`
129 Generate new cryptographic key for corosync.
131 `<filename>`: `<string>` ::
135 *pvecm mtunnel* `[<extra-args>]` `[OPTIONS]`
137 Used by VM/CT migration - do not use manually.
139 `<extra-args>`: `<array>` ::
141 Extra arguments as array
143 `--get_migration_ip` `<boolean>` ('default =' `0`)::
145 return the migration IP, if configured
147 `--migration_network` `<string>` ::
149 the migration network used to detect the local migration IP
151 `--run-command` `<boolean>` ::
153 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.
157 Displays the local view of the cluster nodes.
161 Displays the local view of the cluster status.
163 *pvecm updatecerts* `[OPTIONS]`
165 Update node certificates (and generate all needed files/directories).
167 `--force` `<boolean>` ::
169 Force generation of new SSL certifate.
171 `--silent` `<boolean>` ::
173 Ignore errors (i.e. when cluster has no quorum).