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