Hi All,
Does anybody has any experience using Pegasus with experimental schema(.i.e: cim_schema_2.31.0Experimental-MOFs).
I am currently exploring two ways of doing it.
Firstly,
http://osdir.com/ml/network.open-pegasus.general/2008-04/msg00026.html
·
You should delete the existing root/cimv2 namespace first:
$ rm -rf /var/lib/Pegasus/repository/root#cimv2
·
Go to the DMTF
website and download the lastest version of the CIM schema (zip archive of mof code, you can choose between final or experimental).
·
Uncompress the downloaded zip file (anywhere but not in the pegasus repository!)
$ unzip cimvMm-MOFs.zip
·
You should see a file called cimvMm.mof where you uncompressed the zip archive.
·
Note: We experienced troubles with the CIM schema from the DMTF due to incompatibilities with the OpenPegasus mof compiler (cimmof). You may want
to use the OpenDRIM retailed CIM schema instead.
·
Create the root/cimv2 namespace and populate it with CIM schema (-aE if for allowing experimental schema)
$ cimmof -aE -n root/cimv2 cimvMm.mof
·
The next steps are required to be conformant to the Profile Registration Profile from the DMTF Create the Interop namespace and populate it with
CIM schema (CIM schema version should be the same with root/cimv2)
$ cimmof -aE -n Interop cimvMm.mof
I tried the above approach on my server(after Pegasus installed successfully), I got “Parsing error: parse error: Error adding new Qualifier ASSOCIATION: CIM_ERR_FAILED: cannot
open directory: /var/lib/Pegasus/repository/root#cimv2/qualifiers” error message. I was under the impression that cimmof would populate the repository according to the new schema though.
Secondly, after option 1 failed. I had no choice but to recompile Open Pegasus with PEGASUS_CIM_SCHEMA
environment variable pointing to the experimental schema, with the hope that Pegasus will make repository with the new schema.(
https://collaboration.opengroup.org/pegasus/pp/uploads/40/12332/PEP277_RecommendedReleaseOptions.htm
) . But Pegasus Wiki says “Avoid using Experimental DMTV CIM SCHMA”. (https://wiki.opengroup.org/pegasus-wiki/doku.php?id=architectureteam:architecture_f2f_meeting_2012_minutes).
I appreciate if somebody can point me a direction. Thanks a lot.
_____________________________________
Ben