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