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