1 | .TH mmcrcluster 02/16/06 |
---|
2 | mmcrcluster Command |
---|
3 | .SH "Name" |
---|
4 | .PP |
---|
5 | \fBmmcrcluster\fR - Creates a GPFS cluster from a set of |
---|
6 | nodes. |
---|
7 | .SH "Synopsis" |
---|
8 | .PP |
---|
9 | \fBmmcrcluster\fR \fB-N\fR |
---|
10 | {\fINodeDesc\fR[,\fINodeDesc\fR...] | |
---|
11 | \fINodeFile\fR} \fB-p\fR \fIPrimaryServer\fR [\fB-s\fR |
---|
12 | \fISecondaryServer\fR] [\fB-r\fR |
---|
13 | \fIRemoteShellCommand\fR] [\fB-R\fR |
---|
14 | \fIRemoteFileCopyCommand\fR] [\fB-C\fR |
---|
15 | \fIClusterName\fR] [\fB-U\fR \fIDomainName\fR] |
---|
16 | [\fB-A\fR] [\fB-c\fR \fIConfigFile\fR] |
---|
17 | .SH "Description" |
---|
18 | .PP |
---|
19 | Use the \fBmmcrcluster\fR command to create a GPFS cluster. |
---|
20 | .PP |
---|
21 | Upon successful completion of the \fBmmcrcluster\fR command, the |
---|
22 | \fB/var/mmfs/gen/mmsdrfs\fR and the \fB/var/mmfs/gen/mmfsNodeData\fR |
---|
23 | files are created on each of the nodes in the cluster. Do not delete |
---|
24 | these files under any circumstances. For further information, see the |
---|
25 | \fIGeneral Parallel File System: |
---|
26 | Concepts, Planning, and Installation Guide\fR. |
---|
27 | .PP |
---|
28 | You must follow these rules when creating your GPFS cluster: |
---|
29 | .RS +3 |
---|
30 | .HP 3 |
---|
31 | \(bu While a node may mount file systems from multiple clusters, the node |
---|
32 | itself may only be added to a single cluster using the \fBmmcrcluster\fR or |
---|
33 | \fBmmaddnode\fR command. |
---|
34 | .HP 3 |
---|
35 | \(bu The nodes must be available for the command to be successful. If |
---|
36 | any of the nodes listed are not available when the command is issued, a |
---|
37 | message listing those nodes is displayed. You must correct the problem |
---|
38 | on each node and issue the |
---|
39 | \fBmmaddnode\fR command to |
---|
40 | add those nodes. |
---|
41 | .HP 3 |
---|
42 | \(bu |
---|
43 | You must designate at least one node as a quorum node. You are strongly |
---|
44 | advised to designate the cluster configuration servers as quorum nodes. |
---|
45 | How many quorum nodes altogether you will have depends on whether you intend |
---|
46 | to use the node quorum with tiebreaker algorithm. or the regular node |
---|
47 | based quorum algorithm. For more details, see the |
---|
48 | \fIGeneral Parallel File System: Concepts, |
---|
49 | Planning, and Installation Guide\fR and search for \fIdesignating |
---|
50 | quorum nodes\fR. |
---|
51 | .RE |
---|
52 | .SH "Parameters" |
---|
53 | .PP |
---|
54 | .RS +3 |
---|
55 | \fB\fB-A\fR |
---|
56 | \fR |
---|
57 | .RE |
---|
58 | .RS +9 |
---|
59 | Specifies that GPFS daemons are to be automatically started when nodes |
---|
60 | come up. The default is not to start daemons automatically. |
---|
61 | .RE |
---|
62 | .PP |
---|
63 | .RS +3 |
---|
64 | \fB\fB-C\fR \fIClusterName\fR |
---|
65 | \fR |
---|
66 | .RE |
---|
67 | .RS +9 |
---|
68 | Specifies a name for the cluster. If the user-provided name |
---|
69 | contains dots, it is assumed to be a fully qualified domain name. |
---|
70 | Otherwise, to make the cluster name unique, the domain of the primary |
---|
71 | configuration server will be appended to the user-provided name. |
---|
72 | .PP |
---|
73 | If the \fB-C\fR flag is omitted, the cluster name defaults to the name |
---|
74 | of the primary GPFS cluster configuration server. |
---|
75 | .RE |
---|
76 | .PP |
---|
77 | .RS +3 |
---|
78 | \fB\fB-c\fR \fIConfigFile\fR |
---|
79 | \fR |
---|
80 | .RE |
---|
81 | .RS +9 |
---|
82 | Specifies a file containing GPFS configuration parameters with values |
---|
83 | different than the documented defaults. A sample file can be found in |
---|
84 | \fB/usr/lpp/mmfs/samples/mmfs.cfg.sample\fR. See the |
---|
85 | \fBmmchconfig\fR command for a detailed description |
---|
86 | of the different configuration parameters. |
---|
87 | .PP |
---|
88 | The \fB-c\fR \fB\fIConfigFile\fR\fR parameter should be |
---|
89 | used only by experienced administrators. Use this file to set up only |
---|
90 | those parameters that appear in the \fBmmfs.cfg.sample\fR |
---|
91 | file. Changes to any other values may be ignored by GFPS. When |
---|
92 | in doubt, use the |
---|
93 | \fBmmchconfig\fR command |
---|
94 | instead. |
---|
95 | .RE |
---|
96 | .PP |
---|
97 | .RS +3 |
---|
98 | \fB-N \fINodeDesc\fR[,\fINodeDesc\fR...] | |
---|
99 | \fINodeFile\fR |
---|
100 | \fR |
---|
101 | .RE |
---|
102 | .RS +9 |
---|
103 | \fINodeFile\fR specifies the file containing the list of node |
---|
104 | descriptors (see below), one per line, to be included in the GPFS |
---|
105 | cluster. |
---|
106 | .RE |
---|
107 | .PP |
---|
108 | .RS +3 |
---|
109 | \fB\fINodeDesc\fR[,\fINodeDesc\fR...] |
---|
110 | \fR |
---|
111 | .RE |
---|
112 | .RS +9 |
---|
113 | Specifies the list of nodes and node designations to be included in the |
---|
114 | GPFS cluster. Node descriptors are defined as: |
---|
115 | .sp |
---|
116 | .nf |
---|
117 | NodeName:NodeDesignations:AdminNodeName |
---|
118 | .fi |
---|
119 | .sp |
---|
120 | .PP |
---|
121 | where: |
---|
122 | .RS +3 |
---|
123 | .HP 3 |
---|
124 | 1. \fBNodeName\fR is the hostname or IP address to be used by the GPFS |
---|
125 | daemon for node to node communication. |
---|
126 | .sp |
---|
127 | The hostname or IP address must refer to the communications adapter over |
---|
128 | which the GPFS daemons communicate. Alias interfaces are not |
---|
129 | allowed. Use the original address or a name that is resolved by the |
---|
130 | \fBhost\fR command to that original address. You may specify a node |
---|
131 | using any of these forms: |
---|
132 | .br |
---|
133 | .sp |
---|
134 | .RS +0.1i |
---|
135 | .nf |
---|
136 | .TS |
---|
137 | tab(~); |
---|
138 | l l. |
---|
139 | Format~Example |
---|
140 | \fBShort hostname\fR~k145n01 |
---|
141 | \fBLong hostname\fR~k145n01.kgn.ibm.com |
---|
142 | \fBIP address\fR~9.119.19.102 |
---|
143 | .TE |
---|
144 | .sp |
---|
145 | .fi |
---|
146 | .RE |
---|
147 | .HP 3 |
---|
148 | 2. \fBNodeDesignations\fR is an optional, '-' separated list of |
---|
149 | node roles. |
---|
150 | .RS +3 |
---|
151 | .HP 3 |
---|
152 | \(bu \fBmanager\fR | \fB\fIclient\fR\fR Indicates whether a node is |
---|
153 | part of the pool of nodes from which configuration managers, file system |
---|
154 | managers, and token managers are selected. The default is |
---|
155 | \fBclient\fR. |
---|
156 | .HP 3 |
---|
157 | \(bu \fBquorum\fR | \fB\fInonquorum\fR\fR Indicates whether a node is |
---|
158 | counted as a quorum node. The default is \fBnonquorum\fR. |
---|
159 | .RE |
---|
160 | .HP 3 |
---|
161 | 3. \fBAdminNodeName\fR is an optional field that consists of a node name |
---|
162 | to be used by the administration commands to communicate between nodes. |
---|
163 | .sp |
---|
164 | .sp |
---|
165 | If \fBAdminNodeName\fR is not specified, the \fBNodeName\fR value is |
---|
166 | used. |
---|
167 | .RE |
---|
168 | .PP |
---|
169 | You must provide a descriptor for each node to be added to the GPFS |
---|
170 | cluster. |
---|
171 | .RE |
---|
172 | .PP |
---|
173 | .RS +3 |
---|
174 | \fB-p \fIPrimaryServer\fR |
---|
175 | \fR |
---|
176 | .RE |
---|
177 | .RS +9 |
---|
178 | Specifies the primary GPFS cluster configuration server node used to store |
---|
179 | the GPFS configuration data. This node must be a member of the GPFS |
---|
180 | cluster. |
---|
181 | .RE |
---|
182 | .PP |
---|
183 | .RS +3 |
---|
184 | \fB-R \fIRemoteFileCopy\fR |
---|
185 | \fR |
---|
186 | .RE |
---|
187 | .RS +9 |
---|
188 | Specifies the fully-qualified path name for the remote file copy program |
---|
189 | to be used by GPFS. The default value is |
---|
190 | \fB/usr/bin/rcp\fR. |
---|
191 | .PP |
---|
192 | The remote copy command must adhere to the same syntax format as the |
---|
193 | \fBrcp\fR command, but may implement an alternate authentication |
---|
194 | mechanism. |
---|
195 | .RE |
---|
196 | .PP |
---|
197 | .RS +3 |
---|
198 | \fB-r \fIRemoteShellCommand\fR |
---|
199 | \fR |
---|
200 | .RE |
---|
201 | .RS +9 |
---|
202 | Specifies the fully-qualified path name for the remote shell program to be |
---|
203 | used by GPFS. The default value is \fB/usr/bin/rsh\fR. |
---|
204 | .PP |
---|
205 | The remote shell command must adhere to the same syntax format as the |
---|
206 | \fBrsh\fR command, but may implement an alternate authentication |
---|
207 | mechanism. |
---|
208 | .RE |
---|
209 | .PP |
---|
210 | .RS +3 |
---|
211 | \fB-s \fISecondaryServer\fR |
---|
212 | \fR |
---|
213 | .RE |
---|
214 | .RS +9 |
---|
215 | Specifies the secondary GPFS cluster configuration server node used to |
---|
216 | store the GPFS cluster data. This node must be a member of the GPFS |
---|
217 | cluster. |
---|
218 | .PP |
---|
219 | It is suggested that you specify a secondary GPFS cluster configuration |
---|
220 | server to prevent the loss of configuration data in the event your primary |
---|
221 | GPFS cluster configuration server goes down. When the GPFS daemon |
---|
222 | starts up, at least one of the two GPFS cluster configuration servers must be |
---|
223 | accessible. |
---|
224 | .PP |
---|
225 | If your primary GPFS cluster configuration server fails and you have not |
---|
226 | designated a secondary server, the GPFS cluster configuration files are |
---|
227 | inaccessible, and any GPFS administration commands that are issued |
---|
228 | fail. File system mounts or daemon startups also fail if no GPFS |
---|
229 | cluster configuration server is available. |
---|
230 | .RE |
---|
231 | .PP |
---|
232 | .RS +3 |
---|
233 | \fB-U \fIDomainName\fR |
---|
234 | \fR |
---|
235 | .RE |
---|
236 | .RS +9 |
---|
237 | Specifies the UID domain name for the cluster. |
---|
238 | .PP |
---|
239 | A detailed description of the GPFS user ID remapping convention is |
---|
240 | contained in \fI\fIUID Mapping for GPFS In a Multi-Cluster |
---|
241 | Environment\fR\fR at www.ibm.com/servers/eserver/clusters/library/wp_aix_lit.html. |
---|
242 | .RE |
---|
243 | .SH "Exit status" |
---|
244 | .PP |
---|
245 | .PP |
---|
246 | .RS +3 |
---|
247 | \fB0 |
---|
248 | \fR |
---|
249 | .RE |
---|
250 | .RS +9 |
---|
251 | Successful completion. |
---|
252 | .RE |
---|
253 | .PP |
---|
254 | .RS +3 |
---|
255 | \fBnonzero |
---|
256 | \fR |
---|
257 | .RE |
---|
258 | .RS +9 |
---|
259 | A failure has occurred. |
---|
260 | .RE |
---|
261 | .SH "Security" |
---|
262 | .PP |
---|
263 | You must have root authority to run the \fBmmcrcluster\fR |
---|
264 | command. |
---|
265 | .PP |
---|
266 | You may issue the \fBmmcrcluster\fR command from any node in the GPFS |
---|
267 | cluster. |
---|
268 | .PP |
---|
269 | A properly configured \fB.rhosts\fR file must exist in the root |
---|
270 | user's home directory on each node in the GPFS cluster. If you |
---|
271 | have designated the use of a different remote communication program on either |
---|
272 | the \fBmmcrcluster\fR or the |
---|
273 | \fBmmchcluster\fR |
---|
274 | command, you must ensure: |
---|
275 | .RS +3 |
---|
276 | .HP 3 |
---|
277 | 1. Proper authorization is granted to all nodes in the GPFS cluster. |
---|
278 | .HP 3 |
---|
279 | 2. The nodes in the GPFS cluster can communicate without the use of a |
---|
280 | password, and without any extraneous messages. |
---|
281 | .RE |
---|
282 | .SH "Examples" |
---|
283 | .PP |
---|
284 | To create a GPFS cluster made of all of the nodes listed in the file |
---|
285 | \fB/u/admin/nodelist\fR, using node \fBk164n05\fR as the primary |
---|
286 | server, and node \fBk164n04\fR as the secondary server, issue: |
---|
287 | .sp |
---|
288 | .nf |
---|
289 | mmcrcluster -N /u/admin/nodelist -p k164n05 -s k164n04 |
---|
290 | .fi |
---|
291 | .sp |
---|
292 | .PP |
---|
293 | where \fB/u/admin/nodelist\fR has the these contents: |
---|
294 | .sp |
---|
295 | .nf |
---|
296 | k164n04.kgn.ibm.com:quorum |
---|
297 | k164n05.kgn.ibm.com:quorum |
---|
298 | k164n06.kgn.ibm.com |
---|
299 | .fi |
---|
300 | .sp |
---|
301 | .PP |
---|
302 | The output of the command is similar to: |
---|
303 | .sp |
---|
304 | .nf |
---|
305 | Mon Aug 9 22:14:34 EDT 2004: 6027-1664 mmcrcluster: Processing node |
---|
306 | k164n04.kgn.ibm.com |
---|
307 | Mon Aug 9 22:14:38 EDT 2004: 6027-1664 mmcrcluster: Processing node\ |
---|
308 | k164n05.kgn.ibm.com |
---|
309 | Mon Aug 9 22:14:42 EDT 2004: 6027-1664 mmcrcluster: Processing node\ |
---|
310 | k164n06.kgn.ibm.com |
---|
311 | mmcrcluster: Command successfully completed |
---|
312 | mmcrcluster: 6027-1371 Propagating the changes to all affected. |
---|
313 | nodes. This is an asynchronous process. |
---|
314 | .fi |
---|
315 | .sp |
---|
316 | .PP |
---|
317 | To confirm the creation, issue this command: |
---|
318 | .sp |
---|
319 | .nf |
---|
320 | mmlscluster |
---|
321 | .fi |
---|
322 | .sp |
---|
323 | .PP |
---|
324 | The system displays information similar to: |
---|
325 | .sp |
---|
326 | .nf |
---|
327 | GPFS cluster information |
---|
328 | ======================== |
---|
329 | GPFS cluster name: k164n05.kgn.ibm.com |
---|
330 | GPFS cluster id: 680681562214606028 |
---|
331 | GPFS UID domain: k164n05.kgn.ibm.com |
---|
332 | Remote shell command: /usr/bin/rsh |
---|
333 | Remote file copy command: /usr/bin/rcp |
---|
334 | GPFS cluster configuration servers: |
---|
335 | ----------------------------------- |
---|
336 | Primary server: k164n05.kgn.ibm.com |
---|
337 | Secondary server: k164n04.kgn.ibm.com |
---|
338 | Node Daemon node name IP address Admin node name Designation |
---|
339 | --------------------------------------------------------------------- |
---|
340 | 1 k164n04.kgn.ibm.com 198.117.68.68 k164n04.kgn.ibm.com quorum |
---|
341 | 2 k164n05.kgn.ibm.com 198.117.68.71 k164n05.kgn.ibm.com quorum |
---|
342 | 3 k164n06.kgn.ibm.com 198.117.68.70 k164n06.kgn.ibm.com |
---|
343 | .fi |
---|
344 | .sp |
---|
345 | .SH "See also" |
---|
346 | .PP |
---|
347 | mmaddnode Command |
---|
348 | .PP |
---|
349 | mmchconfig Command |
---|
350 | .PP |
---|
351 | mmdelnode Command |
---|
352 | .PP |
---|
353 | mmlscluster Command |
---|
354 | .PP |
---|
355 | mmlsconfig Command |
---|
356 | .SH "Location" |
---|
357 | .PP |
---|
358 | \fB/usr/lpp/mmfs/bin\fR |
---|
359 | .PP |
---|