cimprovider usage information

You can use this command to enable or disable a registered provider. A symbolic link in the /QOpenSys/usr/bin directory for this command is provided. You need to ensure that CIMOM is running when you use this command.

Name
cimprovider

Disable, enable, remove, or list registered CIM providers or one CIM provider module and module status.

Synopsis
Usage:
  • cimprovider -d -m module
  • cimprovider -e -m module
  • cimprovider -r -m module [ -p provider ]
  • cimprovider -l [ -s | -m module ]
  • cimprovider -h
  • cimprovider --help
Limitations
This command disables, enables, or removes only one CIM provider module or CIM provider at a time.
Description
If a CIM provider is disabled, CIMOM rejects any requests to the provider. If a CIM provider is enabled, CIMOM forwards requests to the provider. If a CIM provider is unregistered, CIMOM no longer has any information about the provider:
  • The first form of the cimprovider command disables the specified provider module. When a specified provider module is in the disabled state, any new requests to the providers that are contained in the specified provider module are rejected.
  • The second form enables the providers that are contained in the specified provider module. The providers are now ready to accept new requests.
  • The third form removes the specified provider module and all of its providers, or removes the specified provider in the specified provider module.
  • The fourth form lists all the registered provider modules and module status, or lists the providers in the specified provider module.
Options
-h, --help
The option displays command help information.
--version
The option displays the CIMOM version.
-d
The option disables the specified CIM provider module. If the module is already disabled, an error message is returned.
-e
The option enables the specified CIM provider module. If the module is already enabled or is currently being disabled, an error message is returned.
-r
The option removes the specified provider module and all of its contained providers. If a provider is specified, it removes the specified provider in the specified provider module without affecting any other providers in that module.
-l
The option displays all the registered provider modules.
-m Module
The option specifies the provider module for the operation.
-p Provider
The option specifies the provider for the operation.
-s
The option displays the status of provider modules.

Examples

cimprovider -d -m myProviderModule
It disables provider module myProviderModule and all of its contained providers (placing them in a stopped state).
cimprovider -e -m myProviderModule
It enables provider module myProviderModule and all of its contained providers (placing them in an OK state).
cimprovider -r -m myProviderModule
It removes (unregisters) the myProviderModule provider module and all of its contained providers.
cimprovider -r -m myProviderModule -p MyProvider
It removes the MyProvider provider that is contained in the myProviderModule provider module.
cimprovider -l
It lists the registered provider modules.
cimprovider -l -s
It lists the registered provider modules and their status (such as OK, Stopping, Stopped).
cimprovider -l -m myProvider
It lists the registered providers that are in the myProviderModule provider module.