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.

mmshutdown Comm<strong>and</strong><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 />

1. To stop <strong>GPFS</strong> on all nodes in the <strong>GPFS</strong> cluster, issue this comm<strong>and</strong>:<br />

mmshutdown -a<br />

The system displays information similar to:<br />

Thu Aug 12 13:10:40 EDT 2004: 6027-1341 mmshutdown: Starting<br />

force unmount of <strong>GPFS</strong> file systems.<br />

k164n05.kgn.com: forced unmount of /fs1<br />

k164n04.kgn.ibm.com: forced unmount of /fs1<br />

k164n06.kgn.ibm.com: forced unmount of /fs1<br />

Thu Aug 12 13:10:45 EDT 2004: 6027-1344 mmshutdown: Shutting<br />

down <strong>GPFS</strong> daemons<br />

k164n04.kgn.ibm.com: Shutting down!<br />

k164n06.kgn.ibm.com: Shutting down!<br />

k164n05.kgn.ibm.com: Shutting down!<br />

k164n04.kgn.ibm.com: 'shutdown' comm<strong>and</strong> about to kill process<br />

49682<br />

k164n05.kgn.ibm.com: 'shutdown' comm<strong>and</strong> about to kill process<br />

28194<br />

k164n06.kgn.ibm.com: 'shutdown' comm<strong>and</strong> about to kill process<br />

Thu Aug 12 13:10:54 EDT 2004: 6027-1345 mmshutdown: Finished<br />

2. To stop <strong>GPFS</strong> on only node k164n04, issue this comm<strong>and</strong>:<br />

mmshutdown -N k164n04<br />

The system displays information similar to:<br />

mmshutdown -N k164n04<br />

Thu Aug 12 13:12:06 EDT 2004: 6027-1341 mmshutdown: Starting<br />

force unmount of <strong>GPFS</strong> file systems<br />

k164n04: forced unmount of /fs1<br />

Thu Aug 12 13:12:11 EDT 2004: 6027-1344 mmshutdown: Shutting<br />

down <strong>GPFS</strong> daemons<br />

k164n04: Shutting down!<br />

k164n04: 'shutdown' comm<strong>and</strong> about to kill process 65036<br />

Thu Aug 12 13:12:20 EDT 2004: 6027-1345 mmshutdown: Finished<br />

See also<br />

“mmgetstate Comm<strong>and</strong>” on page 188<br />

“mmlscluster Comm<strong>and</strong>” on page 198<br />

“mmstartup Comm<strong>and</strong>” on page 270<br />

Location<br />

/usr/lpp/mmfs/bin<br />

266 <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!