source: gpfs_3.1_ker2.6.20/share/man/man8/mmchcluster.8 @ 118

Last change on this file since 118 was 16, checked in by rock, 17 years ago
File size: 7.4 KB
Line 
1.TH mmchcluster 02/16/06
2mmchcluster Command
3.SH "Name"
4.PP
5\fBmmchcluster\fR - Changes GPFS cluster configuration data.
6.SH "Synopsis"
7.PP
8\fBmmchcluster\fR {[\fB-p\fR \fIPrimaryServer\fR]
9[\fB-s\fR \fISecondaryServer\fR]}
10.PP
11Or,
12.PP
13\fBmmchcluster\fR \fB-p\fR \fBLATEST\fR
14.PP
15Or,
16.PP
17\fBmmchcluster\fR {[\fB-r\fR \fIRemoteShellCommand\fR]
18[\fB-R\fR \fIRemoteFileCopyCommand\fR]}
19.PP
20Or,
21.PP
22\fBmmchcluster\fR \fB-C\fR \fIClusterName\fR
23.PP
24Or,
25.PP
26\fBmmchcluster\fR \fB-N
27{\fR\fINodeDesc\fR[,\fINodeDesc\fR...] |
28\fINodeFile\fR\fB}\fR
29.SH "Description"
30.PP
31The \fBmmchcluster\fR command serves several purposes:
32.RS +3
33.HP 3
341. Change the primary or secondary GPFS cluster configuration server.
35.HP 3
362. Synchronize the primary GPFS cluster configuration server.
37.HP 3
383. Change the remote shell and remote file copy programs to be used by the
39nodes in the cluster.
40.HP 3
414. Change the cluster name.
42.HP 3
435. Specify node interfaces to be used by the GPFS administration
44commands.
45.RE
46.PP
47To display current system information for the cluster, issue the \fBmmlscluster\fR command.
48.PP
49For information on how to specify node names, see \fISpecifying nodes as input to GPFS commands\fR
50in \fIGPFS: Administration and Programming Reference\fR.
51.PP
52When issuing the \fBmmchcluster\fR command with the \fB-p\fR
53or \fB-s\fR flags, the nodes specified for these parameters must be
54available in order for the command to succeed. If any of the nodes
55listed are not available when the command is issued, a message listing those
56nodes is displayed. You must correct the problem on each node and
57reissue the command.
58.PP
59\fBAttention:\fR The \fBmmchcluster\fR command, when issued with
60either the \fB-p\fR or \fB-s\fR option, is designed to operate in an
61environment where the current primary and secondary cluster configuration
62servers are \fInot\fR available. As a result, the command can run
63without obtaining its regular serialization locks. To assure smooth
64transition to a new cluster configuration server, no other GPFS commands
65(\fBmm\fR commands) should be running when the command is issued, nor
66should any other command be issued until the \fBmmchcluster\fR command has
67successfully completed.
68.SH "Parameters"
69.PP
70.RS +3
71\fB\fB-C\fR \fIClusterName\fR
72\fR
73.RE
74.RS +9
75Specifies a new name for the cluster. If the user-provided name
76contains dots, it is assumed to be a fully qualified domain name.
77Otherwise, to make the cluster name unique, the domain of the primary
78configuration server will be appended to the user-provided name.
79.PP
80Since each cluster is managed independently, there is no automatic
81coordination and propagation of changes between clusters like there is between
82the nodes within a cluster. This means that if you change the name of
83the cluster, you should notify the administrators of all other GPFS clusters
84that can mount your file systems so that they can update their own
85environments. See the
86\fBmmauth\fR, \fBmmremotecluster\fR, and \fBmmremotefs\fR commands.
87.RE
88.PP
89.RS +3
90\fB\fB-N {\fR\fINodeDesc\fR[,\fINodeDesc\fR...]
91| \fINodeFile\fR\fB}\fR
92\fR
93.RE
94.RS +9
95Specifies a list or file of node descriptors specifying node names for use
96by the GPFS administration commands.
97.PP
98Each node descriptor has the following format:
99.sp
100.nf
101daemonNodeName::adminNodeName:
102.fi
103.sp
104.PP
105.RS +3
106\fB\fIDaemonNodeName\fR
107\fR
108.RE
109.RS +9
110Specifies the name of the node to be used by GPFS daemon to daemon
111communication. The daemon node name may be specified as a short or long
112node name, an IP address, or a node number.
113.RE
114.PP
115.RS +3
116\fB\fIAdminNodeName\fR
117\fR
118.RE
119.RS +9
120Specifies the name of the node to be used by GPFS administration commands
121when communicating between nodes. The admin node name must be specified
122as an IP address or a short or long node name that is resolved by the
123\fBhost\fR command to the desired IP address.
124.RE
125.RE
126.PP
127.RS +3
128\fB-p \fIPrimaryServer\fR
129\fR
130.RE
131.RS +9
132Change the primary server node for the GPFS cluster data. This may
133be specified as a short or long node name, an IP address, or a node
134number.
135.PP
136\fBLATEST\fR - Synchronize all of the nodes in the GPFS cluster
137ensuring they are using the most recently specified primary GPFS cluster
138configuration server. If an invocation of the \fBmmchcluster\fR
139command fails, you are prompted to reissue the command and specify
140\fBLATEST\fR on the \fB-p\fR option to synchronize all of the nodes in
141the GPFS cluster. Synchronization provides for all nodes in the GPFS
142cluster to use the most recently specified primary GPFS cluster configuration
143server.
144.RE
145.PP
146.RS +3
147\fB-s \fISecondaryServer\fR
148\fR
149.RE
150.RS +9
151Change the secondary server node for the GPFS cluster data. To
152remove the secondary GPFS server and continue operating without it, specify a
153null string, \fB"\fR\fB"\fR, as the parameter. This may
154be specified as a short or long nodename, an IP address, or a node
155number.
156.RE
157.SH "Options"
158.PP
159.RS +3
160\fB-R \fIRemoteFileCopy\fR
161\fR
162.RE
163.RS +9
164Specifies the fully-qualified path name for the remote file copy program
165to be used by GPFS.
166.PP
167The remote copy command must adhere to the same syntax format as the
168\fBrcp\fR command, but may implement an alternate authentication
169mechanism.
170.RE
171.PP
172.RS +3
173\fB-r \fIRemoteShellCommand\fR
174\fR
175.RE
176.RS +9
177Specifies the fully-qualified path name for the remote shell program to be
178used by GPFS.
179.PP
180The remote shell command must adhere to the same syntax format as the
181\fBrsh\fR command, but may implement an alternate authentication
182mechanism.
183.RE
184.SH "Exit status"
185.PP
186.PP
187.RS +3
188\fB0
189\fR
190.RE
191.RS +9
192Successful completion.
193.RE
194.PP
195.RS +3
196\fBnonzero
197\fR
198.RE
199.RS +9
200A failure has occurred.
201.RE
202.SH "Security"
203.PP
204You must have root authority to run the \fBmmchcluster\fR
205command.
206.PP
207You may issue the \fBmmchcluster\fR command from any node in the GPFS
208cluster.
209.PP
210A properly configured \fB.rhosts\fR file must exist in the root
211user's home directory on each node in the GPFS cluster. If you
212have designated the use of a different remote communication program on either
213the
214\fBmmcrcluster\fR or the \fBmmchcluster\fR command, you must ensure:
215.RS +3
216.HP 3
2171. Proper authorization is granted to all nodes in the GPFS cluster.
218.HP 3
2192. The nodes in the GPFS cluster can communicate without the use of a
220password, and without any extraneous messages.
221.RE
222.SH "Examples"
223.PP
224To change the primary GPFS server for the cluster, issue this
225command:
226.sp
227.nf
228mmchcluster -p k164n06
229.fi
230.sp
231.PP
232The system displays output similar to:
233.sp
234.nf
235mmchcluster: Command successfully completed
236.fi
237.sp
238.PP
239To confirm the change, issue this command:
240.sp
241.nf
242mmlscluster
243.fi
244.sp
245.PP
246The system displays information similar to:
247.sp
248.nf
249GPFS cluster information
250========================
251  GPFS cluster name:       cluster1.kgn.ibm.com
252  GPFS cluster id:         680681562214606028
253  GPFS UID domain:         cluster1.kgn.ibm.com
254  Remote shell command:      /usr/bin/rsh
255  Remote file copy command:  /usr/bin/rcp
256GPFS cluster configuration servers:
257-----------------------------------
258  Primary server:    k164n06.kgn.ibm.com
259  Secondary server:  k164n05.kgn.ibm.com
260Node  Daemon node name   IP address   Admin node name    Designation
261--------------------------------------------------------------------
262 1  k164n04.kgn.ibm.com  198.117.68.68   k164n04.kgn.ibm.com  quorum
263 2  k164n05.kgn.ibm.com  198.117.68.71   k164n05.kgn.ibm.com  quorum
264 3  k164n06.kgn.ibm.com  198.117.68.70   k164sn06.kgn.ibm.com
265.fi
266.sp
267.SH "See also"
268.PP
269mmaddnode Command
270.PP
271mmcrcluster Command
272.PP
273mmdelnode Command
274.PP
275mmlscluster Command
276.PP
277mmremotecluster Command
278.SH "Location"
279.PP
280\fB/usr/lpp/mmfs/bin\fR
281.PP
Note: See TracBrowser for help on using the repository browser.