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_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_VM1.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_Acl
-
Solaris_NamespaceAcl
-
Solaris_UserAcl
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_PatchPackageDependency
-
Solaris_PatchToPatchDependency
-
Solaris_ProductSoftwareElementDependency
-
Solaris_ProductSoftwareElements
-
Solaris_ProductSoftwareFeatureDependency
-
Solaris_ProductSoftwareFeatures
-
Solaris_RegistryElementDependency
-
Solaris_SoftwareElementDependency
-
Solaris_SoftwareElementProductDependency
-
Solaris_SoftwareElementSoftwareFeatureDependency
-
Solaris_SoftwareFeatureDependency
-
Solaris_SoftwareFeatureParentChild
-
Solaris_SoftwareFeatureProductDependency
-
Solaris_SoftwareFeatureSoftwareElementDependency
-
Solaris_SoftwareFeatureSoftwareElements
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:
-
CIM_ObjectManager
-
CIM_ObjectManagerCommunicationMechanism
-
CIM_WBEMCommunicationMechanism
-
Solaris_CIMOM
-
Solaris_ObjectManagerClientProtocolAdapter
-
Solaris_ObjectManagerProtocolAdapter
-
Solaris_ObjectManagerProviderProtocolAdapter
-
Solaris_ProviderPath
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:
-
Solaris_Environment
-
Solaris_EthernetAdapter
-
Solaris_Keyboard
-
Solaris_LogEntry
-
Solaris_LogServiceProperties
-
Solaris_LogServiceSetting
-
Solaris_MessageLog
-
Solaris_MessageLogRecord
-
Solaris_MessageLogSetting
-
Solaris_Printer
-
Solaris_PrintJob
-
Solaris_PrintQueue
-
Solaris_PrintSAP
-
Solaris_PrintService
-
Solaris_Processor
-
Solaris_SerialPort
-
Solaris_SerialPortConfiguration
-
Solaris_SerialPortSetting
-
Solaris_SoundDevice
-
Solaris_SyslogRecord
-
Solaris_TimeZone
In addition, the Solaris_Device.mof file defines
the following association classes:
-
Solaris_CpuSysinfoPerformanceMonitor
-
Solaris_CpuUtilizationPerformanceMonitor
-
Solaris_CpuVminfoPerformanceMonitor
-
Solaris_LogInDataFile
-
Solaris_OwningPrintQueue
-
Solaris_PrinterServicingQueue
-
Solaris_QueueForPrintService
-
Solaris_RecordInLog
-
Solaris_SystemTimeZone
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_AdminDomain
-
Solaris_DnsAdminDomain
-
Solaris_IPProtocolEndpoint
-
Solaris_IPSubnet
-
Solaris_LdapAdminDomain
-
Solaris_NisAdminDomain
-
Solaris_NisplusAdminDomain
-
Solaris_SystemAdminDomain
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:
-
Solaris_ActiveProject
-
Solaris_ActiveUser
-
Solaris_ProcessStatisticalInformation
-
Solaris_ProjectProcessAggregateStatisticalInformation
-
Solaris_UserProcessAggregateStatisticalInformation
In addition, the Solaris_Performance.mof file defines
the following association classes:
-
Solaris_ActiveProjectProcessAggregateStatistics
-
Solaris_ActiveUserProcessAggregateStatistics
-
Solaris_ProcessStatistics
-
Solaris_ProjectProcessStatistics
-
Solaris_UserProcessStatistics
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_SNMPGroupConf
-
Solaris_SNMPSystem
-
Solaris_SNMPSystemConf
Solaris_System.mof File
The Solaris_System.mof file defines the following
classes:
-
Solaris_CpuSysinfo
-
Solaris_CpuUtilizationInformation
-
Solaris_CpuVminfo
-
Solaris_DataFile
-
Solaris_DiskIOInformation
-
Solaris_DisklessClient
-
Solaris_Eeprom
-
Solaris_EepromSetting
-
Solaris_InstalledOS
-
Solaris_JobScheduler
-
Solaris_JobScheduler_Cron
-
Solaris_OperatingSystem
-
Solaris_OSProcess
-
Solaris_OsService
-
Solaris_Process
-
Solaris_RunningOS
-
Solaris_ScheduledJob
-
Solaris_ScheduledJob_Cron
In addition, the Solaris_System.mof file defines
the following association classes:
-
Solaris_EepromElementSetting
-
Solaris_HostedJobScheduler
-
Solaris_OwningJobScheduler
-
Solaris_SystemDevice
Solaris_Users.mof File
The Solaris_Users.mof file defines the following
classes:
Solaris_VM1.0.mof File
The Solaris_VM1.0.mof file defines classes that
pertain to storage devices, for example:
The Solaris_VM1.0.mof file defines the following
classes:
-
Solaris_Directory
-
Solaris_DiskDrive
-
Solaris_DiskPartition
-
Solaris_HSFS
-
Solaris_LocalFileSystem
-
Solaris_MediaPresent
-
Solaris_NFS
-
Solaris_UFS
-
Solaris_VMConcat
-
Solaris_VMDiskSet
-
Solaris_VMExtent
-
Solaris_VMHotSparePool
-
Solaris_VMMirror
-
Solaris_VMRaid5
-
Solaris_VMSoftPartition
-
Solaris_VMStateDatabase
-
Solaris_VMStorageVolume
-
Solaris_VMStripe
-
Solaris_VMTrans
In addition, the Solaris_VM1.0.mof file defines
the following association classes:
-
Solaris_DiskIOPerformanceMonitor
-
Solaris_HSFSMount
-
Solaris_LocalFSResidesOnExtent
-
Solaris_Mount
-
Solaris_NFSExport
-
Solaris_NFSMount
-
Solaris_UFSMount
-
Solaris_VMConcatComponent
-
Solaris_VMDriveInDiskSet
-
Solaris_VMExtentBasedOn
-
Solaris_VMExtentInDiskSet
-
Solaris_VMHostInDiskSet
-
Solaris_VMHotSpareInUse
-
Solaris_VMHotSpares
-
Solaris_VMMirrorSubmirrors
-
Solaris_VMRaid5Component
-
Solaris_VMSoftPartComponent
-
Solaris_VMStatistics
-
Solaris_VMStripeComponent
-
Solaris_VMTransLog
-
Solaris_VMTransMaster
-
Solaris_VMUsesHotSparePool
-
Solaris_VMVolumeBasedOn
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:
-
WBEMServices_CIMXMLObjectManagerClientProtocolAdapter
-
WBEMServices_Classpath
-
WBEMServices_ClientProtocolAdapterForManager
-
WBEMServices_ObjectManager
-
WBEMServices_ObjectManagerClientProtocolAdapter
-
WBEMServices_ObjectManagerProtocolAdapter
-
WBEMServices_ObjectManagerProviderProtocolAdapter
-
WBEMServices_ProtocolAdapterForManager
-
WBEMServices_ProviderProtocolAdapterForManager
-
WBEMServices_RMIObjectManagerClientProtocolAdapter