]> git.proxmox.com Git - pve-docs.git/blame - pvecm.1-synopsis.adoc
Add description for mountpoint property
[pve-docs.git] / pvecm.1-synopsis.adoc
CommitLineData
d8742b0c
DM
1*pvecm* `<COMMAND> [ARGS] [OPTIONS]`
2
3*pvecm add* `<hostname>` `[OPTIONS]`
4
5Adds the current node to an existing cluster.
6
013dc89f 7`<hostname>`: `<string>` ::
d8742b0c 8
9b3e4991 9Hostname (or IP) of an existing cluster member.
d8742b0c 10
27a7acb2
DM
11`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
12
13Certificate SHA 256 fingerprint.
14
2489d6df 15`--force` `<boolean>` ::
d8742b0c 16
9b3e4991 17Do not throw error if node already exists.
d8742b0c 18
1e3f8156 19`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
d8742b0c 20
1e3f8156 21Address and priority information of a single corosync link.
d8742b0c 22
1e3f8156 23`--nodeid` `<integer> (1 - N)` ::
d8742b0c 24
1e3f8156 25Node id for this node.
27a7acb2
DM
26
27`--use_ssh` `<boolean>` ::
28
29Always use SSH to join, even if peer may do it over API.
d8742b0c 30
2489d6df 31`--votes` `<integer> (0 - N)` ::
d8742b0c 32
9b3e4991 33Number of votes for this node
d8742b0c 34
d8742b0c
DM
35*pvecm addnode* `<node>` `[OPTIONS]`
36
e2d681b3 37Adds a node to the cluster configuration. This call is for internal use.
d8742b0c 38
013dc89f 39`<node>`: `<string>` ::
d8742b0c 40
9b3e4991 41The cluster node name.
d8742b0c 42
2489d6df 43`--force` `<boolean>` ::
d8742b0c 44
9b3e4991 45Do not throw error if node already exists.
d8742b0c 46
1e3f8156 47`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
d8742b0c 48
1e3f8156 49Address and priority information of a single corosync link.
d8742b0c 50
1e3f8156 51`--nodeid` `<integer> (1 - N)` ::
d8742b0c 52
1e3f8156 53Node id for this node.
d8742b0c 54
2489d6df 55`--votes` `<integer> (0 - N)` ::
d8742b0c 56
9b3e4991 57Number of votes for this node
d8742b0c 58
d8742b0c
DM
59*pvecm create* `<clustername>` `[OPTIONS]`
60
61Generate new cluster configuration.
62
013dc89f 63`<clustername>`: `<string>` ::
d8742b0c 64
9b3e4991 65The name of the cluster.
d8742b0c 66
1e3f8156 67`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
d8742b0c 68
1e3f8156 69Address and priority information of a single corosync link.
d8742b0c 70
2489d6df 71`--nodeid` `<integer> (1 - N)` ::
d8742b0c 72
9b3e4991 73Node id for this node.
d8742b0c 74
2489d6df 75`--votes` `<integer> (1 - N)` ::
d8742b0c 76
9b3e4991 77Number of votes for this node.
d8742b0c 78
d8742b0c
DM
79*pvecm delnode* `<node>`
80
27a7acb2 81Removes a node from the cluster configuration.
d8742b0c 82
013dc89f 83`<node>`: `<string>` ::
d8742b0c 84
27a7acb2 85The cluster node name.
d8742b0c 86
d8742b0c
DM
87*pvecm expected* `<expected>`
88
89Tells corosync a new value of expected votes.
90
013dc89f 91`<expected>`: `<integer> (1 - N)` ::
d8742b0c 92
9b3e4991 93Expected votes
d8742b0c 94
35a75dd3 95*pvecm help* `[OPTIONS]`
d8742b0c
DM
96
97Get help about specified command.
98
35a75dd3 99`--extra-args` `<array>` ::
d8742b0c 100
35a75dd3 101Shows help for a specific command
d8742b0c 102
2489d6df 103`--verbose` `<boolean>` ::
d8742b0c 104
9b3e4991 105Verbose output format.
d8742b0c 106
d8742b0c
DM
107*pvecm keygen* `<filename>`
108
109Generate new cryptographic key for corosync.
110
013dc89f 111`<filename>`: `<string>` ::
d8742b0c 112
9b3e4991 113Output file name
d8742b0c 114
9226ccbc
TL
115*pvecm mtunnel* `[<extra-args>]` `[OPTIONS]`
116
117Used by VM/CT migration - do not use manually.
118
119`<extra-args>`: `<array>` ::
120
121Extra arguments as array
122
123`--get_migration_ip` `<boolean>` ('default =' `0`)::
124
125return the migration IP, if configured
126
127`--migration_network` `<string>` ::
128
129the migration network used to detect the local migration IP
130
131`--run-command` `<boolean>` ::
132
133Run 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.
134
d8742b0c
DM
135*pvecm nodes*
136
137Displays the local view of the cluster nodes.
138
95895385
TL
139*pvecm qdevice remove*
140
141Remove a configured QDevice
142
143*pvecm qdevice setup* `<address>` `[OPTIONS]`
144
145Setup the use of a QDevice
146
147`<address>`: `<string>` ::
148
149Specifies the network address of an external corosync QDevice
150
151`--force` `<boolean>` ::
152
153Do not throw error on possible dangerous operations.
154
155`--network` `<string>` ::
156
157The network which should be used to connect to the external qdevice
158
d8742b0c
DM
159*pvecm status*
160
161Displays the local view of the cluster status.
162
d8742b0c
DM
163*pvecm updatecerts* `[OPTIONS]`
164
165Update node certificates (and generate all needed files/directories).
166
2489d6df 167`--force` `<boolean>` ::
d8742b0c 168
9b3e4991 169Force generation of new SSL certifate.
d8742b0c 170
2489d6df 171`--silent` `<boolean>` ::
d8742b0c 172
9b3e4991 173Ignore errors (i.e. when cluster has no quorum).
d8742b0c
DM
174
175