Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
System Fault Management Administrator's Guide: HP-UX 11i v1 > Chapter 5 Troubleshooting SFM

Troubleshooting Indication Providers

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section describes the techniques for troubleshooting the EMS Wrapper Provider.

Problem

Indications corresponding to events generated by the Event Monitoring Service (EMS) monitors, are not logged in the Events List.

Cause 1

CIMOM is not running.

Solution

Enter the following command at the HP-UX prompt:

# ps -eaf | grep cimserver

If the name cimserver is displayed in the output, the CIMOM is running properly. If cimserver is not displayed in the output, stop the CIMOM by entering the following command at the HP-UX prompt:

# cimserver -s

To restart the CIMOM, enter the following command at the HP-UX prompt:

# cimserver

Cause 2

The provider module is not registered.

Solution

To check whether the provider module is registered, and to check its status, enter the following command at the HP-UX prompt:

# cimprovider -l -s

MODULE                                  STATUS
SFMProviderModule                       OK
HPUX_ControlProviderModule              OK
ErrorMetadataProviderModule             OK
EMArchiveConsumerModule                 OK
FMDModule                               OK

If the status displayed is not OK, the provider module is not registered properly. To register the provider module, enter the following command at the HP-UX prompt:

# cimmof -nroot/PG-InterOp /opt/sfm/schemas/mof/SFMProvidersR.mof

If no errors messages are displayed, the provider module is registered properly. If errors are displayed, restart the CIMOM by entering the following command at the HP-UX prompt:

# cimserver

After the CIMOM restarts, enter the following command at the HP-UX prompt to register the provider module:

# cimmof -nroot/PG-InterOp /opt/sfm/schemas/mof/SFMProvidersR.mof

After the provider module is registered, create a link between the SFM providers and the CIMOM by entering the following command at the HP-UX prompt:

# ln -s /opt/sfm/lib/libsfmproviders.1 /opt/wbem/providers/lib/libsfmproviders.sl

To check whether the link is created, enter the following command at the /opt/wbem/providers/lib directory:

# ls

Following is a sample output indicating that the link is created:

# lrwxr-xr-x 1 root sys 30 Jan 12 6:56 libsfmproviders.sl -> /opt/sfm/lib/libsfmproviders.1

If the link is already present, the following error message appears:

# ln: /opt/wbem/providers/lib/libsfmproviders.sl exists

Cause 3

The provider is not registered under the module.

Solution

To check whether the provider is registered under a module, enter the following command at the HP-UX prompt:

# cimprovider -l -m SFMProviderModule

The following sample output indicates that the provider is registered under the module:

CPUProvider
CPUStatusProvider
EMSWrapperProvider
EventIndicationConsumer
MemoryProvider
MemoryStatusProvider
StateChangeIndicationProvider
ChassisProvider
CoolingStatusProvider
PowerStatusProvider
ThermalProvider
VoltageProvider

Cause 4

Subscriptions do not exist.

Solution

Create the following enumerateInstances_sub.xml file and save it in any location:

<?xml version="1.0" encoding="utf-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
 <MESSAGE ID="25000" PROTOCOLVERSION="1.0">
   <SIMPLEREQ>
    <METHODCALL NAME="EnumerateInstances">
      <LOCALNAMESPACEPATH>
        <NAMESPACE NAME="root"/>
        <NAMESPACE NAME="PG_InterOp"/>
      </LOCALNAMESPACEPATH>
      <IPARAMVALUE NAME="ClassName">
      <CLASSNAME NAME="CIM_IndicationSubscription"/>
      </IPARAMVALUE>
    </IMETHODCALL>
   </SIMPLEREQ>
 </MESSAGE>
</CIM>

To enumerate instances, enter the following command at the HP-UX prompt:

# wbemexec <full path>/enumerateInstances_sub.xml

The full path is the absolute path of the enumerateInstances_sub.xml file.

The output of this command indicates the presence of subscriptions, as shown in the following sample output:

<INSTANCENAME CLASSNAME="CIM_IndicationFilter">
<KEYBINDING NAME="CreationClassName">
<KEYVALUE VALUETYPE="string">
CIM_IndicationFilter
</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="Name">
<KEYVALUE VALUETYPE="string">
EventConsumerFilter
</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="SystemCreationClassName">
<KEYVALUE VALUETYPE="string">
CIM_ComputerSystem
</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="SystemName">
<KEYVALUE VALUETYPE="string">
hpdst348
</KEYVALUE>
</KEYBINDING>
</INSTANCENAME>
</VALUE.REFERENCE>
</KEYBINDING>
<KEYBINDING NAME="Handler">
<VALUE.REFERENCE>
<INSTANCENAME CLASSNAME="CIM_IndicationHandlerCIMXML">
<KEYBINDING NAME="CreationClassName">
<KEYVALUE VALUETYPE="string">
CIM_IndicationHandlerCIMXML
</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="Name">
<KEYVALUE VALUETYPE="string">
EventConsumerHandler
</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="SystemCreationClassName">
<KEYVALUE VALUETYPE="string">
CIM_ComputerSystem
</KEYVALUE>
</KEYBINDING>
<KEYBINDING NAME="SystemName">
<KEYVALUE VALUETYPE="string">
hpdst348
</KEYVALUE>
</KEYBINDING>
</INSTANCENAME>
</VALUE.REFERENCE>
</KEYBINDING>
</INSTANCENAME>

Cause 5

The indication providers are not loaded properly.

Solution

To check whether the EMS Wrapper Provider is loaded properly, complete the following steps:

  1. Open the /opt/sfm/conf/FMLoggerConfig.xml file.

  2. Using an editor, change the severity of logs from WARNING to INFORMATIONAL.

  3. Enter the /opt/sfm/bin/fmdcontrol command with the /opt/sfm/conf/FMLoggerConfig.xml option:

    # /opt/sfm/bin/fmdcontrol /opt/sfm/conf/FMLoggerConfig.xml

  4. Enter the following command to generate a sample indication:

    # /etc/opt/resmon/lbin/send_test_event <monitor_name>

    For example:

    # /etc/opt/resmon/lbin/send_test_event disk_em

    Events generated by the disk_em monitor are translated into indications and reported to the CMS. You can view these indications in the Events List.

    NOTE: You can create sample indications using only those monitors that are supported on your system. For the list of monitors supported on your system, see the EMS Wrapper Provider Data Sheet posted at: http://docs.hp.com/en/diag
  5. Open the /opt/sfm/log/sfm.log file.

    NOTE: The /opt/sfm/log/sfm.log file is the file specified in the Target field of the FMLogger.xml file.

    Use the information available in the file to analyze the problem.

  6. When you complete testing, revert to the default severity settings in the FMLoggerConfig.xml file using a text editor. If you do not revert to the default settings, the logs consume more disk space.

    Following is an example of how the sfm.log file is displayed when you change the logging level to INFORMATIONAL, indicating that the provider is loaded properly:

    04/19/04 03:36:32 EMSWrapper INFORMATIONAL 9596 Using port 49173
    04/19/04 03:36:32 EMSWrapper INFORMATIONAL 9596 Provider Enabled
    04/19/04 03:38:03 EMSWrapper INFORMATIONAL 9599 Registration for /storage/events/disks/default/0_0_0_2_0.6.0 Accepted. RequestID : 63700993
    04/19/04 03:38:03 EMSWrapper INFORMATIONAL 9599 Registration for /system/events/chassis/chassis_log Accepted. RequestID : 64552961
    04/19/04 03:38:03 EMSWrapper INFORMATIONAL 9599 Registration for
    /system/events/core_hw/core_hw Accepted.
    RequestID : 65404929
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.