>>> On Wed, Nov 9, 2005 at 8:41 pm, [EMAIL PROTECTED] wrote: > To build CIM providers with LinuxHA:
Cool... > 1. Download and install the latest sblim- sfcb or OpenWBEM and set up. I tested OpenWbem-3.1.0-0.15 with SLES9 sp2. > 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. I had configure /etc/openwbem/openwbem.conf to allow anonymous HTTP. > 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, cimbrowser is showing various LinuxHA classes. Very nice. > 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. This is good stuff; thanks. Robert _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
