29.01.2013 Views

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

GPFS: Administration and Programming Reference - IRA Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-F DiskFile<br />

Specifies a file containing the names of the NSDs, one per line, to be included or excluded by the<br />

mmfsctl comm<strong>and</strong>.<br />

-G FailureGroup<br />

A number identifying the failure group for disks to be included or excluded by the mmfsctl<br />

comm<strong>and</strong>.<br />

-n RemoteNodesFile<br />

Specifies a list of contact nodes in the peer recovery cluster that <strong>GPFS</strong> uses when importing the<br />

configuration data into that cluster. Although any node in the peer cluster can be specified here,<br />

users are advised to specify the identities of the peer cluster’s primary <strong>and</strong> secondary cluster<br />

configuration servers, for efficiency reasons.<br />

-S SpecFile<br />

Specifies the description of changes to be made to the file system, in the peer cluster during the<br />

import step. The format of this file is identical to that of the ChangeSpecFile used as input to the<br />

mmimportfs comm<strong>and</strong>. This option can be used, for example, to define the assignment of the<br />

NSD servers for use in the peer cluster.<br />

Options<br />

None.<br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Results<br />

The mmfsctl comm<strong>and</strong> returns 0 if successful.<br />

Security<br />

You must have root authority to run the mmfsctl comm<strong>and</strong>.<br />

You may issue the mmfsctl comm<strong>and</strong> from any node in the <strong>GPFS</strong> cluster.<br />

When using the rcp <strong>and</strong> rsh comm<strong>and</strong>s for remote communication, a properly configured .rhosts file must<br />

exist in the root user’s home directory on each node in the <strong>GPFS</strong> cluster. If you have designated the use<br />

of a different remote communication program on either the mmcrcluster or the mmchcluster comm<strong>and</strong>,<br />

you must ensure:<br />

1. Proper authorization is granted to all nodes in the <strong>GPFS</strong> cluster.<br />

2. The nodes in the <strong>GPFS</strong> cluster can communicate without the use of a password, <strong>and</strong> without any<br />

extraneous messages.<br />

Examples<br />

This sequence of comm<strong>and</strong>s creates a FlashCopy image of the file system <strong>and</strong> propagates this image to<br />

the recovery cluster using the Peer-to-Peer Remote Copy technology. The following configuration is<br />

assumed:<br />

Site LUNs<br />

Primary cluster (site A) lunA1, lunA2<br />

Recovery cluster (site B) lunB1<br />

lunA1 FlashCopy source<br />

mmfsctl Comm<strong>and</strong><br />

Chapter 8. <strong>GPFS</strong> comm<strong>and</strong>s 183

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!