Config4GNU: WBEM Initiative

Home | Prerequisites | Download | Screenshots

Prerequisites

The Config4GNU WBEM providers require the OpenWBEM program to be installed and a special Perl provider interface called Owperlprovider to be installed. The client, CIMBrowser, also needs OpenWBEM for the client-side libraries it installs.

Compiling/Installing OpenWBEM

Before you can try any of this out, you need to install a working copy of OpenWBEM on your computer.

  1. Download the CVS version of OpenWBEM. Do cvs -z3 co -P openwbem20. (Note the 20; if you check out the openwbem project, you'll get an old version of OpenWBEM.)
  2. If on Redhat 9, set the CPPFLAGS environment variable so that the compile can find the Kerberos libraries:
    export CPPFLAGS=-I/usr/kerberos/include

    Also make sure you have the pam-devel package installed.

  3. Run ./cvsbootstrap.sh
  4. Run ./configure --enable-perl-providerifc
  5. Now make and make install

Setting up the Repository

OpenWBEM gets installed without any default namespaces or repository. The following steps will get OpenWBEM running and initialize the repository. These steps are also described in the Getting Started with OpenWBEM document.

  1. Edit /usr/local/etc/openwbem/openwbem.conf. This configuration file includes authentication parameters. By default it uses PAM to authenticate, but only allows root to connect. Find the line beginning with pam.allowed_users and add your username to the space delimited list.
  2. To get SSL working, copy the test/acceptance/testfiles/hostkey+cert.pem file from the distribution directory to the SSL_cert location specified in openwbem.conf (/usr/local/etc/openwbem/hostkey+cert.pem).
  3. Start the CIMOM in debug mode. Run /usr/local/sbin/owcimomd -d as root.
  4. Switch to a different terminal window and create the default namespace:
    owcreatenamespace https://localhost/cimom root/cimv2
    Enter your username and password when prompted.
  5. Now import the CIM schema into the namespace:
    cd openwbem20/schemas/cim28
    owmofc CIM_Schema28.mof
    Again, enter your username and password as prompted. This may take several minutes, depending on the speed of your computer.

Installing Owperlprovider

  1. Download owperlprovider.tar.gz. This is the Perl provider interface library used by the Config4GNU-WBEM provider scripts. There is a separate page dedicated to Owperlprovider.
  2. Untar: tar xzf owperlprovider-latest.tar.gz
  3. Do standard ./configure, make and make install.

Last updated: 2004-03-23