RE: pegasus experimental schema

Ben Wang <[email protected]> Fri, 31 May 2013 19:43:21 +0000
Newsgroups gmane.network.open-pegasus.general
Message-ID <2A9A38931148B849A3B05177437B5B124231D7CD@BY2PRD0510MB390.namprd05.prod.outlook.com>
Dev,

Thank you for your response.

For example, there is one particular CIM client which uses CIM_ReplicationService and CIM_ReplicationServiceCapabilies to do  LUN snapshot and clone. Both of the classes are listed in experimental schema.

I noticed that in Pegasus source code(.pegasus/Schemas directory), except of  the schema directory that I can download from DMTF website, there are other mof files such as(CIM_Core.mof  CIM_Event.mof  CIM_Interop.mof  CIM_Physical.mof  CIM_Schema.mof). Are they playing any roles during the compilation? In other words, do I need these mof files when using the new schema?

One last question, what is the consequences of using new schema, should I expect some mysterious crashes?:-)
_____________________________________
Ben Wang
Software Engineer
FalconStor Software, Inc. (NASDAQ: FALC)
2 Huntington Quadrangle, Suite 2S01
Melville, NY 11747
O: 1.631.773.4489
M: 1.631.988.2209
[email protected]<mailto:[email protected]>

Defining Data Protection, Again(tm)

[signature_promoting_final]<http://www.falconstor.com/news-and-events/press-center/press-releases-top-story/2256-falconstor-recovertrac-2-5-selected-for-a-best-of-vmworld-2012-gold-award>

Follow us:

[Blogger]<http://www.falconstor.com/community/blogs> [Twitter1-icon] <http://twitter.com/FalconStor>  [linkedin-icon] <http://www.linkedin.com/groups?mostPopular=&gid=776377>  [Youtube-icon] <http://www.youtube.com/user/FalconStor>  [Flickr-icon1] <http://www.flickr.com/photos/falconstor/>

This email and any attachment(s) is for the intended recipient only and may be confidential. If you are not the intended recipient, please delete this e-mail and advise the sender immediately. Unauthorized use or distribution is prohibited.

From: Devchandra L Meetei [mailto:[email protected]]
Sent: Friday, May 31, 2013 3:32 PM
To: Ben Wang
Cc: [email protected]
Subject: Re: pegasus experimental schema

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]<mailto:[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.
image001.gif (image/gif, 17.8 KB) - not displayed
image002.gif (image/gif, 1 KB) - not displayed
image003.png (image/png, 2.3 KB) - not displayed
image004.png (image/png, 1.7 KB) - not displayed
image005.png (image/png, 2.2 KB) - not displayed
image006.png (image/png, 2.1 KB) - not displayed