<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.StileMessaggioDiPostaElettronica21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="IT" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello Markus,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">ganesha is installed, but I will try what you suggest about configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">   A<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Da:</b> gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org>
<b>Per conto di </b>Markus Rohwedder<br>
<b>Inviato:</b> martedì 20 aprile 2021 12:35<br>
<b>A:</b> gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>
<b>Cc:</b> gpfsug-discuss-bounces@spectrumscale.org; 'sls-htc-admins@lists.psi.ch' <sls-htc-admins@lists.psi.ch><br>
<b>Oggetto:</b> Re: [gpfsug-discuss] NFSIO metrics absent in pmcollector<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="font-size:10.0pt">Hello Dorigo,</span><br>
<br>
<span style="font-size:10.0pt">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.</span><br>
<span style="font-size:10.0pt">In case you have not used the installer, you may miss some steps.</span><br>
<br>
<span style="font-size:10.0pt">- Please check if you have the requires packages installed.
</span><br>
<span style="font-size:10.0pt">(For example gpfs.pm-ganesha-10.0.0-2.el8.x86_64 or similar for NFS)</span><br>
<br>
<span style="font-size:10.0pt">- The config section should have the "Generic" keyword, like this</span><br>
<br>
<span style="font-size:10.0pt">{</span><br>
<span style="font-size:10.0pt">name = "NFSIO"</span><br>
<span style="font-size:10.0pt">period = 10</span><br>
<span style="font-size:10.0pt">restrict = "cesNodes"</span><br>
<span style="font-size:10.0pt">type = "Generic"</span><br>
<span style="font-size:10.0pt">},</span><br>
<br>
<span style="font-size:10.0pt">See here in the KC:</span><br>
<a href="https://www.ibm.com/docs/en/spectrum-scale/5.0.5?topic=tool-enabling-protocol-metrics"><span style="font-size:10.0pt">https://www.ibm.com/docs/en/spectrum-scale/5.0.5?topic=tool-enabling-protocol-metrics</span></a><span style="font-size:10.0pt"><br>
</span><br>
<span style="font-size:10.0pt">/var/log/zimon/ZIMonSensors.log may provides some additional clues as well.</span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Mit freundlichen Grüßen / Kind regards</span><br>
<br>
<b><span style="font-family:"Arial",sans-serif">Dr. Markus Rohwedder</span></b><br>
<br>
<span style="font-size:7.5pt;font-family:"Arial",sans-serif">IBM Systems / Lab Services Europe / EMEA Storage Competence Center</span><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="600" colspan="4" style="width:450.0pt;padding:0cm 0cm 0cm 0cm">
<div class="MsoNormal">
<hr size="1" width="100%" noshade="" style="color:#0055AA" align="left">
</div>
</td>
</tr>
<tr>
<td width="600" colspan="4" style="width:450.0pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0119in;height:.0119in" id="Immagine_x0020_2" src="cid:image004.png@01D735EC.3C4A1140"><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="39" style="width:29.25pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA">Phone:</span><o:p></o:p></p>
</td>
<td width="157" style="width:117.75pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA">+49 162 4159920</span><o:p></o:p></p>
</td>
<td width="246" style="width:184.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA">IBM Deutschland GmbH</span><o:p></o:p></p>
</td>
<td width="158" rowspan="4" style="width:118.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><img border="0" width="158" height="40" style="width:1.6488in;height:.4166in" id="Immagine_x0020_3" src="cid:image002.png@01D735EC.3C210570"><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="39" style="width:29.25pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA">E-Mail:</span><o:p></o:p></p>
</td>
<td width="157" style="width:117.75pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA"><a href="mailto:rohwedder@de.ibm.com">rohwedder@de.ibm.com</a></span><o:p></o:p></p>
</td>
<td width="246" style="width:184.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA">Am Weiher 24</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="39" style="width:29.25pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0119in;height:.0119in" id="Immagine_x0020_4" src="cid:image004.png@01D735EC.3C4A1140"><o:p></o:p></p>
</td>
<td width="157" style="width:117.75pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0119in;height:.0119in" id="Immagine_x0020_5" src="cid:image004.png@01D735EC.3C4A1140"><o:p></o:p></p>
</td>
<td width="246" style="width:184.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA">65451 Kelsterbach</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="39" style="width:29.25pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0119in;height:.0119in" id="Immagine_x0020_6" src="cid:image004.png@01D735EC.3C4A1140"><o:p></o:p></p>
</td>
<td width="157" style="width:117.75pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0119in;height:.0119in" id="Immagine_x0020_7" src="cid:image004.png@01D735EC.3C4A1140"><o:p></o:p></p>
</td>
<td width="246" style="width:184.5pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0055AA">Germany</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="600" colspan="4" style="width:450.0pt;padding:0cm 0cm 0cm 0cm">
<div class="MsoNormal">
<hr size="1" width="100%" noshade="" style="color:#0055AA" align="left">
</div>
</td>
</tr>
<tr>
<td width="600" colspan="4" style="width:450.0pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#999999">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
</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td width="600" colspan="4" style="width:450.0pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0119in;height:.0119in" id="Immagine_x0020_9" src="cid:image004.png@01D735EC.3C4A1140"><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p><br>
<img border="0" width="16" height="16" style="width:.1666in;height:.1666in" id="Immagine_x0020_10" src="cid:image003.gif@01D735EC.3C210570" alt="Inactive hide details for "Dorigo Alvise (PSI)" ---20.04.2021 12:19:44---Dear Community, I've activated CES-related metrics by "><span style="font-size:10.0pt;color:#424282">"Dorigo
 Alvise (PSI)" ---20.04.2021 12:19:44---Dear Community, I've activated CES-related metrics by simply doing:</span><br>
<br>
<span style="font-size:10.0pt;color:#5F5F5F">From: </span><span style="font-size:10.0pt">"Dorigo Alvise (PSI)" <<a href="mailto:alvise.dorigo@psi.ch">alvise.dorigo@psi.ch</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">To: </span><span style="font-size:10.0pt">"'gpfsug-discuss@spectrumscale.org'" <<a href="mailto:gpfsug-discuss@spectrumscale.org">gpfsug-discuss@spectrumscale.org</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Cc: </span><span style="font-size:10.0pt">"'sls-htc-admins@lists.psi.ch'" <<a href="mailto:sls-htc-admins@lists.psi.ch">sls-htc-admins@lists.psi.ch</a>></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Date: </span><span style="font-size:10.0pt">20.04.2021 12:19</span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Subject: </span><span style="font-size:10.0pt">[EXTERNAL] [gpfsug-discuss] NFSIO metrics absent in pmcollector</span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Sent by: </span><span style="font-size:10.0pt"><a href="mailto:gpfsug-discuss-bounces@spectrumscale.org">gpfsug-discuss-bounces@spectrumscale.org</a></span><o:p></o:p></p>
<div class="MsoNormal">
<hr size="1" width="100%" noshade="" style="color:#8091A5" align="left">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<span style="font-size:7.5pt;color:white">Dear Community, I’ve activated CES-related metrics by simply doing: [root@xbl-ces-91 ~]# mmperfmon config show |egrep -A4 'NFS|SMB' name = "NFSIO" period = 5 ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍ZjQcmQRYFpfptBannerStart</span>
<br>
<b><span style="font-family:"Arial",sans-serif">This Message Is From an External Sender
</span></b><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">This message came from outside your organization.
</span><br>
<span style="font-size:7.5pt;color:white">ZjQcmQRYFpfptBannerEnd</span><br>
Dear Community,<br>
<br>
I’ve activated CES-related metrics by simply doing:<br>
<br>
[root@xbl-ces-91 ~]# mmperfmon config show |egrep -A4 'NFS|SMB'<br>
name = "NFSIO"<br>
period = 5<br>
},<br>
{<br>
name = "SMBGlobalStats"<br>
period = 5<br>
},<br>
{<br>
name = "SMBStats"<br>
period = 5<br>
}<br>
<br>
Despite that, I get no result for any nfs* metrics:<br>
<br>
--------------------------------------------<br>
[root@xbl-ces-91 ~]# telnet localhost 9084<br>
Trying 127.0.0.1...<br>
Connected to localhost.<br>
Escape character is '^]'.<br>
get -j metrics nfs_read bucket_size 5 last 1<br>
Error: no data available for query<br>
.<br>
Connection closed by foreign host.<br>
<br>
[root@xbl-ces-91 ~]# mmperfmon query "nfs_read"<br>
Error: no data available for query<br>
.<br>
<br>
mmperfmon: Command failed. Examine previous error messages to determine cause.<br>
--------------------------------------------<br>
<br>
<br>
I am pretty sure my collector is working correctly as it returns data for a different metrics:<br>
<br>
[root@xbl-ces-91 ~]# telnet localhost 9084<br>
Trying 127.0.0.1...<br>
Connected to localhost.<br>
Escape character is '^]'.<br>
get -j metrics gpfs_fs_bytes_read last 20 bucket_size 1<br>
{"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" :
<br>
[…]<br>
<br>
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) ?<br>
<br>
Thank you,<br>
<br>
Alvise<tt><span style="font-size:10.0pt">_______________________________________________</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at spectrumscale.org</tt><br>
<tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a> </tt><br>
</span><br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>