[gpfsug-discuss] NFSIO metrics absent in pmcollector

Markus Rohwedder rohwedder at de.ibm.com
Tue Apr 20 11:34:59 BST 2021


Hello Dorigo,

in contrast to the basic Spectrum Scale metrics, the NFS and SMB sensors
rely on a proxy mechanism that provides the metrics out of the CES stack.
In case you have not used the installer, you may miss some steps.

- Please check if you have the requires packages installed.
(For example gpfs.pm-ganesha-10.0.0-2.el8.x86_64 or similar for NFS)

- The config section should have the "Generic" keyword, like this

{
        name = "NFSIO"
        period = 10
        restrict = "cesNodes"
        type = "Generic"
},

See here in the KC:
https://www.ibm.com/docs/en/spectrum-scale/5.0.5?topic=tool-enabling-protocol-metrics


 /var/log/zimon/ZIMonSensors.log may provides some additional clues as
well.

Mit freundlichen Grüßen / Kind regards

Dr. Markus Rohwedder

IBM Systems / Lab Services Europe / EMEA Storage Competence Center
                                                                                             
                                                                                             
                                                                                             
                                                                                             
                                                                                             
 Phone:            +49 162 4159920       IBM Deutschland GmbH                                
                                                                                             
 E-Mail:           rohwedder at de.ibm.com  Am Weiher 24                                        
                                                                                             
                                         65451 Kelsterbach                                   
                                                                                             
                                         Germany                                             
                                                                                             
                                                                                             
                                                                                             
 IBM Deutschland                                                                             
 GmbH /                                                                                      
 Vorsitzender des                                                                            
 Aufsichtsrats:                                                                              
 Sebastian                                                                                   
 Krause /                                                                                    
 Geschäftsführung:                                                                           
 Gregor Pillen                                                                               
 (Vorsitzender),                                                                             
 Agnes Heftberger,                                                                           
 Norbert Janzen,                                                                             
 Markus Koerner,                                                                             
 Christian Noll,                                                                             
 Nicole Reimer /                                                                             
 Sitz der                                                                                    
 Gesellschaft:                                                                               
 71139 Ehningen,                                                                             
 IBM-Allee 1 /                                                                               
 Registergericht:                                                                            
 Amtsgericht                                                                                 
 Stuttgart,                                                                                  
 HRB14562                                                                                    
                                                                                             
                                                                                             
                                                                                             





From:	"Dorigo Alvise (PSI)" <alvise.dorigo at psi.ch>
To:	"'gpfsug-discuss at spectrumscale.org'"
            <gpfsug-discuss at spectrumscale.org>
Cc:	"'sls-htc-admins at lists.psi.ch'" <sls-htc-admins at lists.psi.ch>
Date:	20.04.2021 12:19
Subject:	[EXTERNAL] [gpfsug-discuss] NFSIO metrics absent in pmcollector
Sent by:	gpfsug-discuss-bounces at spectrumscale.org



Dear Community, I’ve activated CES-related metrics by simply doing:
[root at xbl-ces-91 ~]# mmperfmon config show |egrep -A4 'NFS|SMB' name =
"NFSIO" period = 5 ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Dear Community,

I’ve activated CES-related metrics by simply doing:

[root at xbl-ces-91 ~]# mmperfmon config show |egrep -A4 'NFS|SMB'
        name = "NFSIO"
        period = 5
},
{
        name = "SMBGlobalStats"
        period = 5
},
{
        name = "SMBStats"
        period = 5
}

Despite that, I get no result for any nfs* metrics:

--------------------------------------------
[root at xbl-ces-91 ~]# telnet localhost 9084
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get -j metrics nfs_read bucket_size 5 last 1
Error: no data available for query
.
Connection closed by foreign host.

[root at xbl-ces-91 ~]# mmperfmon query "nfs_read"
Error: no data available for query
.

mmperfmon: Command failed. Examine previous error messages to determine
cause.
--------------------------------------------


I am pretty sure my collector is working correctly as it returns data for a
different metrics:

[root at xbl-ces-91 ~]# telnet localhost 9084
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get -j metrics gpfs_fs_bytes_read last 20 bucket_size 1
{"header" : {"bcount" : 20,"bsize" : 1,"t_start" : 1618912752,"t_end" :
1618912772},"legend" : [{"caption" : "gpfs_fs_bytes_read","semType" :
2,"aggrType" : "value difference between start and end of the
bucket","type" : 4,"keys" : ["xbl-ces-91.psi.ch|GPFSFilesystem|
lenovoxbl.psi.ch|perf|gpfs_fs_bytes_read"]},{"caption" :
"gpfs_fs_bytes_read","semType" : 2,"aggrType" : "value difference between
start and end of the bucket","type" : 4,"keys" : ["xbl-ces-91.psi.ch|
GPFSFilesystem|lenovoxbl.psi.ch|tiered|gpfs_fs_bytes_read"]},{"caption" :
"gpfs_fs_bytes_read","semType" : 2,"aggrType" : "value difference between
start and end of the bucket","type" : 4,"keys" : ["xbl-ces-92.psi.ch|
GPFSFilesystem|lenovoxbl.psi.ch|perf|gpfs_fs_bytes_read"]},{"caption" :
"gpfs_fs_bytes_read","semType" : 2,"aggrType" : "value difference between
start and end of the bucket","type" : 4,"keys" : ["xbl-ces-92.psi.ch|
GPFSFilesystem|lenovoxbl.psi.ch|tiered|gpfs_fs_bytes_read"]}],"rows" :
[…]

Any clue ? Is the activation of NFSIO enough in the mmperfmon’s config file
(this is the first time I try to configure CES monitoring) ?

Thank you,

   Alvise_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210420/960caaa5/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210420/960caaa5/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1A548529.gif
Type: image/gif
Size: 4659 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210420/960caaa5/attachment-0007.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210420/960caaa5/attachment-0008.gif>


More information about the gpfsug-discuss mailing list