Starting and stopping GPFS
You can use the mmstartup and mmshutdown commands to start and stop GPFS™ on new or existing clusters.
For new GPFS clusters, see Steps for establishing and starting your IBM Spectrum Scale cluster
For
existing GPFS clusters, before
starting GPFS, ensure that you
have:
- Verified the installation of all prerequisite software.
- Compiled the GPL layer, if Linux is being used.
Tip: You can configure a cluster to rebuild the GPL automatically whenever a new level of the Linux kernel is installed or whenever a new level of IBM Spectrum Scale is installed. This feature is available only on the Linux operating system. For more information, see the description of the autoBuildGPL attribute in the topic mmchconfig command.
- Properly configured and tuned your system for use by GPFS. This should be done prior to starting GPFS.
Start
the daemons on all of the nodes in the cluster by issuing the mmstartup
-a command:
mmstartup -a
The
output is similar to this: Tue Aug 24 15:54:56 edt 2004: 6027-1642 mmstartup: Starting GPFS ...
Check the messages recorded in /var/adm/ras/mmfs.log.latest on
one node for verification. Look for messages similar to this:
GPFS: 6027-300 [N] mmfsd ready
This indicates that quorum has been formed and this node
has successfully joined the cluster, and is now ready to mount file
systems.If GPFS does not start, see GPFS daemon will not come up.
For complete usage information, see mmstartup command.
If it becomes necessary to stop GPFS, you can do so from the command line by
issuing the mmshutdown command:
mmshutdown -a
The
system displays information similar to: Thu Aug 12 13:10:40 EDT 2004: 6027-1341 mmshutdown: Starting force unmount of GPFS file systems
k164n05.kgn.ibm.com: forced unmount of /fs1
k164n04.kgn.ibm.com: forced unmount of /fs1
k164n06.kgn.ibm.com: forced unmount of /fs1
Thu Aug 12 13:10:45 EDT 2004: 6027-1344 mmshutdown: Shutting down GPFS daemons
k164n04.kgn.ibm.com: Shutting down!
k164n06.kgn.ibm.com: Shutting down!
k164n05.kgn.ibm.com: Shutting down!
k164n04.kgn.ibm.com: 'shutdown' command about to kill process 49682
k164n05.kgn.ibm.com: 'shutdown' command about to kill process 28194
k164n06.kgn.ibm.com: 'shutdown' command about to kill process 30782
Thu Aug 12 13:10:54 EDT 2004: 6027-1345 mmshutdown: Finished
For complete usage information, see mmshutdown command.