]>
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 | |
27a7acb2 DM |
11 | `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` :: |
12 | ||
13 | Certificate SHA 256 fingerprint. | |
14 | ||
2489d6df | 15 | `--force` `<boolean>` :: |
d8742b0c | 16 | |
9b3e4991 | 17 | Do not throw error if node already exists. |
d8742b0c | 18 | |
1e3f8156 | 19 | `--link[n]` `[address=]<IP> [,priority=<integer>]` :: |
d8742b0c | 20 | |
1e3f8156 | 21 | Address and priority information of a single corosync link. |
d8742b0c | 22 | |
1e3f8156 | 23 | `--nodeid` `<integer> (1 - N)` :: |
d8742b0c | 24 | |
1e3f8156 | 25 | Node id for this node. |
27a7acb2 DM |
26 | |
27 | `--use_ssh` `<boolean>` :: | |
28 | ||
29 | Always use SSH to join, even if peer may do it over API. | |
d8742b0c | 30 | |
2489d6df | 31 | `--votes` `<integer> (0 - N)` :: |
d8742b0c | 32 | |
9b3e4991 | 33 | Number of votes for this node |
d8742b0c | 34 | |
d8742b0c DM |
35 | *pvecm addnode* `<node>` `[OPTIONS]` |
36 | ||
e2d681b3 | 37 | Adds a node to the cluster configuration. This call is for internal use. |
d8742b0c | 38 | |
013dc89f | 39 | `<node>`: `<string>` :: |
d8742b0c | 40 | |
9b3e4991 | 41 | The cluster node name. |
d8742b0c | 42 | |
2489d6df | 43 | `--force` `<boolean>` :: |
d8742b0c | 44 | |
9b3e4991 | 45 | Do not throw error if node already exists. |
d8742b0c | 46 | |
1e3f8156 | 47 | `--link[n]` `[address=]<IP> [,priority=<integer>]` :: |
d8742b0c | 48 | |
1e3f8156 | 49 | Address and priority information of a single corosync link. |
d8742b0c | 50 | |
1e3f8156 | 51 | `--nodeid` `<integer> (1 - N)` :: |
d8742b0c | 52 | |
1e3f8156 | 53 | Node id for this node. |
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 | |
1e3f8156 | 67 | `--link[n]` `[address=]<IP> [,priority=<integer>]` :: |
d8742b0c | 68 | |
1e3f8156 | 69 | Address and priority information of a single corosync link. |
d8742b0c | 70 | |
2489d6df | 71 | `--nodeid` `<integer> (1 - N)` :: |
d8742b0c | 72 | |
9b3e4991 | 73 | Node id for this node. |
d8742b0c | 74 | |
2489d6df | 75 | `--votes` `<integer> (1 - N)` :: |
d8742b0c | 76 | |
9b3e4991 | 77 | Number of votes for this node. |
d8742b0c | 78 | |
d8742b0c DM |
79 | *pvecm delnode* `<node>` |
80 | ||
27a7acb2 | 81 | Removes a node from the cluster configuration. |
d8742b0c | 82 | |
013dc89f | 83 | `<node>`: `<string>` :: |
d8742b0c | 84 | |
27a7acb2 | 85 | The cluster node name. |
d8742b0c | 86 | |
d8742b0c DM |
87 | *pvecm expected* `<expected>` |
88 | ||
89 | Tells corosync a new value of expected votes. | |
90 | ||
013dc89f | 91 | `<expected>`: `<integer> (1 - N)` :: |
d8742b0c | 92 | |
9b3e4991 | 93 | Expected votes |
d8742b0c | 94 | |
35a75dd3 | 95 | *pvecm help* `[OPTIONS]` |
d8742b0c DM |
96 | |
97 | Get help about specified command. | |
98 | ||
35a75dd3 | 99 | `--extra-args` `<array>` :: |
d8742b0c | 100 | |
35a75dd3 | 101 | Shows help for a specific command |
d8742b0c | 102 | |
2489d6df | 103 | `--verbose` `<boolean>` :: |
d8742b0c | 104 | |
9b3e4991 | 105 | Verbose output format. |
d8742b0c | 106 | |
d8742b0c DM |
107 | *pvecm keygen* `<filename>` |
108 | ||
109 | Generate new cryptographic key for corosync. | |
110 | ||
013dc89f | 111 | `<filename>`: `<string>` :: |
d8742b0c | 112 | |
9b3e4991 | 113 | Output file name |
d8742b0c | 114 | |
9226ccbc TL |
115 | *pvecm mtunnel* `[<extra-args>]` `[OPTIONS]` |
116 | ||
117 | Used by VM/CT migration - do not use manually. | |
118 | ||
119 | `<extra-args>`: `<array>` :: | |
120 | ||
121 | Extra arguments as array | |
122 | ||
123 | `--get_migration_ip` `<boolean>` ('default =' `0`):: | |
124 | ||
125 | return the migration IP, if configured | |
126 | ||
127 | `--migration_network` `<string>` :: | |
128 | ||
129 | the migration network used to detect the local migration IP | |
130 | ||
131 | `--run-command` `<boolean>` :: | |
132 | ||
133 | 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. | |
134 | ||
d8742b0c DM |
135 | *pvecm nodes* |
136 | ||
137 | Displays the local view of the cluster nodes. | |
138 | ||
95895385 TL |
139 | *pvecm qdevice remove* |
140 | ||
141 | Remove a configured QDevice | |
142 | ||
143 | *pvecm qdevice setup* `<address>` `[OPTIONS]` | |
144 | ||
145 | Setup the use of a QDevice | |
146 | ||
147 | `<address>`: `<string>` :: | |
148 | ||
149 | Specifies the network address of an external corosync QDevice | |
150 | ||
151 | `--force` `<boolean>` :: | |
152 | ||
153 | Do not throw error on possible dangerous operations. | |
154 | ||
155 | `--network` `<string>` :: | |
156 | ||
157 | The network which should be used to connect to the external qdevice | |
158 | ||
d8742b0c DM |
159 | *pvecm status* |
160 | ||
161 | Displays the local view of the cluster status. | |
162 | ||
d8742b0c DM |
163 | *pvecm updatecerts* `[OPTIONS]` |
164 | ||
165 | Update node certificates (and generate all needed files/directories). | |
166 | ||
2489d6df | 167 | `--force` `<boolean>` :: |
d8742b0c | 168 | |
9b3e4991 | 169 | Force generation of new SSL certifate. |
d8742b0c | 170 | |
2489d6df | 171 | `--silent` `<boolean>` :: |
d8742b0c | 172 | |
9b3e4991 | 173 | Ignore errors (i.e. when cluster has no quorum). |
d8742b0c DM |
174 | |
175 |