Re: pegasus experimental schema
Devchandra L Meetei <[email protected]> Sat, 1 Jun 2013 01:02:07 +0530
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <CAKmFMKep=HL=EK=Gx-LZ0FhBKfC5FACs8XbXQXxdsU7nPF2mpQ@mail.gmail.com> |
Is there any specific reason why you are trying to use experimental version of schema? experimental schema should be avoided as far as possible, and yes, we use PEGASUS_CIM_SCHEMA to pick the version of schema. which as you have pointed out. On Sat, Jun 1, 2013 at 12:11 AM, Ben Wang <[email protected]> wrote: > 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<http://www.dmtf.org/standards/cim/> > 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<ftp://www.opendrim.org/pub/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***** > -- Warm Regards --Dev OpenPegasus Developer/Committer (\__/) (='.'=) This is Bunny. Copy and paste bunny (")_(") to help him gain world domination.