]> git.proxmox.com Git - pve-docs.git/blame - pvecm.1-synopsis.adoc
README.adoc: explain howto include screenshots
[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`-rrp_mode` `<active | none | passive>` ('default =' `none`)::
d8742b0c 92
c2993fe5 93This specifies the mode of redundant ring, which may be none, active or passive. Using multiple interfaces only allows 'active' or 'passive'.
d8742b0c 94
013dc89f 95`-votes` `<integer> (1 - N)` ::
d8742b0c 96
9b3e4991 97Number of votes for this node.
d8742b0c
DM
98
99
100
101*pvecm delnode* `<node>`
102
103Removes a node to the cluster configuration.
104
013dc89f 105`<node>`: `<string>` ::
d8742b0c 106
2c0dde61 107Hostname or IP of the corosync ring0 address of this node.
d8742b0c
DM
108
109
110
111*pvecm expected* `<expected>`
112
113Tells corosync a new value of expected votes.
114
013dc89f 115`<expected>`: `<integer> (1 - N)` ::
d8742b0c 116
9b3e4991 117Expected votes
d8742b0c
DM
118
119
120
121
122*pvecm help* `[<cmd>]` `[OPTIONS]`
123
124Get help about specified command.
125
013dc89f 126`<cmd>`: `<string>` ::
d8742b0c 127
9b3e4991 128Command name
d8742b0c 129
013dc89f 130`-verbose` `<boolean>` ::
d8742b0c 131
9b3e4991 132Verbose output format.
d8742b0c
DM
133
134
135
136
137*pvecm keygen* `<filename>`
138
139Generate new cryptographic key for corosync.
140
013dc89f 141`<filename>`: `<string>` ::
d8742b0c 142
9b3e4991 143Output file name
d8742b0c
DM
144
145
146
de0983cb
DM
147*pvecm mtunnel* `[OPTIONS]`
148
149Used by VM/CT migration - do not use manually.
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
159
160
d8742b0c
DM
161*pvecm nodes*
162
163Displays the local view of the cluster nodes.
164
165
166
167*pvecm status*
168
169Displays the local view of the cluster status.
170
171
172
173*pvecm updatecerts* `[OPTIONS]`
174
175Update node certificates (and generate all needed files/directories).
176
013dc89f 177`-force` `<boolean>` ::
d8742b0c 178
9b3e4991 179Force generation of new SSL certifate.
d8742b0c 180
013dc89f 181`-silent` `<boolean>` ::
d8742b0c 182
9b3e4991 183Ignore errors (i.e. when cluster has no quorum).
d8742b0c
DM
184
185
186
187