<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Hello Richard,</div>
<div dir="ltr" > </div>
<div dir="ltr" >without the PTF (which is not yet available) you will have to manually clear the GUI database as well by running the following command on the GUI node:</div>
<div dir="ltr" > </div>
<div dir="ltr" >psql postgres postgres -c "delete from fscc.gss_state where sensor like 'H\_%';"</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" > </div>
<div dir="ltr" >This will remove all events from the GUI database coming from mmhealth. To repopulate this table with all the currently reported events from mmhealth please run:</div>
<div dir="ltr" > </div>
<div dir="ltr" >/usr/lpp/mmfs/gui/cli/runtask HEALTH_STATES</div>
<div dir="ltr" > </div>
<div dir="ltr" >Let me know if that helps,</div>
<div dir="ltr" ><br>Andreas Koeninger<br>Spectrum Scale GUI Development</div></div></div>
<div dir="ltr" > 
<div> </div>
<blockquote data-history-content-modified="1" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Sobey, Richard A" <r.sobey@imperial.ac.uk><br>Sent by: gpfsug-discuss-bounces@spectrumscale.org<br>To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org><br>Cc:<br>Subject: Re: [gpfsug-discuss] How to clear stale entries in GUI log<br>Date: Tue, Nov 8, 2016 4:10 PM<br> <br><!--Notes ACF
<meta http-equiv="Content-Type" content="text/html; charset=utf8" >--> <!--[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]-->
<div><p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >Thanks. I’ve run that on, I assume, our quorum server where this disk is mounted, but the error is still showing up.<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >The event itself doesn’t say which node is affected.<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >ICSAN_GPFS_FSD_QUORUM nsd         512         103 no       no    ready         up           system<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >That looks ok to me.<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >Maybe I misunderstood your line “</span>This is a per node database, so you need to run this on all the nodes which have stale entries.<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >”.<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >Should I just run it on all the nodes in the cluster instead… there’s not many so won’t take long but wondering if that’s really necessary?<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >Thanks<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" >Richard<o:p></o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US" ><o:p> </o:p></span></p>
<p><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;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><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US" >From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US" > gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] <b>On Behalf Of </b>Markus Rohwedder<br><b>Sent:</b> 08 November 2016 14:51<br><b>To:</b> gpfsug-discuss@spectrumscale.org<br><b>Subject:</b> [gpfsug-discuss] How to clear stale entries in GUI log<o:p></o:p></span></p></div></div>
<p><o:p> </o:p></p>
<p style="margin-bottom:12.0pt" >Hello,<br><br>you ran into a defect which is fixed with the upcoming 4.2.1.2 PTF<br><br>Here is a workaround:<br>You can clear the eventlog of the system health component using<br>mmsysmonc clearDB<br>This is a per node database, so you need to run this on all the nodes which have stale entries.<br>It will clear all the events on this node, if you want to save them run:<br>mmhealth node eventlog > log.save<br><br>On the GUI node, run systemctl restart gpfsgui afterwards.<br><br>The mmhealth command suppresses events during startup.<br>So in case a bad condition turns OK during a restart phase, the bad event will remain stale.<br><br>Regards,<br><br>Markus Rohwedder<br>IBM Spectrum Scale GUI development<o:p></o:p></p></div>
<div><font size="2" face="Default Monospace,Courier New,Courier,monospace" >_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss" target="_blank" >http://gpfsug.org/mailman/listinfo/gpfsug-discuss</a></font></div></blockquote>
<div> </div></div></div><BR>