1. Downloading

  • Download SBLIM sfcb (sblim-sfcb) CIM server from the SBLIM website
    • sblim-sfcb-M.m.R.tar.bz2
  • Untar the archive:
    • $ tar xjvf sblim-sfcb-M.m.R.tar.bz2
  • The examples below are based on the installation of SBLIM sfcb in a local directory (Example: /home/toto/sfcb-build).

2. Configuring the source code

  • In the SBLIM sfcb source directory, configure the source code:
    • $ ./configure --help : See a list of the available options
  • To change the location of the build directory (local installation): --prefix=<PATH_TO_SFCB_BUILD_DIRECTORY>
  • If you want to use a different CIM schema version, you MUST configure the source code by adding this variable definitions:
    • CIMSCHEMA_SOURCE="<URL_TO_CIM_SCHEMA_ZIP_ARCHIVE>" CIMSCHEMA_MOF=<TOP_LEVEL_MOF_FILE> CIMSCHEMA_SUBDIRS=true OPTIONS...

  • To install SBLIM sfcb and CIM schema version 2.16 exprimental in the '/home/toto/sfcb-build' directory:
    • ./configure --prefix=/home/toto/sfcb-build CIMSCHEMA_SOURCE="http://www.dmtf.org/standards/cim/cim_schema_v216/cimv216Experimental-MOFs.zip" CIMSCHEMA_MOF=cimv216.mof CIMSCHEMA_SUBDIRS=true
    • ./configure --prefix=/home/toto/sfcb-build CIMSCHEMA_SOURCE="/home/toto/cimv216Experimental-MOFs.zip" CIMSCHEMA_MOF=cimv216.mof CIMSCHEMA_SUBDIRS=true
  • You can get a working version of the CIM schema here (You may experience troubles when installing sfcb with the CIM schema from the DMTF): ftp://www.opendrim.org/pub/CIM

3. Compiling

  • In the SBLIM sfcb source directory:
    • $ make

4. Installing

  • In the SBLIM sfcb source directory:
    • $ make install
    • $ make postinstall

5. Running

  • Add the path to the sfcb executable to your PATH variable and set the LD_LIBRARY_PATH variable:
    • $ export PATH=<PATH_TO_SFCB_BUILD_DIRECTORY>/bin:<PATH_TO_SFCB_BUILD_DIRECTORY>/sbin:$PATH
    • $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/toto/sfcb-build/lib
  • Or to your /etc/bashrc file.
    ...
    # PATH
    export PATH=/home/toto/sfcb-build/bin:/home/toto/sfcb-build/sbin:$PATH
    
    # Library PATH
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/toto/sfcb-build/lib
    ...
    
  • To start sfcb: $ sfcbd or $ sfcbd -d (Daemon mode)

6. OpenDRIM Common Library?

  • $ autoreconf --install
  • $ ./configure CIMSERVER=sfcb --prefix=<PATH_TO_SFCB_BUILD_DIRECTORY> CPPFLAGS='-I<PATH_TO_SFCB_SOURCE_DIRECTORY>'
  • $ make
  • $ make install or $ make install-strip (stripping makes the libraries smaller)

7. Setting up the CIM repository

  • This step is required to be conformant to the Profile Registration Profile from the DMTF
  • Install the Interop package:
    • $ autoreconf --install
    • $ ./configure CIMSERVER=sfcb --prefix=<PATH_TO_SFCB_BUILD_DIRECTORY>
    • $ make
    • $ make install or $ make install-strip (stripping makes the libraries smaller)
    • $ make postinstall (Note: this step restarts/starts SBLIM sfcb)

8. OpenDRIM Providers

  • $ autoreconf --install
  • $ ./configure CIMSERVER=sfcb --prefix=<PATH_TO_SFCB_BUILD_DIRECTORY>
  • $ make
  • $ make install or $ make install-strip (stripping makes the libraries smaller)
  • $ make postinstall (Note: this step restarts/starts SBLIM sfcb)

Attachments