source: gpfs_3.1_ker2.6.20/share/man/man8/mmshutdown.8 @ 219

Last change on this file since 219 was 16, checked in by rock, 17 years ago
File size: 4.1 KB
Line 
1.TH mmshutdown 02/16/06
2mmshutdown Command
3.SH "Name"
4.PP
5\fBmmshutdown\fR - Unmounts all GPFS file systems and stops GPFS on
6one 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
15Use the \fBmmshutdown\fR command to stop the GPFS daemons on one or more
16nodes. If no operand is specified, GPFS is stopped only on the node
17from which the command was issued.
18.PP
19The \fBmmshutdown\fR command first attempts to unmount all GPFS file
20systems. 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
25Upon successful completion of the \fBmmshutdown\fR command, these tasks
26are 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
40Stop 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
49Directs the \fBmmshutdown\fR command to process a set of nodes.
50For information on how to specify node names, see \fISpecifying nodes as input to GPFS commands\fR
51in \fIGPFS: Administration and Programming Reference\fR.
52.PP
53This 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
63The maximum amount of time, in seconds, that the unmount command is given
64to complete. The default timeout period is equal to:
65.PP
66\fB60 + 3 * \fInumber of nodes\fR\fR
67.PP
68If the unmount does not complete within the specified amount of time, the
69command 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
79Successful completion.
80.RE
81.PP
82.RS +3
83\fBnonzero
84\fR
85.RE
86.RS +9
87A failure has occurred.
88.RE
89.SH "Security"
90.PP
91You must have root authority to run the \fBmmshutdown\fR command.
92.PP
93You may issue the \fBmmshutdown\fR command from any node in the GPFS
94cluster.
95.PP
96When using the \fBrcp\fR and \fBrsh\fR commands for remote
97communication, a properly configured \fB.rhosts\fR file must exist
98in the root user's home directory on each node in the GPFS
99cluster. If you have designated the use of a different remote
100communication program on either the
101\fBmmcrcluster\fR
102or the
103\fBmmchcluster\fR command, you must
104ensure:
105.RS +3
106.HP 3
1071. Proper authorization is granted to all nodes in the GPFS cluster.
108.HP 3
1092. The nodes in the GPFS cluster can communicate without the use of a
110password, and without any extraneous messages.
111.RE
112.SH "Examples"
113.RS +3
114.HP 3
1151. To \fBstop\fR GPFS on all nodes in the GPFS cluster, issue this
116command:
117.sp
118.nf
119mmshutdown -a
120.fi
121.sp
122The system displays information similar to:
123.sp
124.nf
125Thu Aug 12 13:10:40 EDT 2004: 6027-1341 mmshutdown: Starting
126force unmount of GPFS file systems.
127k164n05.kgn.com:  forced unmount of /fs1
128k164n04.kgn.ibm.com:  forced unmount of /fs1
129k164n06.kgn.ibm.com:  forced unmount of /fs1
130Thu Aug 12 13:10:45 EDT 2004: 6027-1344 mmshutdown: Shutting
131down GPFS daemons
132k164n04.kgn.ibm.com:  Shutting down!
133k164n06.kgn.ibm.com:  Shutting down!
134k164n05.kgn.ibm.com:  Shutting down!
135k164n04.kgn.ibm.com:  'shutdown' command about to kill process
13649682
137k164n05.kgn.ibm.com:  'shutdown' command about to kill process
13828194
139k164n06.kgn.ibm.com:  'shutdown' command about to kill process
140\
141Thu Aug 12 13:10:54 EDT 2004: 6027-1345 mmshutdown: Finished
142.fi
143.sp
144.HP 3
1452. To stop GPFS on only node \fBk164n04\fR, issue this command:
146.sp
147.nf
148mmshutdown -N k164n04
149.fi
150.sp
151The system displays information similar to:
152.sp
153.nf
154mmshutdown -N k164n04
155Thu Aug 12 13:12:06 EDT 2004: 6027-1341 mmshutdown: Starting
156force unmount of GPFS file systems
157k164n04:  forced unmount of /fs1
158Thu Aug 12 13:12:11 EDT 2004: 6027-1344 mmshutdown: Shutting
159down GPFS daemons
160k164n04:  Shutting down!
161k164n04:  'shutdown' command about to kill process 65036
162Thu Aug 12 13:12:20 EDT 2004: 6027-1345 mmshutdown: Finished
163.fi
164.sp
165.RE
166.SH "See also"
167.PP
168mmgetstate Command
169.PP
170mmlscluster Command
171.PP
172mmstartup Command
173.SH "Location"
174.PP
175\fB/usr/lpp/mmfs/bin\fR
176.PP
Note: See TracBrowser for help on using the repository browser.