Re: How do we get the related associator class names for particular measures ?

141 views
Skip to first unread message

Paul Robert Marino

unread,
May 6, 2013, 12:42:45 PM5/6/13
to smi-s-devel...@googlegroups.com
Wrong methodology

Look at the enumerate methods with deepinhritence enabled

Associator methods are more for handling things like reference values.

-- Sent from my HP Pre3


On May 6, 2013 11:38 AM, Srimurugan Chinnusamy <rc.sri...@gmail.com> wrote:

Hi All,

         First of all ,I am new in this SMIS ,can any help to SMIS associators related doubts ,
       1. how to find associators method  parameter argument class names(Association class ,result class ),and role ,result role 
        example if I need volume details for any storage ,which profile should be need for this 
       2.is possible to  create a Generic  model using SMIS for all storage 
        
        please help me ,It would be very helpful to me 

          Thanks in Advance

--
You received this message because you are subscribed to the Google Groups "SMI-S Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.
To post to this group, send email to smi-s-devel...@googlegroups.com.
Visit this group at http://groups.google.com/group/smi-s-developers-group?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Paul Robert Marino

unread,
May 7, 2013, 11:39:53 AM5/7/13
to smi-s-devel...@googlegroups.com
Fans are simple are simple enumerate the instances or class names of CIM_FAN
the rest of it you can find here http://www.snia.org/tech_activities/standards/curr_standards/smi
I sorry I don't remember them off the top of my head and don't have the time to look them up for you.

by the way I suggest you read DSP0200 and DSP0004 from DMTF.org if you haven't already.
and on a side note I don't know if this will be helpful but Ive been trying to write documentation for a pure Perl CIM module I've been writing. the documentation is still a little rough and probably not 100% accurate yet but might be useful its embedded in one of the sub modules in pod format here https://github.com/prmarino1/Lib-CIM-Perl/blob/master/LCP/lib/LCP/Query.pm
I've been asking on multiple lists for feedback on the documentation but so far no ones responded.particularly you might find the section on the EnumerateClassNames method useful and that section is definitely accurate, but not spell checked yet so there may be typos.








On Tue, May 7, 2013 at 12:47 AM, Srimurugan Chinnusamy <rc.sri...@gmail.com> wrote:
Hi Paul,

        Thanks for your quick response,can you please help  me to find the fan ,sensor and LED measures like operational status and health state ,which classes to be  needed  find theses  measures

Thanks in advance


On Monday, May 6, 2013 10:12:45 PM UTC+5:30, Paul Robert Marino wrote:
Wrong methodology

Look at the enumerate methods with deepinhritence enabled

Associator methods are more for handling things like reference values.

-- Sent from my HP Pre3


On May 6, 2013 11:38 AM, Srimurugan Chinnusamy <rc.sri...@gmail.com> wrote:

Hi All,

         First of all ,I am new in this SMIS ,can any help to SMIS associators related doubts ,
       1. how to find associators method  parameter argument class names(Association class ,result class ),and role ,result role 
        example if I need volume details for any storage ,which profile should be need for this 
       2.is possible to  create a Generic  model using SMIS for all storage 
        
        please help me ,It would be very helpful to me 

          Thanks in Advance

--
You received this message because you are subscribed to the Google Groups "SMI-S Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-group+unsub...@googlegroups.com.
To post to this group, send email to smi-s-devel...@googlegroups.com.

Sri

unread,
May 13, 2013, 9:28:09 AM5/13/13
to smi-s-devel...@googlegroups.com
Hi Paul,

         Can you please explain the about multiple computer system profile and it purpose 
           
         Thanks in advance...

On Thursday, May 9, 2013 10:24:01 AM UTC+5:30, Sri wrote:
Hi Paul ,

Thanks your prompt response,let me check
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-group+unsubscri...@googlegroups.com.
To post to this group, send email to smi-s-devel...@googlegroups.com.

Paul Robert Marino

unread,
May 13, 2013, 10:29:35 AM5/13/13
to smi-s-devel...@googlegroups.com
hello Sir
well simply one is the base the rest are customized ones for specific standards and or vendor implementations. they usually have custom fields. to find out what the differences are use GetClass with local only turned on also if you want to see the descriptions turn on IncludeQualifiers


Its common to see multiple classes for if you enumerate CIM_ComputerSystem

here is a quote from the documentation from my module here https://github.com/prmarino1/Lib-CIM-Perl/blob/master/LCP/lib/LCP/Query.pm

''
One of the common complaints about SMI-S is that the class names are not standardized from
one vendor to the next; but this is a half truth.
SMI-S allows a vendor to create their own CIM subclasses of the CIM classes named the standard.
This allows the vendor to add fields for their one proprietary features and in some cases
remove optional fields that do not apply to their devices. By using the EnumerateClassNames
CIM Intrinsic method with DeepInheritance enabled you can usually figure out very quickly what
the vendor specific CIM class names are, or if youre in doubt just assume they all are.
For example if I wanted to know the name of the vendor specific version of CIM_ComputerSystem
on a Fedora Linux box with SBLIM and TOG_OpenPegasus installed I would execute the following query
here is the query I might create.
$query->EnumerateClassNames ('name/space','CIM_ComputerSystem', { 'DeepInheritance' = 1});
Once the query was posted and the results parsed results were either of the following two 
results depending on the value of DeepInheritance.

With DeepInheritence set to 0 (False) it returns

"CIM_Cluster", "CIM_VirtualComputerSystem", "CIM_UnitaryComputerSystem", "Linux_ComputerSystem", "Xen_ComputerSystem", "KVM_ComputerSystem", "LXC_ComputerSystem"

With DeepInheritence set to 1 (True) it returns

"CIM_Cluster", "PG_ComputerSystem", "CIM_VirtualComputerSystem", "CIM_UnitaryComputerSystem", "Linux_ComputerSystem", "Xen_ComputerSystem", "KVM_ComputerSystem", "LXC_ComputerSystem"

Notice with DeepInheritence set to 1 (True) and additional CIM class name PG_ComputerSystem
is included in the results, this is because the super class for PG_ComputerSystem is
CIM_UnitaryComputerSystem and the super class for CIM_UnitaryComputerSystem is
CIM_ComputerSystem

Here is the relevant portions of the raw XML from a GetClass against the two classes that
illustrates the relationship.

From the PG_ComputerSystem CIM Class'

<CLASS NAME="PG_ComputerSystem"  SUPERCLASS="CIM_UnitaryComputerSystem" >

What that tells me is that CIM_UnitaryComputerSystem class was used as the initial template
for creating the PG_ComputerSystem class

From the CIM_UnitaryComputerSystem Class.

<CLASS NAME="CIM_UnitaryComputerSystem" SUPERCLASS="CIM_ComputerSystem" >

What that tells me is that CIM_ComputerSystem class was used as the initial template for
creating the CIM_UnitaryComputerSystem class.
That means that PG_ComputerSystem indirectly inherits from CIM_ComputerSystem and by
enabling DeepInheritance we can see this relationship by using the EnumerateClassNames method
on the CIM_ComputerSystem class; however without DeepInheritance enabled we can not.
The great thing about this is it works for standard CIM, SMI-S, WMI, WMWare, etc.. Any standard
or API based on CIM is structured in this manner so the class name discovery process works the
same way for all of them.
''












To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.

Sri

unread,
May 14, 2013, 12:40:29 AM5/14/13
to smi-s-devel...@googlegroups.com
Hello sir,


     Thanks for detailed explain ,In Storage system  terminology and SMIS terminlogy what is volume and what is lun,As Know as VOLUME and LUN are not same, but some docs explained both are same ,please give brief explain about these 



Thanks in advance............

Paul von Behren

unread,
May 14, 2013, 7:06:25 AM5/14/13
to smi-s-devel...@googlegroups.com
In common storage (external RAID array) system terminology, a volume is a LUN.  SMI-S does not generally use the word "volume", but CIM_StorageVolume  class represents a SCSI Logical Unit (LUN).  

But there are other ways people use "volume".  It sounds like EMC Clariion uses volume to mean something different.  You need to contact EMC to get help; this is not an SMI-S questions.

Paul


To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.

Paul von Behren

unread,
May 14, 2013, 8:09:37 AM5/14/13
to smi-s-devel...@googlegroups.com
A few minutes of searching in google found info about the EMC developers network


Sounds like yoiu need to join to get access to docs


On Mon, May 13, 2013 at 10:40 PM, Sri <rc.sri...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to smi-s-developers-...@googlegroups.com.

Paul Robert Marino

unread,
May 14, 2013, 8:31:15 AM5/14/13
to smi-s-devel...@googlegroups.com
Hello

This is a great question.

Let me clarify further. Volume is a often a more generic term used in storage and each vendor defines it a little differently.


Some vendors use the term volume to describe a block storage logical volume export via iSCSI or Fibre Channel which has a LUN ID in this definition its no different the a LUN.
Some other vendors use the term Volume to describe a group of drives in a raid set which contains Logical volume which it exports via ISCSI or Fibre channel with a LUN ID. In this definition the term volume describes the raid and LUN describes chunk of that raid being exported.
On NAS devices Volume is often used to describe the logical volume for the NAS file system. And some of them have added simulated block storage support via iSCSI and or Fibre channel by creating a disk image on their filesystem and exporting that with a LUN ID. In this definition LUN describes the disk image and volume describes the aggragate Logical Volume which may or may not span multiple raids in a similar but not identical manner to the second definition I described.

To summarise  LUN is a specific thing referring to a Logical Unit Number which Fibre channel and iSCSI inherited from the original SCSI bus design and Volume is a little more loosely defined and it gets murkier when you add NAS devices into the conversation.
Additionally it gets more complicated when you consider SMI-S inherited these classes from CIM which also uses them to describe local disk and logical volume on various different operating systems and hardware configurations.

I don't have a copy of the standard handy at the moment but if I remember correctly in VOLUME classes "LUN ID" number field is an optional field; however in A LUN classes the "LUN ID" number field  is required.






-- Sent from my HP Pre3

Sri

unread,
May 15, 2013, 1:42:53 AM5/15/13
to smi-s-devel...@googlegroups.com
Hello sir,

                     Thanks for the brief explain ,How can we find the capacity measures like managed space ,free space  for disks and LUNs ,which associations ,profiles need to bring these metrics for common SMI-S standard

Please let me know ,it would be very helpful

Thanks in advance .........
Reply all
Reply to author
Forward
0 new messages