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