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 `--link[n]` `[address=]<IP> [,priority=<integer>]` ::
21 Address and priority information of a single corosync link.
23 `--nodeid` `<integer> (1 - N)` ::
25 Node id for this node.
27 `--use_ssh` `<boolean>` ::
29 Always use SSH to join, even if peer may do it over API.
31 `--votes` `<integer> (0 - N)` ::
33 Number of votes for this node
35 *pvecm addnode* `<node>` `[OPTIONS]`
37 Adds a node to the cluster configuration. This call is for internal use.
39 `<node>`: `<string>` ::
41 The cluster node name.
43 `--force` `<boolean>` ::
45 Do not throw error if node already exists.
47 `--link[n]` `[address=]<IP> [,priority=<integer>]` ::
49 Address and priority information of a single corosync link.
51 `--nodeid` `<integer> (1 - N)` ::
53 Node id for this node.
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 `--link[n]` `[address=]<IP> [,priority=<integer>]` ::
69 Address and priority information of a single corosync link.
71 `--nodeid` `<integer> (1 - N)` ::
73 Node id for this node.
75 `--votes` `<integer> (1 - N)` ::
77 Number of votes for this node.
79 *pvecm delnode* `<node>`
81 Removes a node from the cluster configuration.
83 `<node>`: `<string>` ::
85 The cluster node name.
87 *pvecm expected* `<expected>`
89 Tells corosync a new value of expected votes.
91 `<expected>`: `<integer> (1 - N)` ::
95 *pvecm help* `[OPTIONS]`
97 Get help about specified command.
99 `--extra-args` `<array>` ::
101 Shows help for a specific command
103 `--verbose` `<boolean>` ::
105 Verbose output format.
107 *pvecm keygen* `<filename>`
109 Generate new cryptographic key for corosync.
111 `<filename>`: `<string>` ::
115 *pvecm mtunnel* `[<extra-args>]` `[OPTIONS]`
117 Used by VM/CT migration - do not use manually.
119 `<extra-args>`: `<array>` ::
121 Extra arguments as array
123 `--get_migration_ip` `<boolean>` ('default =' `0`)::
125 return the migration IP, if configured
127 `--migration_network` `<string>` ::
129 the migration network used to detect the local migration IP
131 `--run-command` `<boolean>` ::
133 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.
137 Displays the local view of the cluster nodes.
139 *pvecm qdevice remove*
141 Remove a configured QDevice
143 *pvecm qdevice setup* `<address>` `[OPTIONS]`
145 Setup the use of a QDevice
147 `<address>`: `<string>` ::
149 Specifies the network address of an external corosync QDevice
151 `--force` `<boolean>` ::
153 Do not throw error on possible dangerous operations.
155 `--network` `<string>` ::
157 The network which should be used to connect to the external qdevice
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).