HP WBEM Services for HP-UX System Administrator Guide

For information on the options that you can set, see “CIM Server properties” (page 29). You can
also view the manpage for the cimconfig command.
If you attempt to start the CIM Server when it is already running, the following message appears:
/opt/wbem/lbin/cimserver: cimserver is already running (the PID found
in the file "/etc/opt/wbem/cimserver_start.conf" corresponds to an
existing process named "cimservermain").
NOTE: This message is displayed with HP WBEM Services version A.02.05 and later.
In versions prior to A.02.05, you can determine the version number with cimserver command
only when the CIM Server is running. Starting with A.02.05, you can determine the version number
with the cimserver command irrespective of whether the CIM Server is running or not.
Using the cimserver command
On HP-UX systems, if the CIM Server is stopped manually, then the cimserverd daemon cannot
restart it, and the CIM Server will not restart when the HP-UX system is restarted. In such cases, use
the cimserver command to restart the CIM Server.
To stop the CIM Server, use the cimserver -s command. To view the version of the CIM Server,
use the cimserver -v command.
On HP-UX systems, when the cimserver command is used without specifying any options, it
starts the CIM Server. While starting the CIM Server, you can specify the values for several
configuration parameters. To set the configuration properties, use the following format:
cimserver <property_name> = <value>
But these configuration values will last only as long as the current process. To ensure that these
configuration values last beyond the current process, you need to add required configuration values
to the cimserver_planned.conf file. This can be done manually or by using the cimconfig
command. The shutdownTimeout property is the only property that can be used along with the
cimserver -s command while shutting down the CIM Server. The value of the
shutdownTimeout property specifies the time, in seconds, for a shutdown for the CIM Server.
After the time specified for this property elapses, the CIM Server terminates all the processes and
shuts down.
Verifying status of Cimserver
The status option verifies whether or not the Cimserver is running.
# cimserver --status (when Cimserver is running)
CIM Server is running.
# cimserver status (when Cimserver is not running)
CIM Server is not running.
Using the cimserverd daemon
The cimserverd daemon periodically checks the status of the CIM Server. By default, the daemon
checks the CIM Server every 30 seconds. The time between the checks can be modified by editing
the /etc/opt/wbem/cimserver_retry.conf file. You must have root permissions on the
local system to edit this configuration file.
After editing the file, complete the following steps to terminate all the processes and force
cimserverd to read the updated file:
Starting and stopping the CIM Server 27