mmchlicense command

Controls the type of GPFS™ license associated with the nodes in the cluster.

Synopsis

mmchlicense {client|fpo|server} [--accept] -N {Node[,Node...] | NodeFile | NodeClass}

Availability

Available on all IBM Spectrum Scale™ editions.

Description

Use the mmchlicense command to change the type of GPFS license associated with the nodes in the cluster.

For information on GPFS license designation, see "GPFS license designation" in IBM Spectrum Scale: Concepts, Planning, and Installation Guide.

Parameters

client | fpo | server
The type of GPFS license to be assigned to the nodes specified with the -N parameter.
client
The IBM Spectrum Scale Client license permits exchange of data between nodes that locally mount the same GPFS file system. No other export of the data is permitted. The GPFS client may not be used for nodes to share GPFS data directly through any application, service, protocol or method, such as Network File System (NFS), Common Internet File System (CIFS), File Transfer Protocol (FTP), or Hypertext Transfer Protocol (HTTP). For these functions, an IBM Spectrum Scale Server license would be required.
fpo
The IBM Spectrum Scale FPO license permits the licensed node to perform NSD server functions for sharing GPFS data with other nodes that have an IBM Spectrum Scale FPO or IBM Spectrum Scale Server license. This license cannot be used to share data with nodes that have an IBM Spectrum Scale Client license or non-GPFS nodes.
server
The IBM Spectrum Scale Server license permits the licensed node to perform GPFS management functions such as cluster configuration manager, quorum node, manager node, and Network Shared Disk (NSD) server. In addition, the IBM Spectrum Scale Server license permits the licensed node to share GPFS data directly through any application, service protocol or method such as NFS, CIFS, FTP, or HTTP.
--accept
Indicates that you accept the applicable licensing terms. The license acceptance prompt will be suppressed.
-N {Node[,Node...] | NodeFile | NodeClass}
Specifies the nodes that are to be assigned the specified license type.

For general information on how to specify node names, see Specifying nodes as input to GPFS commands in the IBM Spectrum Scale: Administration and Programming Reference.

Exit status

0
Successful completion.
nonzero
A failure has occurred.

Security

You must have root authority to run the mmchlicense command.

The node on which the command is issued must be able to execute remote shell commands on any other node in the cluster without the use of a password and without producing any extraneous messages. For more information, see Requirements for administering a file system in IBM Spectrum Scale: Administration and Programming Reference.

Examples

To designate nodes k145n04 and k145n05 as possessing a GPFS server license, issue this command:
mmchlicense server --accept -N k145n04,k145n05
The system displays information similar to:
The following nodes will be designated as possessing GPFS server licenses:
        k145n04.kgn.ibm.com 
        k145n05.kgn.ibm.com
mmchlicense: Command successfully completed
mmchlicense: Propagating the cluster configuration data to all
  affected nodes.  This is an asynchronous process.

Location

/usr/lpp/mmfs/bin