The node on which the mmgetstate  command is run must have the GPFS mounted. The node must also run remote shell commands on any other node in the GPFS/IBM Spectrum Scale cluster without the use of a password and without producing any extraneous messages. 

Example 7-1 shows how to get status about the GPFS/IBM Spectrum Scale daemon on one or more nodes. 

[root@ltfs97 ~]# mmgetstate -a Node number Node name GPFS state ------------------------------------------ 1 htohru9 down 

The -a  argument shows the state of the GPFS/IBM Spectrum Scale daemon on all nodes in the cluster. 

Permissions: Retrieving the status for GPFS/IBM Spectrum Scale requires root user permissions. 

The following GPFS/IBM Spectrum Scale states are recognized and shown by this command: 

GLYPH<SM590000> Active: GPFS/IBM Spectrum Scale is ready for operations. 

GLYPH<SM590000> Arbitrating: A node is trying to form a quorum with the other available nodes. 

GLYPH<SM590000> Down: GPFS/IBM Spectrum Scale daemon is not running on the node or is recovering from an internal error. 

GLYPH<SM590000> Unknown: Unknown value. The node cannot be reached or some other error occurred. 

If the GPFS/IBM Spectrum Scale state is not active, attempt to start GPFS/IBM Spectrum Scale and check its status, as shown in Example 7-2. 

[root@ltfs97 ~]# mmstartup -a Tue Apr 2 14:41:13 JST 2013: mmstartup: Starting GPFS ... [root@ltfs97 ~]# mmgetstate -a Node number Node name GPFS state ------------------------------------------ 1 htohru9 active 

If the status is active, also check the GPFS/IBM Spectrum Scale mount status by running the command that is shown in Example 7-3. 

[root@ltfs97 ~]# mmlsmount all File system gpfs is mounted on 1 nodes. 

The message confirms that the GPFS file system is mounted. 

