Solaris WBEM Developer's Guide

Appendix A Solaris Schema

The Solaris Schema and CIM Schema are available by default in the CIM Object Manager. You can view the MOF files, from which the Solaris Schema and CIM Schema are compiled, in /usr/sadm/mof/. CIM Schema files, which implement the Core and Common models of the Common Information Model, are denoted by the use of “CIM” in their associated file names. The Solaris Schema files, denoted by the use of “Solaris” in their file names, provide the unique extensions that Sun Microsystems has made to the Common Information Model. The MOF files that you find in /usr/sadm/mof/will depend on the installation cluster of the system and which packages have been installed.

Documentation of the Solaris providers listed in this chapter is included in the MOF file in which the provider is specified.

Solaris Schema Files

This table provides a brief overview of the Solaris Schema files in /usr/sadm/mof.

Table A–1 Solaris Schema Files
 Solaris Schema File What This Schema File Provides
Solaris_Acl.mof

Contains the classes for WBEM access control list (ACL) based security. 

Solaris_Application.mof

Models Solaris packages and patches in CIM.  

Solaris_CIMOM.mof

Contains configuration information for the CIM Object Manager. 

Solaris_Core.mof

Contains class definition for core classes including the computer system and statistical information. 

Solaris_Device.mof

Enables a description of your system's processor, serial ports, printing devices, and time settings to make your computer work with the CIM Object Manager.  

Solaris_DMGT1.0.mof

Contains classes that represent disks, disk partitions, and other device management classes. 

Solaris_Event.mof

Defines unique Solaris indication handlers. The class that is defined in this file facilitates the delivery of indications to Management clients. The protocol that is used for this delivery is the implementation of the CIM Remote Method Invocation (RMI) protocol from Sun Microsystems. 

Solaris_Network.mof

Defines classes pertaining to network domains, IP subnets, and naming services including NIS, NIS+, LDAP, DNS, and server /etc files.

Solaris_Performance.mof

Defines classes that pertain to the use and performance of computing resources for each user and for each project. 

Solaris_Project.mof

Defines classes that model the Solaris project database. 

Solaris_Schema.mof

Lists all of the MOF files of the Solaris Schema, and specifies the order in which the MOF files are read and are compiled. 

Solaris_SNMP.mof

Contains classes used to configure the SNMP provider and its communication to SNMP agents on different systems. 

Solaris_System.mof

Models the Solaris Schema components for a system, including the operating system and processes of the system. 

Solaris_Users.mof

Defines classes for working with user accounts. 

Solaris_VM2.0.mof

Defines classes that pertain to storage devices. 

WBEMServices.mof

Contains classes to configure the class path of the CIM object manager and its protocol adapters, both for clients and providers. 

The following sections describe the contents of each schema file in more detail.

Solaris_Acl.mof File

The Solaris_Acl.mof file specifies the security classes in Solaris WBEM Services. This file defines these base classes for access control lists, users, and namespaces:

Solaris_Application.mof File

The Solaris_Application.mof file enables you to set up packages and patches for your applications that extend the Solaris Schema. The Solaris_Application.mof file defines the following classes:

In addition, the Solaris_Application.mof file defines the following association classes:

Solaris_CIMOM.mof File

The Solaris_CIMOM.mof file contains all the system properties used by the CIM Object Manager. The Solaris_CIMOM.mof file defines the following classes:

In addition, the Solaris_CIMOM.mof file defines the association class CIM_CommMechanismForManager.

Solaris_Core.mof File

The Solaris_Core.mof file is the first of the Solaris Schema files to be compiled after the Solaris_Schema.mof file. This file provides the definition of the Solaris_ComputerSystem class of the Solaris provider. The Solaris_Core.mof file defines the following classes:

In addition, the Solaris_Core.mof file defines the following association classes:

Solaris_Device.mof File

The Solaris_Device.mof file defines the following classes:

In addition, the Solaris_Device.mof file defines the following association classes:

Solaris_DMGT1.0.mof File

The Solaris_DMGT1.0.mof file contains classes that represent disks, disk partitions, and other device management classes. The Solaris_DMGT1.0.mof file defines the following classes:

In addition, the Solaris_DMGT1.0.mof file defines the following association classes:

Solaris_Event.mof File

The Solaris_Event.mof file contains classes that deal with indication handlers that are unique to the Solaris platform. These Solaris indication handlers are subclasses of CIM_IndicationHandler. These subclasses include Solaris_RMIDelivery and Solaris_JAVAXRMIDelivery. The client RMI protocol uses the Solaris_JAVAXRMIDelivery handler. Solaris_Event.mof contains Solaris_RMIDelivery to ensure compatibility with previous versions of WBEM.

Solaris_Network.mof File

The Solaris_Network.mof file defines classes that pertain to network domains, IP subnets, and naming services. These naming services include NIS, NIS+, LDAP, DNS, and server /etc files. The Solaris_Network.mof file defines the following classes:

Solaris_Performance.mof File

The Solaris_Performance.mof file defines classes that pertain to computing resource metrics. These classes pertain to the use and performance of computing resources for each user and for each project. The Solaris_Performance.mof file defines the following classes:

In addition, the Solaris_Performance.mof file defines the following association classes:

Solaris_Project.mof File

The Solaris_Project.mof file defines classes that represent the Solaris project database. The Solaris_Project.mof file defines the class Solaris_Project. In addition, the Solaris_Project.mof file defines the association classes Solaris_ProjectGroup and Solaris_ProjectUser.

Solaris_Schema.mof File

The Solaris_Schema.mof file is the high-level container of all other MOF files that make up the Solaris Schema. This file lists the MOF files in the order in which the files must be compiled.

The Java classes that you generate from each compilation are then sent to the CIMOM. At the CIMOM, the classes are either enacted as events or sent to the CIM Object Manager Repository for storage as objects. The following listing of the Solaris_Schema.mof file shows the Include statements in the order that is required for compilation.

/*
Solaris Schema
Copyright   (c) 2002 Sun Microsystems, Inc. All Rights Reserved.
*/
#pragma Include ("Solaris_Core.mof")
#pragma Include ("Solaris_Application.mof")
#pragma Include ("Solaris_System.mof")
#pragma Include ("Solaris_Device.mof")
#pragma Include ("Solaris_Network.mof")
#pragma Include ("Solaris_Users.mof")
#pragma Include ("Solaris_Project.mof")
#pragma Include ("Solaris_Event.mof")
#pragma Include ("Solaris_CIMOM.mof")
#pragma Include ("Solaris_SNMP.mof")

// This must be the last include since it changes the CIM namespace
#pragma Include ("Solaris_Acl.mof")

The compiler parses a line of the Solaris_Schema.mof file, compiles the file specified in the Include statement, and then parses the next line of the Solaris_Schema.mof file. This process continues until all included files are compiled.

Solaris_SNMP.mof File

The Solaris_SNMP.mof file defines classes that pertain to configuration information for an SNMP device. The Solaris_SNMP.mof file defines the following classes:

Solaris_System.mof File

The Solaris_System.mof file defines the following classes:

In addition, the Solaris_System.mof file defines the following association classes:

Solaris_Users.mof File

The Solaris_Users.mof file defines the following classes:

Solaris_VM2.0.mof File

The Solaris_VM2.0.mof file defines classes that pertain to storage devices, for example:

The Solaris_VM2.0.mof file defines the following classes:

In addition, the Solaris_VM2.0.mof file defines the following association classes:

WBEMServices.mof File

The WBEMServices.mof file contains classes to configure the class path of the CIM object manager and its protocol adapters, both for clients and providers. The WBEMServices.mof file defines the following classes: