dmispd(1m) [sunos man page]
dmispd(1M) System Administration Commands dmispd(1M) NAME
dmispd - Sun Solstice Enterprise DMI Service Provider SYNOPSIS
/usr/lib/dmi/dmispd [-h] [-c config-dir] [-d debug-level] DESCRIPTION
The DMI Service Provider, dmispd, is the core of the DMI solution. Management applications and Component instrumentations communicate with each other through the Service Provider. The Service Provider coordinates and arbitrates requests from the management application to the specified component instrumentations. The Service Provider handles runtime management of the Component Interface (CI) and the Management Interface (MI), including component installation, registration at the MI and CI level, request serialization and synchronization, event handling for CI, and general flow control and housekeeping. The Service Provider is invoked from a start-up script at boot time only if contents of the DMI Service Provider configuration file /etc/dmi/conf/dmispd.conf are non-trivial. OPTIONS
The following options are supported: -c config-dir Specify the full path of the directory containing the dmispd.conf configuration file. The default directory is /etc/dmi/conf. -d debug-level Debug. Levels from 0 to 5 are supported, giving various levels of debug information. The default is 0, meaning no debug information is given. If this option is omitted, then dmispd is run as a daemon process. -h Help. Print the command line usage. EXIT STATUS
The following error values are returned: 0 Successful completion. 1 An error occurred. FILES
/etc/dmi/conf/dmispd.conf DMI Service Provider configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsadmi | +-----------------------------+-----------------------------+ SEE ALSO
snmpXdmid(1M), attributes(5) SunOS 5.10 17 Dec 2001 dmispd(1M)
Check Out this Related Man Page
DmiGetConfig(3DMI) DMI Library Functions DmiGetConfig(3DMI) NAME
DmiGetConfig, DmiGetVersion, DmiRegister, DmiSetConfig, DmiUnregister - Management Interface initialization functions SYNOPSIS
cc [ flag ... ] file ... -ldmimi -ldmi -lnsl -lrwtool [ library ... ] #include <server.h> #include <miapi.h> bool_t DmiGetConfig(DmiGetConfigIN argin, DmiGetConfigOUT *result, DmiRpcHandle *dmi_rpc_handle); bool_t DmiGetVersion(DmiGetVersionIN argin, DmiGetVersionOUT *result, DmiRpcHandle *dmi_rpc_handle); bool_t DmiRegister(DmiRegisterIN argin, DmiRegisterOUT *result, DmiRpcHandle *dmi_rpc_handle); bool_t DmiSetConfig(DmiSetConfigIN argin, DmiSetConfigOUT *result, DmiRpcHandle *dmi_rpc_handle); bool_t DmiUnregister(DmiUnregisterIN argin, DmiUnregisterOUT *result, DmiRpcHandle *dmi_rpc_handle); DESCRIPTION
The Management Interface initialization functions enable you to register management applications to the Service Provider. You may also retrieve information about the Service Provider, get and set session configuration information for your session. The DmiGetConfig() function retrieves the per-session configuration information. The configuration information consists of a string describing the current language being used for the session. The argin parameter is an instance of a DmiGetConfigIN structure containing the following member: DmiHandle_t handle; /* an open session handle */ The result parameter is a pointer to a DmiGetConfigOUT structure containing the following members: DmiErrorStatus_t error_status; DmiString_t *language; /* current session language */ The DmiGetVersion() function retrieves information about the Service Provider. The management application uses the DmiGetVersion() proce- dure to determine the DMI specification level supported by the Service Provider. This procedure also returns the service provided descrip- tion string, and may contain version information about the Service Provider implementation. The argin parameter is an instance of a DmiGetVersionIN structure containing the following member: DmiHandle_t handle; /* an open session handle */ The result parameter is a pointer to a DmiGetVersionOUT structure containing the following members: DmiErrorStatus_t error_status; DmiString_t *dmiSpecLevel; /* DMI specification version */ DmiString_t *description; /* OS specific DMI SP version */ DmiFileTypeList_t *fileTypes; /* file types for MIF installation */ The DmiRegister() function provides the management application with a unique per-session handle. The Service Provider uses this procedure to initialize to an internal state for subsequent procedure calls made by the application. This procedure must be the first command executed by the management application. argin is an instance of a DmiRegisterIN structure containing the following member: DmiHandle_t handle; /* an open session handle */ The result parameter is a pointer to a DmiRegisterOUT structure containing the following members: DmiErrorStatus_t error_status; DmiHandle_t *handle; /* an open session handle */ The DmiSetConfig() function sets the per-session configuration information. The configuration information consists of a string describing the language required by the management application. The argin parameter is an instance of a DmiSetConfigIN structure containing the fol- lowing member: DmiHandle_t handle; /* an open session handle */ DmiString_t *language; /* current language required */ The result parameter is a pointer to a DmiSetConfigOUT structure containing the following member: DmiErrorStatus_t error_status; The DmiUnregister() function is used by the Service Provider to perform end-of-session cleanup actions. On return from this function, the session handle is no longer valid. This function must be the last DMI command executed by the management application. The argin parameter is an instance of a DmiUnregisterIN structure containing the following member: DmiHandle_t handle; /* an open session handle */ The result parameter is a pointer to a DmiUnregisterOUT structure containing the following members: DmiErrorStatus_t error_status; RETURN VALUES
The DmiGetConfig() function returns the following possible values: DMIERR_NO_ERROR DMIERR_ILLEGAL_RPC_HANDLE DMIERR_OUT_OF_MEMORY DMIERR_ILLEGAL_PARAMETER DMIERR_SP_INACTIVE The DmiGetVersion() function returns the following possible values: DMIERR_NO_ERROR DMIERR_ILLEGAL_RPC_HANDLE DMIERR_OUT_OF_MEMORY DMIERR_SP_INACTIVE The DmiRegister() function returns the following possible values: DMIERR_NO_ERROR DMIERR_ILLEGAL_RPC_HANDLE DMIERR_OUT_OF_MEMORY DMIERR_SP_INACTIVE The DmiSetConfig() function returns the following possible values: DMIERR_NO_ERROR DMIERR_ILLEGAL_RPC_HANDLE DMIERR_OUT_OF_MEMORY DMIERR_ILLEGAL_PARAMETER DMIERR_SP_INACTIVE DMIERR_ILLEGAL_TO_SET The DmiUnRegister() function returns the following possible values: DMIERR_NO_ERROR DMIERR_ILLEGAL_RPC_HANDLE DMIERR_OUT_OF_MEMORY DMIERR_ILLEGAL_PARAMETER DMIERR_SP_INACTIVE ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.10 17 Dec 1996 DmiGetConfig(3DMI)