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