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.
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
24 `-ring1_addr` `string` ::
26 Hostname (or IP) of the corosync ring1 address, this needs an valid
27 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.
51 `-ring0_addr` `string` ::
53 Hostname (or IP) of the corosync ring0 address of this node. Defaults to
56 `-ring1_addr` `string` ::
58 Hostname (or IP) of the corosync ring1 address, this needs an valid
61 `-votes` `integer (0 - N)` ::
63 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
78 bind to and defaults to the local IP address of the node.
80 `-bindnet1_addr` `string` ::
82 This specifies the network address the corosync ring 1 executive should
83 bind to and is optional.
85 `-nodeid` `integer (1 - N)` ::
87 Node id for this node.
89 `-ring0_addr` `string` ::
91 Hostname (or IP) of the corosync ring0 address of this node. Defaults to
92 the hostname of the node.
94 `-ring1_addr` `string` ::
96 Hostname (or IP) of the corosync ring1 address, this needs an valid
99 `-rrp_mode` `(active | none | passive)` (default=`none`)::
101 This specifies the mode of redundant ring, which may be none, active or
102 passive. Using multiple interfaces only allows 'active' or 'passive'.
104 `-votes` `integer (1 - N)` ::
106 Number of votes for this node.
110 *pvecm delnode* `<node>`
112 Removes a node to the cluster configuration.
116 The cluster node name.
120 *pvecm expected* `<expected>`
122 Tells corosync a new value of expected votes.
124 `<expected>` `integer (1 - N)` ::
131 *pvecm help* `[<cmd>]` `[OPTIONS]`
133 Get help about specified command.
139 `-verbose` `boolean` ::
141 Verbose output format.
146 *pvecm keygen* `<filename>`
148 Generate new cryptographic key for corosync.
150 `<filename>` `string` ::
158 Displays the local view of the cluster nodes.
164 Displays the local view of the cluster status.
168 *pvecm updatecerts* `[OPTIONS]`
170 Update node certificates (and generate all needed files/directories).
172 `-force` `boolean` ::
174 Force generation of new SSL certifate.
176 `-silent` `boolean` ::
178 Ignore errors (i.e. when cluster has no quorum).