HP WBEM Services for HP-UX System Administrator Guide (766166-001, March 2014)

LocalDateTime: Aug 9, 2002 15:57:47 (-0700)
SystemUpTime: 1985952 seconds = 22 days, 23 hrs, 39 mins, 12 secs
The wbemexec command
This command is available with A.02.05 and later versions of HP WBEM Services. The
webemexec command accepts a CIM-XML formatted file as input and sends it to the CIM
server as a CIM Request. The following is a sample CIM-XML input file:
<?xml version="1.0" encoding="utf-8" ?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="1000" PROTOCOLVERSION="1.0">
<SIMPLEREQ>
<IMETHODCALL NAME="EnumerateInstances">
<LOCALNAMESPACEPATH>
<NAMESPACE NAME="root"/>
<NAMESPACE NAME="cimv2"/>
</LOCALNAMESPACEPATH>
<IPARAMVALUE NAME="ClassName">
<CLASSNAME NAME="PG_OperatingSystem"/>
</IPARAMVALUE>
<IPARAMVALUE NAME="LocalOnly">
<VALUE>FALSEVALUE>FALSE>
</IPARAMVALUE>
</IMETHODCALL>
</SIMPLEREQ>
</MESSAGE>
</CIM>
If a configuration problem occurs with HP WBEM Services, then an error message is displayed.
For more information on wbemexec, see the wbemexec(1).
An error message from the wbemexec or the osinfo commands indicates a configuration problem
with either the HP WBEM Services installation or configuration. In such cases, you must troubleshoot
the problem and rectify it. For more information on troubleshooting such errors, see “Troubleshooting
HP WBEM Services” (page 43)
Before starting HP WBEM Services
Before starting HP WBEM Services, ensure that the following are present:
Ports are configured
HP WBEM Services supports ports 5988 (wbem_http) and 5989 (wbem_https). These two
ports are specified by DMTF and are registered with the Internet Assigned Numbers Authority
(IANA) at http://www.iana.org.
IMPORTANT: Hewlett-Packard supports only these two port configurations: HTTP on port
5988, and HTTPS on port 5989.
By default, the HTTP server of HP WBEM Services listens for Secure Sockets Layer (SSL)
encrypted communications on the HTTPS (secure) port, 5989. If you are sure your environment
is secure, you can set the configuration such that the server listens at the HTTP (non-SSL) port,
5988. For more information on ports, see Chapter 3 (page 34).
When HP WBEM Services receives an HTTP request over the configured port, it checks user
authentication, parses the request, looks up the resource, and contacts the registered provider,
if applicable. The provider sends a response to HP WBEM Services, and HP WBEM Services
sends it back to the client through this port.
HP WBEM Services infrastructure
For information about installing your version of HP WBEM Services, see the HP WBEM Services
Release Notes at www.hp.com/go/hpux-networking-docs and select HP-UX 11i WBEM
Software collection.
26 Installing and setting up HP WBEM Services