]> git.proxmox.com Git - pve-docs.git/blame_incremental - pvecm.1-synopsis.adoc
fix HA manager build
[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`-force` `boolean` ::
12
13Do not throw error if node already exists.
14
15`-nodeid` `integer (1 - N)` ::
16
17Node id for this node.
18
19`-ring0_addr` `string` ::
20
21Hostname (or IP) of the corosync ring0 address of this node. Defaults to
22nodes hostname.
23
24`-ring1_addr` `string` ::
25
26Hostname (or IP) of the corosync ring1 address, this needs an valid
27configured ring 1 interface in the cluster.
28
29`-votes` `integer (0 - N)` ::
30
31Number of votes for this node
32
33
34
35*pvecm addnode* `<node>` `[OPTIONS]`
36
37Adds a node to the cluster configuration.
38
39`<node>` `string` ::
40
41The cluster node name.
42
43`-force` `boolean` ::
44
45Do not throw error if node already exists.
46
47`-nodeid` `integer (1 - N)` ::
48
49Node id for this node.
50
51`-ring0_addr` `string` ::
52
53Hostname (or IP) of the corosync ring0 address of this node. Defaults to
54nodes hostname.
55
56`-ring1_addr` `string` ::
57
58Hostname (or IP) of the corosync ring1 address, this needs an valid
59bindnet1_addr.
60
61`-votes` `integer (0 - N)` ::
62
63Number of votes for this node
64
65
66
67*pvecm create* `<clustername>` `[OPTIONS]`
68
69Generate new cluster configuration.
70
71`<clustername>` `string` ::
72
73The name of the cluster.
74
75`-bindnet0_addr` `string` ::
76
77This specifies the network address the corosync ring 0 executive should
78bind to and defaults to the local IP address of the node.
79
80`-bindnet1_addr` `string` ::
81
82This specifies the network address the corosync ring 1 executive should
83bind to and is optional.
84
85`-nodeid` `integer (1 - N)` ::
86
87Node id for this node.
88
89`-ring0_addr` `string` ::
90
91Hostname (or IP) of the corosync ring0 address of this node. Defaults to
92the hostname of the node.
93
94`-ring1_addr` `string` ::
95
96Hostname (or IP) of the corosync ring1 address, this needs an valid
97bindnet1_addr.
98
99`-rrp_mode` `(active | none | passive)` (default=`none`)::
100
101This specifies the mode of redundant ring, which may be none, active or
102passive. Using multiple interfaces only allows 'active' or 'passive'.
103
104`-votes` `integer (1 - N)` ::
105
106Number of votes for this node.
107
108
109
110*pvecm delnode* `<node>`
111
112Removes a node to the cluster configuration.
113
114`<node>` `string` ::
115
116The cluster node name.
117
118
119
120*pvecm expected* `<expected>`
121
122Tells corosync a new value of expected votes.
123
124`<expected>` `integer (1 - N)` ::
125
126Expected votes
127
128
129
130
131*pvecm help* `[<cmd>]` `[OPTIONS]`
132
133Get help about specified command.
134
135`<cmd>` `string` ::
136
137Command name
138
139`-verbose` `boolean` ::
140
141Verbose output format.
142
143
144
145
146*pvecm keygen* `<filename>`
147
148Generate new cryptographic key for corosync.
149
150`<filename>` `string` ::
151
152Output file name
153
154
155
156*pvecm nodes*
157
158Displays the local view of the cluster nodes.
159
160
161
162*pvecm status*
163
164Displays the local view of the cluster status.
165
166
167
168*pvecm updatecerts* `[OPTIONS]`
169
170Update node certificates (and generate all needed files/directories).
171
172`-force` `boolean` ::
173
174Force generation of new SSL certifate.
175
176`-silent` `boolean` ::
177
178Ignore errors (i.e. when cluster has no quorum).
179
180
181
182