HPE 3PAR StoreServ Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error when using CIM query to get 3PAR storage volumn information

 
Highlighted
Occasional Visitor

Getting error when using CIM query to get 3PAR storage volumn information

I tried to use the following CIM query to get 3PAR storage volume information
Object: StorageSystem{Name='GenericSystem'}

Query:  .CIM_SystemDevice{ResultClass=CIM_StorageVolume}

but I got an error: CIM_ERR_NOT_SUPPORTED: Unrecognized intrinsic method: StorageSystem

Is there anything wrong with this query?  What will be the correct CIM query parameter to get 3PAR storage volume data ?

Thank you.

6 REPLIES 6
Highlighted
HPE Pro

Re: Getting error when using CIM query to get 3PAR storage volumn information

Hello nwjoe,

Could you cross check the HPE 3PAR CIM API Programming Reference (https://support.hpe.com/hpsc/doc/public/display?docId=c03618129) and ensure you are using the correct classes in the query?


I am an HPE Employee
Accept or Kudo
Highlighted
Occasional Visitor

Re: Getting error when using CIM query to get 3PAR storage volumn information

Hello veeyarvi,

Thanks for your response. I clicked on the CMI API reference link you sent, it didn't show any document, only shows a support feedback page.  Can you please resend the link to the latest API document?

I found a 3par CMI API reference pdf file from https://community.hpe.com/hpeb/attachments/hpeb/3par/324/1/CIM_prog_3.1.2.pdf

I believe I use the correct API, but still get the error.

Highlighted
HPE Pro

Re: Getting error when using CIM query to get 3PAR storage volumn information

Hello @nwjoe,

Please find the correct link for CMI API reference document shared by veeyarvi:

https://support.hpe.com/hpsc/doc/public/display?sp4ts.oid=null&docLocale=en_US&docId=emr_na-c03618129

If you find this information helpful, please click on Kudo (Thumbs Up) and if it resolves your issue then please mark this solution as Accepted.

Best Regards,

Neha_K

 

I am an HPE Employee

Accept or Kudo

Highlighted
Acclaimed Contributor

Re: Getting error when using CIM query to get 3PAR storage volumn information

Both those links fail in firefox.  There was another post complaining about getting to feedback only and I was able to see the document by using chrome.

https://community.hpe.com/t5/Servers-General/Attention-Immediate-action-required-to-maintain-HPE-Remote/m-p/7018431#M9014

 

Highlighted
HPE Pro

Re: Getting error when using CIM query to get 3PAR storage volumn information

Hello nwjoe,

I am not a CIM expert; but aren't we using TPD_StorageSystem (as array) and TPD_StorageVolume? What I see in the programming guide is all the classes are starting with TPD instead of CIM. Ignore if I am wrong.

You may choose to log a support case with HPE if you need to get this rectified urgently.


I am an HPE Employee
Accept or Kudo
Highlighted
New Member

Re: Getting error when using CIM query to get 3PAR storage volumn information

It looks like you're using cim_query2 in ServiceNow.  StorageSystem{Name='GenericSystem'} should be replaced by the identifier of the storage array.  Something like

CIM_ManagedElement{CreationClassName='TPD_StorageSystem',Name='0123456789ABCDEF'}

You can find the identifier by making the Classification/Arrays query.  Double click on the storage array in the result.