Loading Static MOF Files and SMIR MOF Files

[This is preliminary documentation and subject to change.]

A static MOF file does not contain the name of its associated namespace, which must be specified when loading the file into CIMOM.

    To load a static MOF file into a CIMOM namespace
  1. Create the namespace if you have not already done so. For instructions, see Creating an SNMP Namespace.
  2. Run the MOF compiler on the MOF file, specifying the namespace created in step 1. Use the following command:

    mofcomp -u <WBEM-user-name> -p <WBEM-password> -n:<object-path> <MOF-file>

    The object-path can be either relative to the current namespace or fully qualified (for example, \\myserver\root\mynamespace).

A SMIR MOF file contains the name of its associated namespace.

    To load a SMIR MOF file into the SMIR

Run the MOF compiler on the SMIR MOF file using the following command:

mofcomp -u <WBEM-user-name> -p <WBEM-password> <SMIR-MOF-file>