]> git.proxmox.com Git - pve-docs.git/blame_incremental - pvecm.1-synopsis.adoc
cert management: move some headings a level up for better visibility
[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.
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`--force` `<boolean>` ::
44
45Do not throw error if node already exists.
46
47`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
48
49Address and priority information of a single corosync link.
50
51`--nodeid` `<integer> (1 - N)` ::
52
53Node id for this node.
54
55`--votes` `<integer> (0 - N)` ::
56
57Number of votes for this node
58
59*pvecm create* `<clustername>` `[OPTIONS]`
60
61Generate new cluster configuration.
62
63`<clustername>`: `<string>` ::
64
65The name of the cluster.
66
67`--link[n]` `[address=]<IP> [,priority=<integer>]` ::
68
69Address and priority information of a single corosync link.
70
71`--nodeid` `<integer> (1 - N)` ::
72
73Node id for this node.
74
75`--votes` `<integer> (1 - N)` ::
76
77Number of votes for this node.
78
79*pvecm delnode* `<node>`
80
81Removes a node from the cluster configuration.
82
83`<node>`: `<string>` ::
84
85The cluster node name.
86
87*pvecm expected* `<expected>`
88
89Tells corosync a new value of expected votes.
90
91`<expected>`: `<integer> (1 - N)` ::
92
93Expected votes
94
95*pvecm help* `[OPTIONS]`
96
97Get help about specified command.
98
99`--extra-args` `<array>` ::
100
101Shows help for a specific command
102
103`--verbose` `<boolean>` ::
104
105Verbose output format.
106
107*pvecm keygen* `<filename>`
108
109Generate new cryptographic key for corosync.
110
111`<filename>`: `<string>` ::
112
113Output file name
114
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
135*pvecm nodes*
136
137Displays the local view of the cluster nodes.
138
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
159*pvecm status*
160
161Displays the local view of the cluster status.
162
163*pvecm updatecerts* `[OPTIONS]`
164
165Update node certificates (and generate all needed files/directories).
166
167`--force` `<boolean>` ::
168
169Force generation of new SSL certifate.
170
171`--silent` `<boolean>` ::
172
173Ignore errors (i.e. when cluster has no quorum).
174
175