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 `--force` `<boolean>` ::
13 Do not throw error if node already exists.
15 `--nodeid` `<integer> (1 - N)` ::
17 Node id for this node.
19 `--ring0_addr` `<string>` ::
21 Hostname (or IP) of the corosync ring0 address of this node. Defaults to nodes hostname.
23 `--ring1_addr` `<string>` ::
25 Hostname (or IP) of the corosync ring1 address, this needs an valid configured ring 1 interface in the cluster.
27 `--votes` `<integer> (0 - N)` ::
29 Number of votes for this node
33 *pvecm addnode* `<node>` `[OPTIONS]`
35 Adds a node to the cluster configuration.
37 `<node>`: `<string>` ::
39 The cluster node name.
41 `--force` `<boolean>` ::
43 Do not throw error if node already exists.
45 `--nodeid` `<integer> (1 - N)` ::
47 Node id for this node.
49 `--ring0_addr` `<string>` ::
51 Hostname (or IP) of the corosync ring0 address of this node. Defaults to nodes hostname.
53 `--ring1_addr` `<string>` ::
55 Hostname (or IP) of the corosync ring1 address, this needs an valid bindnet1_addr.
57 `--votes` `<integer> (0 - N)` ::
59 Number of votes for this node
63 *pvecm create* `<clustername>` `[OPTIONS]`
65 Generate new cluster configuration.
67 `<clustername>`: `<string>` ::
69 The name of the cluster.
71 `--bindnet0_addr` `<string>` ::
73 This specifies the network address the corosync ring 0 executive should bind to and defaults to the local IP address of the node.
75 `--bindnet1_addr` `<string>` ::
77 This specifies the network address the corosync ring 1 executive should bind to and is optional.
79 `--nodeid` `<integer> (1 - N)` ::
81 Node id for this node.
83 `--ring0_addr` `<string>` ::
85 Hostname (or IP) of the corosync ring0 address of this node. Defaults to the hostname of the node.
87 `--ring1_addr` `<string>` ::
89 Hostname (or IP) of the corosync ring1 address, this needs an valid bindnet1_addr.
91 `--votes` `<integer> (1 - N)` ::
93 Number of votes for this node.
97 *pvecm delnode* `<node>`
99 Removes a node to the cluster configuration.
101 `<node>`: `<string>` ::
103 Hostname or IP of the corosync ring0 address of this node.
107 *pvecm expected* `<expected>`
109 Tells corosync a new value of expected votes.
111 `<expected>`: `<integer> (1 - N)` ::
118 *pvecm help* `[<cmd>]` `[OPTIONS]`
120 Get help about specified command.
122 `<cmd>`: `<string>` ::
126 `--verbose` `<boolean>` ::
128 Verbose output format.
133 *pvecm keygen* `<filename>`
135 Generate new cryptographic key for corosync.
137 `<filename>`: `<string>` ::
143 *pvecm mtunnel* `[<extra-args>]` `[OPTIONS]`
145 Used by VM/CT migration - do not use manually.
147 `<extra-args>`: `<array>` ::
149 Extra arguments as array
151 `--get_migration_ip` `<boolean>` ('default =' `0`)::
153 return the migration IP, if configured
155 `--migration_network` `<string>` ::
157 the migration network used to detect the local migration IP
159 `--run-command` `<boolean>` ::
161 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.
167 Displays the local view of the cluster nodes.
173 Displays the local view of the cluster status.
177 *pvecm updatecerts* `[OPTIONS]`
179 Update node certificates (and generate all needed files/directories).
181 `--force` `<boolean>` ::
183 Force generation of new SSL certifate.
185 `--silent` `<boolean>` ::
187 Ignore errors (i.e. when cluster has no quorum).