source: gpfs_3.1_ker2.6.20/share/man/man8/mmcrcluster.8 @ 90

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