What are you trying to accomplish for your application? Are you developing a monitoring application? Why are you trying to compile the MOF files?
Yes, we're developing a monitoring application. I'm new to CIM, so am
learning as I go here. The intent is (was) to generate c# class
wrappers using the mgmtclassgen utility. But of course the necessary
classes weren't in the repository. So I came across the mof files in
the download, and found the mofcomp utility. I also came across a
couple of messages about fixing bugs in the repository on Windows Server
2003 by recompiling some mof files. I haven't found any VMware document
that describes the process of getting the necessary classes into the
repository, so am very much winging it.
Thanks very much for any pointers you can give me.
Bill
You may be making this complicated. A CIM Provider already exists on the ESX. The MOF files that are in the SDK are already compiled into the ESX provider. This is also not WMI. I would recommend you use one of the c++ or Java examples in the SDK to get familiar with logging into the provider and run an enumeration. Let me know if I've misunderstood what you're trying to accomplish.
Our development environment is not an ESX server. We've been developing
our monitoring tool on a separate environment and then connecting to the
system being tested. Is there a way of setting up our development
environment so it has all of the CIM and VMware classes in the repository?
Thanks very much for your help.
Bill
Kurt,
Can you direct me to any documentation that would describe how to set up
our development system so we can move on with the CIM development?
Thanks.
Bill
http://openpegasus.org/ for your CIMOM documentation. WBEMSolutions has a tool called wbemextract that can extract all classes and instances, creates a MOF, so you can compile that MOF on your test CIMOM. Anyone else have any other ideas?