|
| PDF 文書ファイルをダウンロードする (846 KB)
Chapter 2 Using 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:
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. How to Stop the CIM Object ManagerHow to Restart the CIM Object ManagerUpgrading the CIM Object Manager RepositoryIf you have upgraded to the Solaris 9 platform from a previous version of the Solaris software, you must update any proprietary custom Managed Object Format (MOF) data to the new repository format that is used in the Solaris 9 software. Any CIM and Solaris MOF data that you modified prior to the upgrade is destroyed by the upgrade. As a result, you will either need to recompile your MOF files or merge the WBEM data after you upgrade. Failure to recompile or merge the modified data results in data loss. Use the following table to determine whether to recompile or merge the WBEM data after you upgrade to the Solaris 9 operating environment. Table 2–1 Determining Whether to Recompile or Merge WBEM Data
How to Recompile Your MOF Files
How to Merge WBEM Data
Exception MessagesThe CIM Object Manager generates exception messages to indicate incorrect MOF syntax and semantics. Chapter 9, Troubleshooting contains information about exception messages. |
||||||||||||||