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.
- 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.)
- 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.
- Run ./cvsbootstrap.sh
- Run ./configure --enable-perl-providerifc
- 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.
- 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.
- 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).
- Start the CIMOM in debug mode. Run /usr/local/sbin/owcimomd -d
as root.
- Switch to a different terminal window and create the default
namespace:
owcreatenamespace https://localhost/cimom root/cimv2
Enter your username and password when prompted.
- 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
- 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.
- Untar: tar xzf owperlprovider-latest.tar.gz
- Do standard ./configure, make and make install.
Last updated: 2004-03-23