Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
  Previous   Contents   Next 
   
 
Chapter 2

Using the CIM Object Manager (Tasks)

The Common Information Model (CIM) Object Manager is software that transfers CIM data between WBEM client applications and managed resources.

Here is a list of the information in this chapter.

About the CIM Object Manager

The CIM Object Manager manages CIM objects on a WBEM-enabled system. A CIM object is a representation, or model, of a managed resource, such as a printer, disk drive, or CPU. CIM objects are stored internally as Java classes.

When a WBEM client application accesses information about a CIM object, the CIM Object Manager contacts either the appropriate provider for that object or the CIM Object Manager Repository. Providers are classes that communicate with managed objects to access data. When a WBEM client application requests data from a managed resource that is not available from the CIM Object Manager Repository, the CIM Object Manager forwards the request to the provider for that managed resource. The provider dynamically retrieves the information.

At startup, the CIM Object Manager performs the following functions:

  • Listens for RMI connections on RMI port 5987 and for XML/HTTP connections on HTTP port 5988

  • Sets up a connection to the CIM Object Manager Repository

  • Waits for incoming requests

The CIM Object Manager:

  • Performs security checks to authenticate user login and authorization to access namespaces

  • Performs syntactical and semantic checking of CIM data operations to ensure that they comply with the latest CIM Specification

  • Routes requests to the appropriate provider or to the CIM Object Manager Repository

  • Delivers data from providers and from the CIM Object Manager Repository to WBEM client applications

A WBEM client application contacts the CIM Object Manager to establish a connection when it needs to perform WBEM operations, such as creating a CIM class or updating a CIM instance. When a WBEM client application connects to the CIM Object Manager, the WBEM client gets a reference to the CIM Object Manager, which it then uses to request services and operations.

init.wbem Command

Solaris automatically runs init.wbem during installation and every time you reboot a system. The init.wbem command starts the CIM Object Manager and Solaris Management Console server, both of which run combined in a single process. You can also use init.wbem to stop the CIM Object Manager, to stop the Solaris Management Console server, or to retrieve status from a server. You can find additional information about this command in the init.wbem(1M) man page.

Generally, you do not need to stop the CIM Object Manager. However, if you change an existing provider, you must stop and restart the CIM Object Manager before using the updated provider.

You can specify three options with init.wbem:

  • start - Starts the CIM Object Manager or Solaris Management Console server on the local host.

  • stop - Stops the CIM Object Manager and Solaris Management Console server on the local host.

  • status - Gets status for the CIM Object Manager and Solaris Management Console server on the local host.

Solaris Management Console Server

The Solaris Management Console software provides Solaris management applications such as User Manager, Disk Manager, and Log Viewer. The Solaris Management Console server provides tools for the console to download and performs common services for the console and its tools, such as authentication, authorization, logging, messaging, and persistence.

The Solaris Management Console is described in other chapters in this document, and is also described in System Administration Guide: Basic Administration.

System Booting

The init.wbem command is located in the /etc/init.d directory. The file /etc/rc2.d/S90wbem runs with the start option when initialization state 2 is entered, normally at boot time. The files /etc/rc0.d/K36wbem, /etc/rc1.d/K36wbem, and /etc/rcS.d/K36wbem are run with the stop option when initialization states 0, 1, and S are entered, normally when the system halts, or when the system enters either system administrator mode or single-user mode.

Stopping and Restarting the CIM Object Manager

If you change a provider, you must stop and restart the CIM Object Manager before using the updated provider.

How to Stop the CIM Object Manager

  1. Become superuser.

  2. Stop the CIM Object Manager.

    # /etc/init.d/init.wbem stop

How to Restart the CIM Object Manager

  1. Become superuser.

  2. Restart the CIM Object Manager.

    # /etc/init.d/init.wbem start

 
 
 
  Previous   Contents   Next