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