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