source: gpfs_3.1_ker2.6.20/share/man/man8/mmremotecluster.8 @ 16

Last change on this file since 16 was 16, checked in by rock, 16 years ago
File size: 7.1 KB
Line 
1.TH mmremotecluster 02/16/06
2mmremotecluster Command
3.SH "Name"
4.PP
5\fBmmremotecluster\fR - Manages the information about other GPFS
6clusters that this cluster can access when mounting remote GPFS file
7systems.
8.SH "Synopsis"
9.PP
10\fBmmremotecluster\fR \fBadd \fR \fIRemoteClusterName\fR
11[\fB-n\fR \fIContactNodes\fR] [\fB-k\fR
12\fIKeyFile\fR]
13.PP
14Or,
15.PP
16\fBmmremotecluster\fR \fBupdate\fR \fIRemoteClusterName\fR
17[\fB-C\fR \fINewClusterName\fR] [\fB-n\fR
18\fIContactNodes\fR] [\fB-k\fR \fIKeyFile\fR]
19.PP
20Or,
21.PP
22\fBmmremotecluster\fR \fBdelete {\fR\fIRemoteClusterName\fR\fB |
23all}\fR
24.PP
25Or,
26.PP
27\fBmmremotecluster\fR \fBshow\fR [\fIRemoteClusterName\fR\fB
28| all\fR]
29.SH "Description"
30.PP
31The \fBmmremotecluster\fR command is used to make remote GPFS clusters
32known to the local cluster, and to maintain the attributes associated with
33those remote clusters. The keyword appearing after
34\fBmmremotecluster\fR determines which action is performed:
35.PP
36.RS +3
37\fBadd
38\fR
39.RE
40.RS +9
41Adds a remote GPFS cluster to the set of remote clusters known to the
42local cluster.
43.RE
44.PP
45.RS +3
46\fBdelete
47\fR
48.RE
49.RS +9
50Deletes the information for a remote GPFS cluster.
51.RE
52.PP
53.RS +3
54\fBshow
55\fR
56.RE
57.RS +9
58Displays information about a remote GPFS cluster.
59.RE
60.PP
61.RS +3
62\fBupdate
63\fR
64.RE
65.RS +9
66Updates the attributes of a remote GPFS cluster.
67.RE
68.PP
69To be able to mount file systems that belong to some other GPFS cluster,
70you must first make the nodes in this cluster aware of the GPFS cluster that
71owns those file systems. This is accomplished with the
72\fBmmremotecluster add\fR command. The information that the command
73requires must be provided to you by the administrator of the remote GPFS
74cluster. You will need this information:
75.RS +3
76.HP 3
77\(bu The name of the remote cluster.
78.HP 3
79\(bu The names or IP addresses of a few nodes that belong to the remote GPFS
80cluster.
81.HP 3
82\(bu The public key file generated by the administrator of the remote cluster
83by running the
84\fBmmauth genkey\fR command for the
85remote cluster.
86.RE
87.PP
88Since each cluster is managed independently, there is no automatic
89coordination and propagation of changes between clusters like there is between
90the nodes within a cluster. This means that once a remote cluster is
91defined with the \fBmmremotecluster\fR command, the information about that
92cluster is automatically propagated across all nodes that belong to this
93cluster. But if the administrator of the remote cluster decides to
94rename it, or deletes some or all of the contact nodes, or change the public
95key file, the information in this cluster becomes obsolete. It is the
96responsibility of the administrator of the remote GPFS cluster to notify you
97of such changes so that you can update your information using the appropriate
98options of the \fBmmremotecluster update\fR command.
99.SH "Parameters"
100.PP
101.RS +3
102\fB\fIRemoteClusterName\fR
103\fR
104.RE
105.RS +9
106Specifies the cluster name associated with the remote cluster that owns
107the remote GPFS file system. The value \fBall\fR indicates all
108remote clusters defined to this cluster, when using the \fBmmremotecluster
109delete\fR or \fBmmremotecluster show \fR commands.
110.RE
111.PP
112.RS +3
113\fB-C \fINewClusterName\fR
114\fR
115.RE
116.RS +9
117Specifies the new cluster name to be associated with the remote
118cluster.
119.RE
120.PP
121.RS +3
122\fB-k \fIKeyFile\fR
123\fR
124.RE
125.RS +9
126Specifies the name of the public key file provided to you by the
127administrator of the remote GPFS cluster. This could be relative path
128(therefore just a need to name the file) or an absolute path (need full path
129name, but just file name).
130.RE
131.PP
132.RS +3
133\fB-n \fIContactNodes\fR
134\fR
135.RE
136.RS +9
137A comma separated list of nodes that belong to the remote GPFS cluster, in
138this format:
139.sp
140.nf
141[tcpPort=NNNN,]node1[,node2 ...]
142.fi
143.sp
144.PP
145where:
146.RS +3
147.HP 3
148\(bu tcpPort=NNNN is the TCP port number to be used by the local
149GPFS daemon when contacting the remote cluster. If not specified, GPFS
150will use the default TCP port number 1191.
151.HP 3
152\(bu node1[,node2 ...] is a list of nodes that
153belong to the remote cluster. The nodes can be identified through their
154host names or IP addresses.
155.RE
156.RE
157.SH "Options"
158.PP
159None.
160.SH "Exit status"
161.PP
162.PP
163.RS +3
164\fB0
165\fR
166.RE
167.RS +9
168Successful completion. After successful completion of the
169\fBmmremotecluster\fR command, the new configuration information is
170propagated to all nodes in the cluster.
171.RE
172.PP
173.RS +3
174\fBnonzero
175\fR
176.RE
177.RS +9
178A failure has occurred.
179.RE
180.SH "Security"
181.PP
182You must have root authority to run the \fBmmremotecluster\fR
183command.
184.PP
185You may issue the \fBmmremotecluster\fR command from any node in the
186GPFS cluster.
187.SH "Examples"
188.RS +3
189.HP 3
1901. This command adds remote cluster
191\fBk164.kgn.ibm.com\fR to the set of remote clusters
192known to the local cluster, specifying \fBk164n02\fR and \fBk164n03\fR
193as remote contact nodes. File \fBk164.id_rsa.pub\fR is
194the name of the public key file provided to you by the administrator of the
195remote cluster.
196.sp
197.nf
198mmremotecluster add k164.kgn.ibm.com -n k164n02,k164n03\\
199 -k k164.id_rsa.pub
200.fi
201.sp
202The output is similar to this:
203.sp
204.nf
205mmremotecluster: 6027-1371 Propagating the changes to all\
206affected nodes. This is an asynchronous process.
207.fi
208.sp
209.HP 3
2102. This command displays information for the remote cluster
211\fBk164.kgn.ibm.com\fR.
212.sp
213.nf
214mmremotecluster show k164.kgn.ibm.com
215.fi
216.sp
217The output is similar to this:
218.sp
219.nf
220Cluster name:    k164.kgn.ibm.com
221Contact nodes:   k164n02,k164n03
222SHA digest:      a3917c8282fca7a27d951566940768dcd241902b
223File systems:    (none defined)
224.fi
225.sp
226.sp
227For more information on the SHA digest, see
228\fIGeneral Parallel File System: Problem
229Determination Guide\fR and search on \fISHA digest\fR.
230.HP 3
2313. This command updates information for the remote cluster
232\fBk164.kgn.ibm.com\fR, changing the remote contact
233nodes to \fBk164n02\fR and \fBk164n01\fR. The TCP port to be used
234when contacting cluster \fBk164.kgn.ibm.com\fR is
235defined to be 6667..
236.sp
237.nf
238mmremotecluster update k164.kgn.ibm.com
239-n tcpPort=6667,k164n02,k164n01
240.fi
241.sp
242The output is similar to this:
243.sp
244.nf
245mmremotecluster: 6027-1371 Propagating the changes to all\
246affected nodes. This is an asynchronous process.
247.fi
248.sp
249.sp
250The \fBmmremotecluster show\fR command can then be used to see
251the changes.
252.sp
253.nf
254mmremotecluster show k164.kgn.ibm.com
255.fi
256.sp
257.sp
258The output is similar to this:
259.sp
260.nf
261Cluster name:    k164.kgn.ibm.com
262Contact nodes: tcpPort=6667,k164n02,k164n01
263SHA digest:      a3917c8282fca7a27d951566940768dcd241902b
264File systems:    (none defined)
265.fi
266.sp
267.sp
268For more information on the SHA digest, see
269\fIGeneral Parallel File System: Problem
270Determination Guide\fR and search on \fISHA digest\fR.
271.HP 3
2724. This command deletes information for remote cluster
273\fBk164.kgn.ibm.com\fR from the local cluster.
274.sp
275.nf
276mmremotecluster delete k164.kgn.ibm.com
277.fi
278.sp
279The output is similar to this:
280.sp
281.nf
282mmremotecluster: 6027-1371 Propagating the changes to all\
283affected nodes. This is an asynchronous process.
284.fi
285.sp
286.RE
287.SH "See also"
288.PP
289mmauth Command
290.PP
291mmremotefs Command
292.PP
293\fIAccessing GPFS file systems from other
294GPFS clusters\fR in
295\fIGeneral Parallel
296File System: Advanced Administration Guide\fR.
297.SH "Location"
298.PP
299\fB/usr/lpp/mmfs/bin\fR
300.PP
Note: See TracBrowser for help on using the repository browser.