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.

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

1. To display the default information for all of the NSDs belonging to the cluster, issue this comm<strong>and</strong>:<br />

mmlsnsd<br />

The system displays information similar to:<br />

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

------------–--------------------------------------—-—<br />

gpfsa gpfs16nsd k145n06 k145n07<br />

gpfsa gpfs17nsd k145n06 k145n07<br />

gpfsa gpfs18nsd k145n06 k145n07<br />

gpfsa gpfs19nsd k145n06 k145n07<br />

gpfsa gpfs20nsd k145n06 k145n07<br />

gpfs1 gpfs1nsd (directly attached)<br />

gpfs1 gpfs2nsd (directly attached)<br />

gpfs1 gpfs3nsd (directly attached)<br />

gpfs1 gpfs4nsd (directly attached)<br />

2. To display all of the NSDs attached to the node from which the comm<strong>and</strong> is issued, issue this<br />

comm<strong>and</strong>:<br />

mmlsnsd -m<br />

The system displays information similar to:<br />

Disk name NSD volume ID Device Node name Remarks<br />

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

gpfs16nsd 097284213AA842EC /dev/sdb k145n06 primary node<br />

gpfs16nsd 097284213AA842EC /dev/sdb k145n07 backup node<br />

gpfs17nsd 097284213AA842EF /dev/sdc k145n06 primary node<br />

gpfs17nsd 097284213AA842EF /dev/sdc k145n07 backup node<br />

gpfs18nsd 097284213AA842F2 /dev/sdd k145n06 primary node<br />

gpfs18nsd 097284213AA842F2 /dev/sdd k145n07 backup node<br />

gpfs19nsd 097284213AA842F5 /dev/sde k145n06 primary node<br />

gpfs19nsd 097284213AA842F5 /dev/sde k145n07 backup node<br />

gpfs20nsd 097284213AA842F7 /dev/sdf k145n06 primary node<br />

gpfs20nsd 097284213AA842F7 /dev/sdf k145n07 backup node<br />

gpfs1nsd 0972841D3AA8420A - k145n06 (not found) directly attached<br />

gpfs2nsd 0972841D3AA8420B - k145n06 (not found) directly attached<br />

gpfs3nsd 0972841D3AA8420C - k145n06 (not found) directly attached<br />

gpfs4nsd 0972841D3AA8420D - k145n06 (not found) directly attached<br />

3. To display all of the NSDs in the <strong>GPFS</strong> cluster in extended format, issue this comm<strong>and</strong>:<br />

mmlsnsd -L<br />

The system displays information similar to:<br />

File system Disk name NSD volume ID Primary node Backup node<br />

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

gpfsa gpfs16nsd 097284213AA842EC k145n06 k145n07<br />

gpfsa gpfs17nsd 097284213AA842EF k145n06 k145n07<br />

gpfsa gpfs18nsd 097284213AA842F2 k145n06 k145n07<br />

gpfsa gpfs19nsd 097284213AA842F5 k145n06 k145n07<br />

gpfsa gpfs20nsd 097284213AA842F7 k145n06 k145n07<br />

mmlsnsd Comm<strong>and</strong><br />

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

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

Saved successfully!

Ooh no, something went wrong!