<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Clear SYSLOG SERVER question. in BladeSystem - General</title>
    <link>https://community.hpe.com/t5/bladesystem-general/clear-syslog-server-question/m-p/6652182#M24379</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Patrick was looking to clear the SYSLOG server and start fresh.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to clear the SERVER SYSLOG within the OA?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’m using a LAB Enclosure and the “SHOW ALL” takes too long to generate. Most of it are because the SERVER SYSLOG are huge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Input from Hoa:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To clear the list of all logged events in the system log, click the Clear button on the lower-right below the&lt;/P&gt;
&lt;P&gt;system log display.&lt;/P&gt;
&lt;P&gt;Extended system log&lt;/P&gt;
&lt;P&gt;You can also retain an extended system log with a maximum capacity of 300 KB. The extended system log&lt;/P&gt;
&lt;P&gt;can be saved to a USB device upon system reboot.&lt;/P&gt;
&lt;P&gt;CAUTION: Extended system log data is not retained in the event of a power loss.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reply from Patrick:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;That’s the OA Syslog. I’m looking to clear the SERVER Syslog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;From Kelly:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It has been a few years since I have done it, but in the past I have used the OA CLI, you should be able to use iLO XML scripting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of invoking “hponcfg” via the OA CLI, it would clear the IML and Event Log for bays “1-16” (1 through 16).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to cut-n-paste the folloing block (“MARKER-1” to “MARKER-1”)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HPONCFG 1-16 &amp;lt;&amp;lt; MARKER-1&lt;/P&gt;
&lt;P&gt;&amp;lt;RIBCL VERSION="2.0"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;LOGIN USER_LOGIN="notused" PASSWORD="na"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;SERVER_INFO MODE="write"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;CLEAR_IML /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;lt;CLEAR_EVENTLOG /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;/SERVER_INFO&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/LOGIN&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/RIBCL&amp;gt;&lt;/P&gt;
&lt;P&gt;MARKER-1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And from Dan:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I was just creating something similar but more sinister.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HPONCFG ALL &amp;lt;&amp;lt; end_marker&lt;BR /&gt;&amp;lt;RIBCL VERSION="2.0"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;LOGIN USER_LOGIN="adminname" PASSWORD="password"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RIB_INFO MODE="write"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CLEAR_EVENTLOG/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/RIB_INFO&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SERVER_INFO MODE="write"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CLEAR_IML/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/SERVER_INFO&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/LOGIN&amp;gt;&lt;BR /&gt;&amp;lt;/RIBCL&amp;gt;&lt;BR /&gt;end_marker&lt;/P&gt;
&lt;P&gt;CLEAR SYSLOG ENCLOSURE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will wipe the IML and iLO Activity Log from every Blade in the Chassis&lt;/P&gt;
&lt;P&gt;Then it will wipe the OA Syslogs from the entire enclosure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shortest ShowAll ever!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reply from Patrick:&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dan’s script attached did it. With only 4 blades in the chassis, it reduce the show all from 400KB to 140KB. Most important, the time to create a “show all” is way faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all for your quick response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;**************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Comments?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2014 13:20:42 GMT</pubDate>
    <dc:creator>chuckk281</dc:creator>
    <dc:date>2014-10-21T13:20:42Z</dc:date>
    <item>
      <title>Clear SYSLOG SERVER question.</title>
      <link>https://community.hpe.com/t5/bladesystem-general/clear-syslog-server-question/m-p/6652182#M24379</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Patrick was looking to clear the SYSLOG server and start fresh.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to clear the SERVER SYSLOG within the OA?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’m using a LAB Enclosure and the “SHOW ALL” takes too long to generate. Most of it are because the SERVER SYSLOG are huge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Input from Hoa:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To clear the list of all logged events in the system log, click the Clear button on the lower-right below the&lt;/P&gt;
&lt;P&gt;system log display.&lt;/P&gt;
&lt;P&gt;Extended system log&lt;/P&gt;
&lt;P&gt;You can also retain an extended system log with a maximum capacity of 300 KB. The extended system log&lt;/P&gt;
&lt;P&gt;can be saved to a USB device upon system reboot.&lt;/P&gt;
&lt;P&gt;CAUTION: Extended system log data is not retained in the event of a power loss.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reply from Patrick:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;That’s the OA Syslog. I’m looking to clear the SERVER Syslog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;From Kelly:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It has been a few years since I have done it, but in the past I have used the OA CLI, you should be able to use iLO XML scripting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of invoking “hponcfg” via the OA CLI, it would clear the IML and Event Log for bays “1-16” (1 through 16).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to cut-n-paste the folloing block (“MARKER-1” to “MARKER-1”)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HPONCFG 1-16 &amp;lt;&amp;lt; MARKER-1&lt;/P&gt;
&lt;P&gt;&amp;lt;RIBCL VERSION="2.0"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;LOGIN USER_LOGIN="notused" PASSWORD="na"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;SERVER_INFO MODE="write"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;CLEAR_IML /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;lt;CLEAR_EVENTLOG /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;/SERVER_INFO&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/LOGIN&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/RIBCL&amp;gt;&lt;/P&gt;
&lt;P&gt;MARKER-1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And from Dan:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I was just creating something similar but more sinister.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HPONCFG ALL &amp;lt;&amp;lt; end_marker&lt;BR /&gt;&amp;lt;RIBCL VERSION="2.0"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;LOGIN USER_LOGIN="adminname" PASSWORD="password"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RIB_INFO MODE="write"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CLEAR_EVENTLOG/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/RIB_INFO&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;SERVER_INFO MODE="write"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CLEAR_IML/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/SERVER_INFO&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/LOGIN&amp;gt;&lt;BR /&gt;&amp;lt;/RIBCL&amp;gt;&lt;BR /&gt;end_marker&lt;/P&gt;
&lt;P&gt;CLEAR SYSLOG ENCLOSURE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will wipe the IML and iLO Activity Log from every Blade in the Chassis&lt;/P&gt;
&lt;P&gt;Then it will wipe the OA Syslogs from the entire enclosure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shortest ShowAll ever!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reply from Patrick:&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dan’s script attached did it. With only 4 blades in the chassis, it reduce the show all from 400KB to 140KB. Most important, the time to create a “show all” is way faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all for your quick response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;**************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Comments?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 13:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/bladesystem-general/clear-syslog-server-question/m-p/6652182#M24379</guid>
      <dc:creator>chuckk281</dc:creator>
      <dc:date>2014-10-21T13:20:42Z</dc:date>
    </item>
  </channel>
</rss>

