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.

Adding nodes to a <strong>GPFS</strong> cluster<br />

You can add nodes to an existing <strong>GPFS</strong> cluster by issuing the mmaddnode comm<strong>and</strong>. The new nodes<br />

are available immediately after the successful completion of this comm<strong>and</strong>.<br />

You must follow these rules when adding nodes to a <strong>GPFS</strong> cluster:<br />

v You may issue the comm<strong>and</strong> only from a node that already belongs to the <strong>GPFS</strong> cluster.<br />

v A node may belong to only one <strong>GPFS</strong> cluster at a time.<br />

v The nodes must be available for the comm<strong>and</strong> to be successful. If any of the nodes listed are not<br />

available when the comm<strong>and</strong> is issued, a message listing those nodes is displayed. You must correct<br />

the problem on each node <strong>and</strong> reissue the comm<strong>and</strong> to add those nodes.<br />

To add node k164n06 to the <strong>GPFS</strong> cluster, enter:<br />

mmaddnode -N k164n06<br />

The system displays information similar to:<br />

Mon Aug 9 21:53:30 EDT 2004: 6027-1664 mmaddnode: Processing node k164n06.kgn.ibm.com<br />

mmaddnode: Comm<strong>and</strong> successfully completed<br />

mmaddnode: 6027-1371 Propagating the changes to all affected nodes.<br />

This is an asynchronous process.<br />

To confirm the addition of the nodes, enter:<br />

mmlscluster<br />

The system displays information similar to:<br />

<strong>GPFS</strong> cluster information<br />

========================<br />

<strong>GPFS</strong> cluster name: cluster1.kgn.ibm.com<br />

<strong>GPFS</strong> cluster id: 680681562214606028<br />

<strong>GPFS</strong> UID domain: cluster1.kgn.ibm.com<br />

Remote shell comm<strong>and</strong>: /usr/bin/rsh<br />

Remote file copy comm<strong>and</strong>: /usr/bin/rcp<br />

<strong>GPFS</strong> cluster configuration servers:<br />

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

Primary server: k164n04.kgn.ibm.com<br />

Secondary server: k164n05.kgn.ibm.com<br />

Node Daemon node name IP address Admin node name Designation<br />

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

1 k164n04.kgn.ibm.com 198.117.68.68 k164n04.kgn.ibm.com quorum<br />

2 k164n05.kgn.ibm.com 198.117.68.69 k164n05.kgn.ibm.com quorum<br />

3 k164n06.kgn.ibm.com 198.117.68.70 k164n06.kgn.ibm.com<br />

See the “mmaddnode Comm<strong>and</strong>” on page 66 <strong>and</strong> the “mmlscluster Comm<strong>and</strong>” on page 198 for complete<br />

usage information.<br />

Deleting nodes from a <strong>GPFS</strong> cluster<br />

You can delete nodes from a <strong>GPFS</strong> cluster by issuing the mmdelnode comm<strong>and</strong>. You must follow these<br />

rules when deleting nodes:<br />

v A node being deleted cannot be the primary or secondary <strong>GPFS</strong> cluster configuration server unless you<br />

intend to delete the entire cluster. Verify this by issuing the mmlscluster comm<strong>and</strong>. If a node to be<br />

deleted is one of the servers <strong>and</strong> you intend to keep the cluster, issue the mmchcluster comm<strong>and</strong> to<br />

assign another node as a configuration server before deleting the node.<br />

Chapter 2. Managing your <strong>GPFS</strong> cluster 5

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

Saved successfully!

Ooh no, something went wrong!