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