Solaris WBEM Developer's Guide

ProcedureHow to Recompile Your MOF Files

Steps
  1. Upgrade your system to the Solaris 10 OS.

  2. Become superuser.

  3. Change directory to the location of your proprietary MOF files.

  4. Use the mofcomp command to compile each of your proprietary MOF files.


    # /usr/sadm/bin/mofcomp root root-passwd MOF-filename
    

    Note –

    For more information on the MOF compiler, see mofcomp(1M).


  5. Stop the CIM Object Manager.


    # /etc/init.d/init.wbem stop
    
  6. Start the CIM Object Manager.


    # /etc/init.d/init.wbem start
    

    The CIMOM adds repository files that contain the converted data to the directory /var/sadm/wbem/logr/. This directory was created when you upgraded your system to the Solaris 10 OS.