]>
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 | |
c2993fe5 | 21 | Hostname (or IP) of the corosync ring0 address of this node. Defaults to nodes hostname. |
d8742b0c | 22 | |
9b3e4991 | 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 | |
9b3e4991 | 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 | ||
9b3e4991 | 37 | `<node>` `string` :: |
d8742b0c | 38 | |
9b3e4991 | 39 | The cluster node name. |
d8742b0c | 40 | |
9b3e4991 | 41 | `-force` `boolean` :: |
d8742b0c | 42 | |
9b3e4991 | 43 | Do not throw error if node already exists. |
d8742b0c | 44 | |
9b3e4991 | 45 | `-nodeid` `integer (1 - N)` :: |
d8742b0c | 46 | |
9b3e4991 | 47 | Node id for this node. |
d8742b0c | 48 | |
9b3e4991 | 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 | |
9b3e4991 | 53 | `-ring1_addr` `string` :: |
d8742b0c | 54 | |
c2993fe5 | 55 | Hostname (or IP) of the corosync ring1 address, this needs an valid bindnet1_addr. |
d8742b0c | 56 | |
9b3e4991 | 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 | ||
9b3e4991 | 67 | `<clustername>` `string` :: |
d8742b0c | 68 | |
9b3e4991 | 69 | The name of the cluster. |
d8742b0c | 70 | |
9b3e4991 | 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 | |
9b3e4991 | 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 | |
9b3e4991 | 79 | `-nodeid` `integer (1 - N)` :: |
d8742b0c | 80 | |
9b3e4991 | 81 | Node id for this node. |
d8742b0c | 82 | |
9b3e4991 | 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 | |
9b3e4991 | 87 | `-ring1_addr` `string` :: |
d8742b0c | 88 | |
c2993fe5 | 89 | Hostname (or IP) of the corosync ring1 address, this needs an valid bindnet1_addr. |
d8742b0c | 90 | |
9b3e4991 | 91 | `-rrp_mode` `(active | none | passive)` (default=`none`):: |
d8742b0c | 92 | |
c2993fe5 | 93 | This specifies the mode of redundant ring, which may be none, active or passive. Using multiple interfaces only allows 'active' or 'passive'. |
d8742b0c | 94 | |
9b3e4991 | 95 | `-votes` `integer (1 - N)` :: |
d8742b0c | 96 | |
9b3e4991 | 97 | Number of votes for this node. |
d8742b0c DM |
98 | |
99 | ||
100 | ||
101 | *pvecm delnode* `<node>` | |
102 | ||
103 | Removes a node to the cluster configuration. | |
104 | ||
9b3e4991 | 105 | `<node>` `string` :: |
d8742b0c | 106 | |
9b3e4991 | 107 | The cluster node name. |
d8742b0c DM |
108 | |
109 | ||
110 | ||
111 | *pvecm expected* `<expected>` | |
112 | ||
113 | Tells corosync a new value of expected votes. | |
114 | ||
9b3e4991 | 115 | `<expected>` `integer (1 - N)` :: |
d8742b0c | 116 | |
9b3e4991 | 117 | Expected votes |
d8742b0c DM |
118 | |
119 | ||
120 | ||
121 | ||
122 | *pvecm help* `[<cmd>]` `[OPTIONS]` | |
123 | ||
124 | Get help about specified command. | |
125 | ||
9b3e4991 | 126 | `<cmd>` `string` :: |
d8742b0c | 127 | |
9b3e4991 | 128 | Command name |
d8742b0c | 129 | |
9b3e4991 | 130 | `-verbose` `boolean` :: |
d8742b0c | 131 | |
9b3e4991 | 132 | Verbose output format. |
d8742b0c DM |
133 | |
134 | ||
135 | ||
136 | ||
137 | *pvecm keygen* `<filename>` | |
138 | ||
139 | Generate new cryptographic key for corosync. | |
140 | ||
9b3e4991 | 141 | `<filename>` `string` :: |
d8742b0c | 142 | |
9b3e4991 | 143 | Output file name |
d8742b0c DM |
144 | |
145 | ||
146 | ||
147 | *pvecm nodes* | |
148 | ||
149 | Displays the local view of the cluster nodes. | |
150 | ||
151 | ||
152 | ||
153 | *pvecm status* | |
154 | ||
155 | Displays the local view of the cluster status. | |
156 | ||
157 | ||
158 | ||
159 | *pvecm updatecerts* `[OPTIONS]` | |
160 | ||
161 | Update node certificates (and generate all needed files/directories). | |
162 | ||
9b3e4991 | 163 | `-force` `boolean` :: |
d8742b0c | 164 | |
9b3e4991 | 165 | Force generation of new SSL certifate. |
d8742b0c | 166 | |
9b3e4991 | 167 | `-silent` `boolean` :: |
d8742b0c | 168 | |
9b3e4991 | 169 | Ignore errors (i.e. when cluster has no quorum). |
d8742b0c DM |
170 | |
171 | ||
172 | ||
173 |