[Linux-ha-dev] anyone would like to build and test CIM providers?
jmltc at cn.ibm.com
Wed Nov 9 20:41:12 MST 2005
To build CIM providers with LinuxHA:
1. Download and install the latest sblim-sfcb or OpenWBEM and set up.
2. Configure LinuxHA with:
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
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/
JMP - James Pan
More information about the Linux-HA-Dev