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 />

Name<br />

mmchnsd – Changes Network Shared Disk (NSD) configuration parameters.<br />

Synopsis<br />

mmchnsd {″DiskDesc[;DiskDesc...]″ | -F DescFile}<br />

Description<br />

The mmchnsd comm<strong>and</strong> serves several purposes:<br />

1. Change either or both the primary <strong>and</strong> backup NSD server nodes.<br />

2. Define a backup server node for an NSD that currently does not have one.<br />

3. Delete a backup server node for an NSD.<br />

4. Delete both the primary <strong>and</strong> backup NSD server nodes. The disk must now be SAN-attached to all<br />

nodes in the cluster.<br />

5. Assign a primary <strong>and</strong>, if specified, a backup NSD server node. Nodes that are not SAN-attached to the<br />

disk, or nodes that experience a local device driver failure, will now have access to the data over the<br />

network from these servers.<br />

You must follow these rules when changing NSDs:<br />

v You must identify the disks by the NSD names that were given to them by the mmcrnsd comm<strong>and</strong>.<br />

v You must explicitly specify values for both the primary <strong>and</strong> backup NSD server nodes even if you are<br />

only changing one of them.<br />

v The file system that contains the NSD being changed must be unmounted prior to issuing the<br />

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

v The NSD must be properly connected to the new nodes prior to issuing the mmchnsd comm<strong>and</strong>.<br />

v This comm<strong>and</strong> cannot be used to change the DiskUsage or FailureGroup for an NSD. You must issue<br />

the mmchdisk comm<strong>and</strong> to change these.<br />

v To move a disk from one storage pool to another, use the mmdeldisk <strong>and</strong> mmadddisk comm<strong>and</strong>s.<br />

v You cannot change the name of the NSD.<br />

Parameters<br />

DiskDesc<br />

A descriptor for each NSD to be changed. Each descriptor is separated by a semicolon (;). The<br />

entire list must be enclosed in single or double quotation marks.<br />

DescFile<br />

Specifies a file containing a list of disk descriptors, one per line.<br />

Each disk descriptor must be specified in the form:<br />

DiskName:PrimaryServer:BackupServer<br />

DiskName<br />

The NSD name that was given to the disk by the mmcrnsd comm<strong>and</strong>.<br />

PrimaryServer<br />

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

If this field is omitted, the disk is assumed to be SAN-attached to all nodes in the cluster.<br />

To change only the primary NSD server, ensure that if a backup NSD server exists that<br />

you specify it, or the backup NSD server will be deleted. Any parameter that is not<br />

specified defaults to null.<br />

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

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

Saved successfully!

Ooh no, something went wrong!