To build CIM providers with LinuxHA:

1. Download and install the latest sblim-sfcb or OpenWBEM and set up.

2. Configure LinuxHA with:
--enable-cim-providers --with-cimom=sfcb|openwbem --with-cmpi-headers=Path_to_CMPI_Headers --with-provider-dir=Path_to_CMPI_Providers

for sfcb, the Path_to_CMPI_Headers is the sblim-sfcb source directory and Path_to_CMPI_Providers is /usr/local/lib/cmpi/ usually. for openwbem, the Path_to_CMPI_Headers is /usr/include/openwbem/ and Path_to_CMPI_Providers is /usr/lib/openwbem/cmpiproviders usually. Of course, the Path_to_CMPI_Providers can be changed by modifying their configuration file.

3. make & make install

4. run /usr/lib/heartbeat/cim/register_providers.sh to resiter the providers. for sfcb, sfcbd must be shutdown before register, for openwbem, owcimomd must be start before register.
  Otherwise, register_providers.sh will give a hint and exit.

5. There is a simple test script runtest.sh in cim/tests/. This script requires sblim-wbemcli, so you must have sblim-wbemcli installed to run it. This script enumerates class instance names, class instances and get instances for all classes, enumerate association instance names, association instances and enumerate reference instance names, instances for association class.

There is also a indication subscription script subscription.sh in this directory, just run it and the indication messages will be logged into a file if any.


sblim-sfcb and sblim-wbemcli homepage: http://www.sblim.org/
openwbem homepage: http://openwbem.sourceforge.net/

--
JMP - James Pan

_______________________________________________________
Linux-HA-Dev: [EMAIL PROTECTED]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to