![]() |
![]() |
| ||||||||||||
Chapter 2Using the CIM Object ManagerThe Common Information Model (CIM) Object Manager is software that transfers CIM data between WBEM client applications and managed resources. This chapter discusses the following topics: About the CIM Object ManagerThe CIM Object Manager (CIMOM) 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 programming language classes. When a WBEM client application accesses information about an object, the CIMOM contacts either the provider for that object or the CIM Object Manager Repository. Providers are classes that communicate with managed objects to access data. A WBEM client application might request data from a managed resource that is not available from the CIM Object Manager Repository. In this case, 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:
The CIM Object Manager:
A WBEM client application contacts the CIMOM to establish a connection when the client needs to perform WBEM operations. Examples of such operations include creating a CIM class or updating a CIM instance. When a WBEM client application connects to the CIMOM, the client application gets a reference to the CIMOM. The client application uses that reference to request services and operations. init.wbem CommandThe init.wbem command is automatically run during installation, and then each 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:
Solaris Management Console ServerThe Solaris Management Console software provides Solaris management applications such as User Manager, Disk Manager, and Log Viewer. The Solaris Management Console server provides tools that the console can download. The server also 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. For more information see the System Administration Guide: Basic Administration. System BootingThe 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. Stopping and Restarting the CIM Object ManagerIf you change a provider, you must stop and restart the CIM Object Manager before using the updated provider.
|
Environment Before Upgrade | Recompile Proprietary Managed Object Format (MOF) Files? | |
|---|---|---|
Solaris 8 (Solaris WBEM Services 2.0) Solaris 8 6/00 (WBEM Services 2.0) Solaris 8 10/00 (WBEM Services 2.2) | Yes | |
Solaris 8 1/01 (WBEM Services 2.3) Solaris 8 4/01 (WBEM Services 2.4) Solaris 8 7/01 (WBEM Services 2.4) Solaris 8 10/01 (WBEM Services 2.4) Solaris 9 5/02 (WBEM Services 2.5) Solaris 9 9/02 (WBEM Services 2.5) Solaris 9 12/02 (WBEM Services 2.5) | No. However, you need to merge the data into an upgraded repository. |
How to Recompile Your MOF FilesUpgrade your system to the Solaris 9 operating environment.
Become superuser.
Change directory to the location of your proprietary MOF files.
Use the mofcomp command to compile each of your proprietary
MOF files.# /usr/sadm/bin/mofcomp root root-passwd MOF-filename
Note - For more information on the MOF compiler, see mofcomp(1M).
Stop the CIM Object Manager.# /etc/init.d/init.wbem stop
Start the CIM Object Manager.# /etc/init.d/init.wbem start
The CIMOM adds repository files that contain the converted data to the directory /var/sadm/wbem/logr/. This directory was created when you upgraded your system to the Solaris 9 operating environment.
Previous Contents Index Next ![]() |