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