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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mmchnsd Comm<strong>and</strong><br />

Options<br />

NONE<br />

DiskName:PrimaryServer:BackupServer<br />

To remove the primary <strong>GPFS</strong> server, explicitly skip the parameter:<br />

DiskName<br />

BackupServer<br />

The name of the backup NSD server node.<br />

If the PrimaryServer has not been specified <strong>and</strong> this field is omitted, the disk is assumed<br />

to be SAN-attached to all nodes in the cluster.<br />

To remove the backup NSD server, explicitly skip the parameter, but ensure you have<br />

specified the PrimaryServer or it will be removed also:<br />

DiskName:PrimaryServer<br />

For general information on how to specify node names, see “Specifying nodes as input to <strong>GPFS</strong><br />

comm<strong>and</strong>s” on page 4.<br />

Exit status<br />

0 Successful completion.<br />

nonzero A failure has occurred.<br />

Security<br />

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

You may issue the mmchnsd 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 />

If the disk gpfs1nsd is currently defined with k145n05 as its primary server <strong>and</strong> k145n07 as its backup<br />

NSD server, <strong>and</strong> you want to change the primary NSD server to k145n09, issue this comm<strong>and</strong>:<br />

mmchnsd "gpfs1nsd:k145n09:k145n07:::"<br />

To confirm the changes, issue this comm<strong>and</strong>:<br />

mmlsnsd -d "gpfs1nsd"<br />

The system displays information similar to:<br />

File system Disk name Primary node Backup node<br />

---------------------------------------------------------------<br />

fs1 gpfs1nsd k145n09 k145n07<br />

110 <strong>GPFS</strong>: <strong>Administration</strong> <strong>and</strong> <strong>Programming</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!