1 *pvecm* `<COMMAND> [ARGS] [OPTIONS]`
3 *pvecm add* `<hostname>` `[OPTIONS]`
5 Adds the current node to an existing cluster.
9 Hostname (or IP) of an existing cluster member.
13 Do not throw error if node already exists.
15 -nodeid integer (1 - N)
17 Node id for this node.
21 Hostname (or IP) of the corosync ring0 address of this node.
22 Defaults to nodes hostname.
26 Hostname (or IP) of the corosync ring1 address, this needs an
27 valid configured ring 1 interface in the cluster.
29 -votes integer (0 - N)
31 Number of votes for this node
35 *pvecm addnode* `<node>` `[OPTIONS]`
37 Adds a node to the cluster configuration.
41 The cluster node name.
45 Do not throw error if node already exists.
47 -nodeid integer (1 - N)
49 Node id for this node.
53 Hostname (or IP) of the corosync ring0 address of this node.
54 Defaults to nodes hostname.
58 Hostname (or IP) of the corosync ring1 address, this needs an
61 -votes integer (0 - N)
63 Number of votes for this node
67 *pvecm create* `<clustername>` `[OPTIONS]`
69 Generate new cluster configuration.
73 The name of the cluster.
77 This specifies the network address the corosync ring 0
78 executive should bind to and defaults to the local IP address
83 This specifies the network address the corosync ring 1
84 executive should bind to and is optional.
86 -nodeid integer (1 - N)
88 Node id for this node.
92 Hostname (or IP) of the corosync ring0 address of this node.
93 Defaults to the hostname of the node.
97 Hostname (or IP) of the corosync ring1 address, this needs an
100 -rrp_mode (active | none | passive) (default=none)
102 This specifies the mode of redundant ring, which may be none,
103 active or passive. Using multiple interfaces only allows
104 'active' or 'passive'.
106 -votes integer (1 - N)
108 Number of votes for this node.
112 *pvecm delnode* `<node>`
114 Removes a node to the cluster configuration.
118 The cluster node name.
122 *pvecm expected* `<expected>`
124 Tells corosync a new value of expected votes.
126 <expected> integer (1 - N)
133 *pvecm help* `[<cmd>]` `[OPTIONS]`
135 Get help about specified command.
143 Verbose output format.
148 *pvecm keygen* `<filename>`
150 Generate new cryptographic key for corosync.
160 Displays the local view of the cluster nodes.
166 Displays the local view of the cluster status.
170 *pvecm updatecerts* `[OPTIONS]`
172 Update node certificates (and generate all needed files/directories).
176 Force generation of new SSL certifate.
180 Ignore errors (i.e. when cluster has no quorum).