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