7.10 GPFS shutdown

 < Day Day Up > 



7.10 GPFS shutdown

You can shut down all GPFS file systems and daemons using the mmshutdown command. This command umounts all GPFS file systems mounted on the localhost and shuts down all GPFS-related daemons.

If you want to shut down GPFS on a local node only, issue the mmshutdown command without any parameters, as shown in Example 7-39.

Example 7-39: Shut down a local node

start example
 [root@storage001 bin]# mmshutdown Thu Nov 23 23:08:16 CDT 2002: mmshutdown: Starting force unmount of GPFS file systems Thu Nov 23 23:08:21 CDT 2002: mmshutdown: Shutting down GPFS daemons 0513-044 The mmfs Subsystem was requested to stop. Shutting down! 'shutdown' command about to kill process 30872 Thu Nov 23 23:08:23 CDT 2002: mmshutdown: Finished [root@storage001 bin]# 
end example

If you want to shut down all GPFS nodes in the nodeset, issue the mmshutdown command with the -a parameter. Because you can run GPFS administrative commands from any node that belongs to the GPFS cluster, Example 7-40 shows the mmshutdown -a being executed in node001.

Example 7-40: Shut down all nodes in the nodeset

start example
 [root@node001 root]# mmshutdown -a Tue Nov 23 23:20:42 CDT 2002: mmshutdown: Starting force unmount of GPFS file systems Tue Nov 23 23:20:47 CDT 2002: mmshutdown: Shutting down GPFS daemons storage001-myri0.cluster.com: 0513-044 The mmfs Subsystem was requested to stop. node001-myri0.cluster.com:  0513-044 The mmfs Subsystem was requested to stop. node002-myri0.cluster.com:  0513-044 The mmfs Subsystem was requested to stop. node003-myri0.cluster.com:  0513-044 The mmfs Subsystem was requested to stop. node004-myri0.cluster.com:  0513-044 The mmfs Subsystem was requested to stop. storage001-myri0.cluster.com:  Shutting down! storage001-myri0.cluster.com:  'shutdown' command about to kill process 1428 node001-myri0.cluster.com:  Shutting down! node001-myri0.cluster.com:  'shutdown' command about to kill process 1646 node002-myri0.cluster.com:  Shutting down! node002-myri0.cluster.com:  'shutdown' command about to kill process 1730 node003-myri0.cluster.com:  Shutting down! node003-myri0.cluster.com:  'shutdown' command about to kill process 1727 node004-myri0.cluster.com:  Shutting down! node004-myri0.cluster.com:  'shutdown' command about to kill process 1732 Tue Nov 23 23:20:49 CDT 2002: mmshutdown: Finished [root@node001 root]# 
end example



 < Day Day Up > 



Linux Clustering with CSM and GPFS
Linux Clustering With Csm and Gpfs
ISBN: 073849870X
EAN: 2147483647
Year: 2003
Pages: 123
Authors: IBM Redbooks

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net