GPFS 3.3 Introduced License designations, for both client and server nodes. So after upgrading a cluster from GPFS 3.2, you are required to designate licenses with the mmchlicnse
command.
I recently upgraded a GPFS cluster from 3.2 to 3.5 which contained 6 servers and 393 clients. Unfortuantly mmlslicense
does not agree with me and has determined it requires 396 server licenses and 7 client licenses.
|
|
Even using the mmchnode --client
did not demote the client.
The GPFS 3.5: Concepts, Planning, and Installation Guide states:
The GPFS 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 GPFS 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.
But no details are provided on how GPFS determines the “Required License” or what to do if it reports incorrectly. Digging in to the depths of GPFS a bit more and we can see that the getServerLicenseClass
in the /usr/lpp/mmfs/bin/mmglobfuncs
uses the following piece of awk to determine if a node is classed as a server or a client.
|
|
It turns out that the CNFS_IPLIST_Field
(field 23) wasn’t blank and triggered GPFS to believe the nodes were servers. Looking at the data in /var/mmfs/gen/mmsdrfs
, I can see the culprit, one space!
%%home%%:20_MEMBER_NODE::141:134:u02n002:10.143.2.2:u02n002.data.cluster:client::::::u02n002.data.cluster:u02n002:1350:3.5.0.21:Linux:N::: :::::
This can easily be changed using the mmchnode command:
|
|
Once run against the nodes that were being classed incorrectly, mmlslicense
now reports correctly.
|
|