]> git.proxmox.com Git - pve-docs.git/blob - pvecm.1-synopsis.adoc
pveceph: cephfs: fixup destroy warning
[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 `--nodeid` `<integer> (1 - N)` ::
20
21 Node id for this node.
22
23 `--ring0_addr` `<string>` ('default =' `Hostname of the node`)::
24
25 Hostname (or IP) of the corosync ring0 address of this node.
26
27 `--ring1_addr` `<string>` ::
28
29 Hostname (or IP) of the corosync ring1 address of this node. Requires a valid configured ring 1 (bindnet1_addr) in the cluster.
30
31 `--use_ssh` `<boolean>` ::
32
33 Always use SSH to join, even if peer may do it over API.
34
35 `--votes` `<integer> (0 - N)` ::
36
37 Number of votes for this node
38
39 *pvecm addnode* `<node>` `[OPTIONS]`
40
41 Adds a node to the cluster configuration. This call is for internal use.
42
43 `<node>`: `<string>` ::
44
45 The cluster node name.
46
47 `--force` `<boolean>` ::
48
49 Do not throw error if node already exists.
50
51 `--nodeid` `<integer> (1 - N)` ::
52
53 Node id for this node.
54
55 `--ring0_addr` `<string>` ('default =' `Hostname of the node`)::
56
57 Hostname (or IP) of the corosync ring0 address of this node.
58
59 `--ring1_addr` `<string>` ::
60
61 Hostname (or IP) of the corosync ring1 address of this node. Requires a valid configured ring 1 (bindnet1_addr) in the cluster.
62
63 `--votes` `<integer> (0 - N)` ::
64
65 Number of votes for this node
66
67 *pvecm create* `<clustername>` `[OPTIONS]`
68
69 Generate new cluster configuration.
70
71 `<clustername>`: `<string>` ::
72
73 The name of the cluster.
74
75 `--bindnet0_addr` `<string>` ::
76
77 This specifies the network address the corosync ring 0 executive should bind to and defaults to the local IP address of the node.
78
79 `--bindnet1_addr` `<string>` ::
80
81 This specifies the network address the corosync ring 1 executive should bind to and is optional.
82
83 `--nodeid` `<integer> (1 - N)` ::
84
85 Node id for this node.
86
87 `--ring0_addr` `<string>` ('default =' `Hostname of the node`)::
88
89 Hostname (or IP) of the corosync ring0 address of this node.
90
91 `--ring1_addr` `<string>` ::
92
93 Hostname (or IP) of the corosync ring1 address of this node. Requires a valid configured ring 1 (bindnet1_addr) in the cluster.
94
95 `--votes` `<integer> (1 - N)` ::
96
97 Number of votes for this node.
98
99 *pvecm delnode* `<node>`
100
101 Removes a node from the cluster configuration.
102
103 `<node>`: `<string>` ::
104
105 The cluster node name.
106
107 *pvecm expected* `<expected>`
108
109 Tells corosync a new value of expected votes.
110
111 `<expected>`: `<integer> (1 - N)` ::
112
113 Expected votes
114
115 *pvecm help* `[OPTIONS]`
116
117 Get help about specified command.
118
119 `--extra-args` `<array>` ::
120
121 Shows help for a specific command
122
123 `--verbose` `<boolean>` ::
124
125 Verbose output format.
126
127 *pvecm keygen* `<filename>`
128
129 Generate new cryptographic key for corosync.
130
131 `<filename>`: `<string>` ::
132
133 Output file name
134
135 *pvecm mtunnel* `[<extra-args>]` `[OPTIONS]`
136
137 Used by VM/CT migration - do not use manually.
138
139 `<extra-args>`: `<array>` ::
140
141 Extra arguments as array
142
143 `--get_migration_ip` `<boolean>` ('default =' `0`)::
144
145 return the migration IP, if configured
146
147 `--migration_network` `<string>` ::
148
149 the migration network used to detect the local migration IP
150
151 `--run-command` `<boolean>` ::
152
153 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.
154
155 *pvecm nodes*
156
157 Displays the local view of the cluster nodes.
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