- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Re: Check SIM status from scripts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 03:28 PM
04-29-2007 03:28 PM
Check SIM status from scripts
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?
Here is some example of what I want to do from scripts:
- Query h/w status of SIM (just as we see it in the web page)
- query smart array cache ratio setting (or set the settings also)
- query asset text which we have enter via F9, this is the value found in system info -> Asset control informatin -> Asset Tag
Thanks for the help
Regards
Kelvin Wong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2007 11:59 PM
04-30-2007 11:59 PM
Re: Check SIM status from scripts
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.
Good luck,
Derek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2007 12:35 PM
05-01-2007 12:35 PM
Re: Check SIM status from scripts
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.
So far this cannot be done via SIM reporting/setting:
- Set Asset Tag (this can be reported)
- Get/Set smart array cache ratio
- Health status of the h/w as reported by HP web SIM agent (there is no such category in the reporter).
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.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 11:50 AM
05-02-2007 11:50 AM
Re: Check SIM status from scripts
Asset Tag
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.
SmartArray Cache
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:
@echo off
c:\PROGRA~1\COMPAQ\CPQACUXE\BIN\CPQACUXE -C c:\acucapt.ini
TYPE C:\ACUCAPT.INI | FIND "Cache"
...and then when you run it against your systems you'll have the following for each one:
ReadCache= xxx
WriteCache= yyy
You can also use the same technique to modify the settings.
Health Status
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.
You also might want to check out "How to manage non-HP servers with HP SIM" from http://www.hp.com/go/hpsim --> 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 11:54 AM
05-02-2007 11:54 AM
Re: Check SIM status from scripts
Many thanks for your reply, I will go check them out.