Enable or disable a registered provider, primarily during testing with this command. The CIMOM must be running to use this command.
The cimprovider command provides a command-line interface to disable, enable, unregister, and list registered CIM providers. If a CIM provider is disabled, the CIMOM rejects any requests to the provider. If a CIM provider is enabled, the CIMOM forwards requests to the provider. And if a CIM provider is unregistered, the CIMOM will no longer have any information about the provider. In order to use the cimprovider command, cimserver has to be running and the specified provider module (a grouping of providers in the same *SVRPGM) or provider has to be registered with the CIMOM.
The first form of cimprovider 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 will be rejected.
The second form of cimprovider enables the providers that are contained in the specified provider module. The providers that are contained in the specified provider module are now ready to accept new request.
The third form of cimprovider removes (unregisters) the specified provider module and all of its contained providers or the specified provider in the specified provider module. Once removed a provider or provider module, must be reregistered (typically by loading its registration schema using the cimmofl command).
The last form of cimprovider lists all the registered provider modules and module status or all the providers in the specified provider module. To list all providers in all modules, issue a cimprovider -l command, followed by cimprovider -l -m for each listed module.
The cimprovider command recognizes the following options:
iSeries™ server-specific usage: On an iSeries server, this command requires the user to have *IOSYSCFG and *ALLOBJ authority.