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