<?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 Re: Check SIM status from scripts in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990749#M61968</link>
    <description>Kelvin, you have several options here...&lt;BR /&gt;&lt;BR /&gt;Asset Tag&lt;BR /&gt;&lt;BR /&gt;This is a reportable field in HP SIM, so if it is set, you can pick it up and run a report.  In order to set it, as you note above, the most common way is to use [F9] and go in to RBSU.  However, you also can use the SmartStart Scripting Toolkit for Windows' CONREP utility to set it.  Keep in mind that values from the BIOS are only read in at boot time, so you won't be able to retrieve that value after setting it until a reboot occurs.&lt;BR /&gt;&lt;BR /&gt;SmartArray Cache&lt;BR /&gt;&lt;BR /&gt;The Array Configuration Utility delivered as part of the ProLiant Support Pack is the key here.  With OpenSSH on your target systems, you can use HP SIM's custom tools to deliver a batch file that will call ACU and filter for what you want, and then that can be displayed by SIM as a report.  The batch file would look like this:&lt;BR /&gt;&lt;BR /&gt;@echo off&lt;BR /&gt;c:\PROGRA~1\COMPAQ\CPQACUXE\BIN\CPQACUXE -C c:\acucapt.ini&lt;BR /&gt;TYPE C:\ACUCAPT.INI | FIND "Cache"&lt;BR /&gt;&lt;BR /&gt;...and then when you run it against your systems you'll have the following for each one:&lt;BR /&gt;&lt;BR /&gt;ReadCache= xxx&lt;BR /&gt;WriteCache= yyy&lt;BR /&gt;&lt;BR /&gt;You can also use the same technique to modify the settings.&lt;BR /&gt;&lt;BR /&gt;Health Status&lt;BR /&gt;&lt;BR /&gt;This is not collected into the database because it is very dynamic, being updated by default Server Status Polling every 5 minutes.  The overall status as reported on the Systems Management Homepage is based on what's called the ProLiant Status Array.  I don't have a reference handy for its OID, but if you snmpwalk the 232 (Compaq) enterprise, you should be able to find it.&lt;BR /&gt;&lt;BR /&gt;You also might want to check out "How to manage non-HP servers with HP SIM" from &lt;A href="http://www.hp.com/go/hpsim" target="_blank"&gt;http://www.hp.com/go/hpsim&lt;/A&gt; --&amp;gt; Information Library to see how to go about using HP SIM to manage those Dells and IBMs you have lying around.  HP SIM is a pretty good multi-vendor manager.</description>
    <pubDate>Wed, 02 May 2007 18:50:59 GMT</pubDate>
    <dc:creator>David Claypool</dc:creator>
    <dc:date>2007-05-02T18:50:59Z</dc:date>
    <item>
      <title>Check SIM status from scripts</title>
      <link>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990746#M61965</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am trying to write vbscripts using either WMI or SNMP to query status and values of HP proliant servers. I don't seem to find any documents how this can be done?&lt;BR /&gt;&lt;BR /&gt;Here is some example of what I want to do from scripts:&lt;BR /&gt;- Query h/w status of SIM (just as we see it in the web page)&lt;BR /&gt;- query smart array cache ratio setting (or set the settings also)&lt;BR /&gt;- query asset text which we have enter via F9, this is the value found in system info -&amp;gt; Asset control informatin -&amp;gt; Asset Tag&lt;BR /&gt;&lt;BR /&gt;Thanks for the help&lt;BR /&gt;Regards&lt;BR /&gt;Kelvin Wong</description>
      <pubDate>Sun, 29 Apr 2007 22:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990746#M61965</guid>
      <dc:creator>Kelvin Wong2</dc:creator>
      <dc:date>2007-04-29T22:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Check SIM status from scripts</title>
      <link>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990747#M61966</link>
      <description>Kelvin,&lt;BR /&gt;&lt;BR /&gt;Are you trying to eliminate CMS (SIM Server, not the agents on the client servers) entirely?  If not, you should be able to query this information by using the mxnode command line utility to dump the information from the nodes and parse, or use WMI to query the database directly against the reporting tables.  Outside of that, you are attempting to re-write what HP has done with the agents and SIM to start with.  For information on the command line or database tables click on the '?' in SIM and search the help file for either.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Derek</description>
      <pubDate>Tue, 01 May 2007 06:59:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990747#M61966</guid>
      <dc:creator>Derek_56</dc:creator>
      <dc:date>2007-05-01T06:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Check SIM status from scripts</title>
      <link>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990748#M61967</link>
      <description>Hi Derek,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. I hope I am not redoing the work of HP SIM. But the problem is that my organisation like a lot out there, does not have only one brand of servers, so I would like to find a more generic way of setting my servers, like with scripting via WMI and SNMP, via gets and sets.&lt;BR /&gt;&lt;BR /&gt;So far this cannot be done via SIM reporting/setting:&lt;BR /&gt;- Set Asset Tag (this can be reported)&lt;BR /&gt;- Get/Set smart array cache ratio&lt;BR /&gt;- Health status of the h/w as reported by HP web SIM agent (there is no such category in the reporter).&lt;BR /&gt;&lt;BR /&gt;So I am trying to find out if HP exposes such properties via WMI or SNMP so that I can write scripts to manage my HP server together with other brands like IBM and DeLL, from a single scripting logic.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 01 May 2007 19:35:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990748#M61967</guid>
      <dc:creator>Kelvin Wong2</dc:creator>
      <dc:date>2007-05-01T19:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Check SIM status from scripts</title>
      <link>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990749#M61968</link>
      <description>Kelvin, you have several options here...&lt;BR /&gt;&lt;BR /&gt;Asset Tag&lt;BR /&gt;&lt;BR /&gt;This is a reportable field in HP SIM, so if it is set, you can pick it up and run a report.  In order to set it, as you note above, the most common way is to use [F9] and go in to RBSU.  However, you also can use the SmartStart Scripting Toolkit for Windows' CONREP utility to set it.  Keep in mind that values from the BIOS are only read in at boot time, so you won't be able to retrieve that value after setting it until a reboot occurs.&lt;BR /&gt;&lt;BR /&gt;SmartArray Cache&lt;BR /&gt;&lt;BR /&gt;The Array Configuration Utility delivered as part of the ProLiant Support Pack is the key here.  With OpenSSH on your target systems, you can use HP SIM's custom tools to deliver a batch file that will call ACU and filter for what you want, and then that can be displayed by SIM as a report.  The batch file would look like this:&lt;BR /&gt;&lt;BR /&gt;@echo off&lt;BR /&gt;c:\PROGRA~1\COMPAQ\CPQACUXE\BIN\CPQACUXE -C c:\acucapt.ini&lt;BR /&gt;TYPE C:\ACUCAPT.INI | FIND "Cache"&lt;BR /&gt;&lt;BR /&gt;...and then when you run it against your systems you'll have the following for each one:&lt;BR /&gt;&lt;BR /&gt;ReadCache= xxx&lt;BR /&gt;WriteCache= yyy&lt;BR /&gt;&lt;BR /&gt;You can also use the same technique to modify the settings.&lt;BR /&gt;&lt;BR /&gt;Health Status&lt;BR /&gt;&lt;BR /&gt;This is not collected into the database because it is very dynamic, being updated by default Server Status Polling every 5 minutes.  The overall status as reported on the Systems Management Homepage is based on what's called the ProLiant Status Array.  I don't have a reference handy for its OID, but if you snmpwalk the 232 (Compaq) enterprise, you should be able to find it.&lt;BR /&gt;&lt;BR /&gt;You also might want to check out "How to manage non-HP servers with HP SIM" from &lt;A href="http://www.hp.com/go/hpsim" target="_blank"&gt;http://www.hp.com/go/hpsim&lt;/A&gt; --&amp;gt; Information Library to see how to go about using HP SIM to manage those Dells and IBMs you have lying around.  HP SIM is a pretty good multi-vendor manager.</description>
      <pubDate>Wed, 02 May 2007 18:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990749#M61968</guid>
      <dc:creator>David Claypool</dc:creator>
      <dc:date>2007-05-02T18:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Check SIM status from scripts</title>
      <link>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990750#M61969</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;Many thanks for your reply, I will go check them out.</description>
      <pubDate>Wed, 02 May 2007 18:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/check-sim-status-from-scripts/m-p/3990750#M61969</guid>
      <dc:creator>Kelvin Wong2</dc:creator>
      <dc:date>2007-05-02T18:54:27Z</dc:date>
    </item>
  </channel>
</rss>

