[16] | 1 | .TH mmshutdown 02/16/06 |
---|
| 2 | mmshutdown Command |
---|
| 3 | .SH "Name" |
---|
| 4 | .PP |
---|
| 5 | \fBmmshutdown\fR - Unmounts all GPFS file systems and stops GPFS on |
---|
| 6 | one or more nodes. |
---|
| 7 | .SH "Synopsis" |
---|
| 8 | .PP |
---|
| 9 | \fBmmshutdown\fR [\fB-t\fR \fIUnmountTimeout\fR ] |
---|
| 10 | [\fB-a\fR | \fB-N\fR |
---|
| 11 | {\fINode\fR[,\fINode\fR...] | \fINodeFile\fR | |
---|
| 12 | \fINodeClass\fR}] |
---|
| 13 | .SH "Description" |
---|
| 14 | .PP |
---|
| 15 | Use the \fBmmshutdown\fR command to stop the GPFS daemons on one or more |
---|
| 16 | nodes. If no operand is specified, GPFS is stopped only on the node |
---|
| 17 | from which the command was issued. |
---|
| 18 | .PP |
---|
| 19 | The \fBmmshutdown\fR command first attempts to unmount all GPFS file |
---|
| 20 | systems. If the unmount does not complete within the specified |
---|
| 21 | \fItimeout\fR period, the GPFS daemons shut down anyway. |
---|
| 22 | .PP |
---|
| 23 | \fBResults\fR |
---|
| 24 | .PP |
---|
| 25 | Upon successful completion of the \fBmmshutdown\fR command, these tasks |
---|
| 26 | are completed: |
---|
| 27 | .RS +3 |
---|
| 28 | .HP 3 |
---|
| 29 | \(bu GPFS file systems are unmounted. |
---|
| 30 | .HP 3 |
---|
| 31 | \(bu GPFS daemons are stopped. |
---|
| 32 | .RE |
---|
| 33 | .SH "Parameters" |
---|
| 34 | .PP |
---|
| 35 | .RS +3 |
---|
| 36 | \fB\fB-a\fR |
---|
| 37 | \fR |
---|
| 38 | .RE |
---|
| 39 | .RS +9 |
---|
| 40 | Stop GPFS on all nodes in a GPFS cluster. |
---|
| 41 | .RE |
---|
| 42 | .PP |
---|
| 43 | .RS +3 |
---|
| 44 | \fB-N {\fINode\fR[,\fINode\fR...] | |
---|
| 45 | \fINodeFile\fR | \fINodeClass\fR} |
---|
| 46 | \fR |
---|
| 47 | .RE |
---|
| 48 | .RS +9 |
---|
| 49 | Directs the \fBmmshutdown\fR command to process a set of nodes. |
---|
| 50 | For information on how to specify node names, see \fISpecifying nodes as input to GPFS commands\fR |
---|
| 51 | in \fIGPFS: Administration and Programming Reference\fR. |
---|
| 52 | .PP |
---|
| 53 | This command does not support a \fINodeClass\fR of |
---|
| 54 | \fBmount\fR. |
---|
| 55 | .RE |
---|
| 56 | .SH "Options" |
---|
| 57 | .PP |
---|
| 58 | .RS +3 |
---|
| 59 | \fB-t \fIUnmountTimeout\fR |
---|
| 60 | \fR |
---|
| 61 | .RE |
---|
| 62 | .RS +9 |
---|
| 63 | The maximum amount of time, in seconds, that the unmount command is given |
---|
| 64 | to complete. The default timeout period is equal to: |
---|
| 65 | .PP |
---|
| 66 | \fB60 + 3 * \fInumber of nodes\fR\fR |
---|
| 67 | .PP |
---|
| 68 | If the unmount does not complete within the specified amount of time, the |
---|
| 69 | command times out and the GPFS daemons shut down. |
---|
| 70 | .RE |
---|
| 71 | .SH "Exit status" |
---|
| 72 | .PP |
---|
| 73 | .PP |
---|
| 74 | .RS +3 |
---|
| 75 | \fB0 |
---|
| 76 | \fR |
---|
| 77 | .RE |
---|
| 78 | .RS +9 |
---|
| 79 | Successful completion. |
---|
| 80 | .RE |
---|
| 81 | .PP |
---|
| 82 | .RS +3 |
---|
| 83 | \fBnonzero |
---|
| 84 | \fR |
---|
| 85 | .RE |
---|
| 86 | .RS +9 |
---|
| 87 | A failure has occurred. |
---|
| 88 | .RE |
---|
| 89 | .SH "Security" |
---|
| 90 | .PP |
---|
| 91 | You must have root authority to run the \fBmmshutdown\fR command. |
---|
| 92 | .PP |
---|
| 93 | You may issue the \fBmmshutdown\fR command from any node in the GPFS |
---|
| 94 | cluster. |
---|
| 95 | .PP |
---|
| 96 | When using the \fBrcp\fR and \fBrsh\fR commands for remote |
---|
| 97 | communication, a properly configured \fB.rhosts\fR file must exist |
---|
| 98 | in the root user's home directory on each node in the GPFS |
---|
| 99 | cluster. If you have designated the use of a different remote |
---|
| 100 | communication program on either the |
---|
| 101 | \fBmmcrcluster\fR |
---|
| 102 | or the |
---|
| 103 | \fBmmchcluster\fR command, you must |
---|
| 104 | ensure: |
---|
| 105 | .RS +3 |
---|
| 106 | .HP 3 |
---|
| 107 | 1. Proper authorization is granted to all nodes in the GPFS cluster. |
---|
| 108 | .HP 3 |
---|
| 109 | 2. The nodes in the GPFS cluster can communicate without the use of a |
---|
| 110 | password, and without any extraneous messages. |
---|
| 111 | .RE |
---|
| 112 | .SH "Examples" |
---|
| 113 | .RS +3 |
---|
| 114 | .HP 3 |
---|
| 115 | 1. To \fBstop\fR GPFS on all nodes in the GPFS cluster, issue this |
---|
| 116 | command: |
---|
| 117 | .sp |
---|
| 118 | .nf |
---|
| 119 | mmshutdown -a |
---|
| 120 | .fi |
---|
| 121 | .sp |
---|
| 122 | The system displays information similar to: |
---|
| 123 | .sp |
---|
| 124 | .nf |
---|
| 125 | Thu Aug 12 13:10:40 EDT 2004: 6027-1341 mmshutdown: Starting |
---|
| 126 | force unmount of GPFS file systems. |
---|
| 127 | k164n05.kgn.com: forced unmount of /fs1 |
---|
| 128 | k164n04.kgn.ibm.com: forced unmount of /fs1 |
---|
| 129 | k164n06.kgn.ibm.com: forced unmount of /fs1 |
---|
| 130 | Thu Aug 12 13:10:45 EDT 2004: 6027-1344 mmshutdown: Shutting |
---|
| 131 | down GPFS daemons |
---|
| 132 | k164n04.kgn.ibm.com: Shutting down! |
---|
| 133 | k164n06.kgn.ibm.com: Shutting down! |
---|
| 134 | k164n05.kgn.ibm.com: Shutting down! |
---|
| 135 | k164n04.kgn.ibm.com: 'shutdown' command about to kill process |
---|
| 136 | 49682 |
---|
| 137 | k164n05.kgn.ibm.com: 'shutdown' command about to kill process |
---|
| 138 | 28194 |
---|
| 139 | k164n06.kgn.ibm.com: 'shutdown' command about to kill process |
---|
| 140 | \ |
---|
| 141 | Thu Aug 12 13:10:54 EDT 2004: 6027-1345 mmshutdown: Finished |
---|
| 142 | .fi |
---|
| 143 | .sp |
---|
| 144 | .HP 3 |
---|
| 145 | 2. To stop GPFS on only node \fBk164n04\fR, issue this command: |
---|
| 146 | .sp |
---|
| 147 | .nf |
---|
| 148 | mmshutdown -N k164n04 |
---|
| 149 | .fi |
---|
| 150 | .sp |
---|
| 151 | The system displays information similar to: |
---|
| 152 | .sp |
---|
| 153 | .nf |
---|
| 154 | mmshutdown -N k164n04 |
---|
| 155 | Thu Aug 12 13:12:06 EDT 2004: 6027-1341 mmshutdown: Starting |
---|
| 156 | force unmount of GPFS file systems |
---|
| 157 | k164n04: forced unmount of /fs1 |
---|
| 158 | Thu Aug 12 13:12:11 EDT 2004: 6027-1344 mmshutdown: Shutting |
---|
| 159 | down GPFS daemons |
---|
| 160 | k164n04: Shutting down! |
---|
| 161 | k164n04: 'shutdown' command about to kill process 65036 |
---|
| 162 | Thu Aug 12 13:12:20 EDT 2004: 6027-1345 mmshutdown: Finished |
---|
| 163 | .fi |
---|
| 164 | .sp |
---|
| 165 | .RE |
---|
| 166 | .SH "See also" |
---|
| 167 | .PP |
---|
| 168 | mmgetstate Command |
---|
| 169 | .PP |
---|
| 170 | mmlscluster Command |
---|
| 171 | .PP |
---|
| 172 | mmstartup Command |
---|
| 173 | .SH "Location" |
---|
| 174 | .PP |
---|
| 175 | \fB/usr/lpp/mmfs/bin\fR |
---|
| 176 | .PP |
---|