[gpfsug-discuss] R: NFSIO metrics absent in pmcollector

Dorigo Alvise (PSI) alvise.dorigo at psi.ch
Tue Apr 20 12:51:19 BST 2021


Hello Markus,
ganesha is installed, but I will try what you suggest about configuration.

   A

Da: gpfsug-discuss-bounces at spectrumscale.org <gpfsug-discuss-bounces at spectrumscale.org> Per conto di Markus Rohwedder
Inviato: martedì 20 aprile 2021 12:35
A: gpfsug main discussion list <gpfsug-discuss at spectrumscale.org>
Cc: gpfsug-discuss-bounces at spectrumscale.org; 'sls-htc-admins at lists.psi.ch' <sls-htc-admins at lists.psi.ch>
Oggetto: Re: [gpfsug-discuss] NFSIO metrics absent in pmcollector


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

[cid:image002.png at 01D735EC.3C210570]

E-Mail:

rohwedder at de.ibm.com<mailto: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




[Inactive hide details for "Dorigo Alvise (PSI)" ---20.04.2021 12:19:44---Dear Community, I've activated CES-related metrics by]"Dorigo Alvise (PSI)" ---20.04.2021 12:19:44---Dear Community, I've activated CES-related metrics by simply doing:

From: "Dorigo Alvise (PSI)" <alvise.dorigo at psi.ch<mailto:alvise.dorigo at psi.ch>>
To: "'gpfsug-discuss at spectrumscale.org'" <gpfsug-discuss at spectrumscale.org<mailto:gpfsug-discuss at spectrumscale.org>>
Cc: "'sls-htc-admins at lists.psi.ch'" <sls-htc-admins at lists.psi.ch<mailto: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<mailto: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/974389fb/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 4659 bytes
Desc: image002.png
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210420/974389fb/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 105 bytes
Desc: image003.gif
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210420/974389fb/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 167 bytes
Desc: image004.png
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20210420/974389fb/attachment-0005.png>


More information about the gpfsug-discuss mailing list