From Wiki-UX.info

Wiki-UX / How to disable WBEM providers
Jump to: navigation, search

How to disable WBEM providers

Abstract

The following document explains how to disable a single WBEM / CIM provider using the "cimprovider" command. This can be used to prevent errors to be logged to the system syslog like the ones describe on JAGag42815: Modify the syslog msg. 'CIM server failed' when not actually an error.

== http://docs.hp.com/en/B8465-90035/ch01s08.html ==========================
Known Problems and Workarounds 


The following are known problem and suggested workaround for the A.02.05 version of HP WBEM Services.

JAGag42815: Modify the syslog msg. 'CIM server failed' when not actually an error
What is the problem? If periodic requests to some provider module are sent to cimserver, and by coincidence this periodicity matches the unload time of idle providers (around 15 minutes), a message like shown below may appear in /var/adm/syslog/syslog.log:

PGS14000: cimprovagt "ProviderModuleName" communication with CIM server failed. Exiting.

What is the workaround or available patch? Ignore the messages.

Contents


Syslog error message

Here is an example of the error message describe on the JAGag42815.

Aug  9 12:45:31 dion cimserver[20796]: PGS14000:  cimprovagt "HP_NParProviderModule" communication with CIM server failed.  Exiting.
Aug 10 16:15:31 dion cimserver[22593]: PGS14000:  cimprovagt "HP_NParProviderModule" communication with CIM server failed.  Exiting.
Aug 10 22:45:31 dion cimserver[116]: PGS14000:  cimprovagt "HP_NParProviderModule" communication with CIM server failed.  Exiting.

Disable Provider

1. Check current WBEM providers status.

# /opt/wbem/bin/cimprovider -l -s
MODULE                      STATUS
OperatingSystemModule       OK
ComputerSystemModule        OK
ProcessModule               OK
IPProviderModule            OK
HP_VParProviderModule       OK
HP_iCODProviderModule       OK
HP_iCAPProviderModule       OK
HP_GiCAPProviderModule      OK
HP_NParProviderModule       OK

2. Disable the desired provider, for example "HP_NParProviderModule".

# /opt/wbem/bin/cimprovider -d -m HP_NParProviderModule
PGC00617: Disabling the provider module...
PGC00609: The provider module is disabled successfully.

3. Check current WBEM providers status.

# cimprovider -l -s
MODULE                      STATUS
OperatingSystemModule       OK
ComputerSystemModule        OK
ProcessModule               OK
IPProviderModule            OK
HP_VParProviderModule       OK
HP_iCODProviderModule       OK
HP_iCAPProviderModule       OK
HP_GiCAPProviderModule      OK
HP_NParProviderModule       Stopped

Enable Provider

If you need to enable the provider in the future, use the following command to restart the provider.

# /opt/wbem/bin/cimprovider -e -m HP_NParProviderModule
PGC00616: Enabling the provider module...
PGC00608: The provider module is enabled successfully.

Reference

Authors

This page was last modified on 28 August 2008, at 22:25. This page has been accessed 3,629 times.