01-12-2016 11:16 PM
We want to collect configuration and performance data from switch itself (without using DCNM).
We have enabled CIM server on switch but when we try to query enumerateInstances(), EnumerateClassNames() or any other standard methods, It return following error-
WBEMException[CIM_ERR_NOT_SUPPORTED]: Operation EnumerateClassNames is not supported by the WBEM service infrastructure.
CIM_Error instances:
instance of CIM_Error {
ErrorType = 4;
OtherErrorType = null;
OwningEntity = "DMTF";
MessageID = "WIPG0203";
Message = "Operation EnumerateClassNames is not supported by the WBEM service infrastructure.";
MessageArguments = {"EnumerateClassNames", "CISCO_PhysicalComputerSystem", "/cimv2:CISCO_PhysicalComputerSystem"};
PerceivedSeverity = 2;
ProbableCause = 0;
ProbableCauseDescription = null;
RecommendedActions = null;
ErrorSource = "/cimv2:CISCO_PhysicalComputerSystem";
ErrorSourceFormat = 2;
OtherErrorSourceFormat = null;
CIMStatusCode = 7;
CIMStatusCodeDescription = "CIM_ERR_NOT_SUPPORTED";
};
I am using sample SMI client application which is shipped along with DCNM package.
In my knowledge DCNM SMI interface should be same as CIM server interface installed directly on switch.
Can anyone please point out, what we are doing wrong here?
Any help is appreciated.
01-13-2016 07:34 AM
Hi,
Unfortunately, the cimserver was removed from the switch at NX-OS 5.2.
MDS 9000 NX-OS 5.2 Release Notes
Common Information Model (CIM or cimserver) commands are no longer supported.
Regards,
David
01-13-2016 08:44 PM
Hi David,
Thank you for your reply.
Sorry I forget to mention we have NX OS 5.0 on our Cisco switches.
So we expect CIM Server to work on switch.
CIM Server commands are working fine on switch.
Following is output of "show cimserver" command.
cimserver is enabled
cimserver Http is enabled
cimserver Https is enabled
cimserver certificate file name is servcert.pem
Current value for the property logLevel in CIMServer is 'INFORMATION'.
This means CIM Server is up and running but somehow saying Not Supported error for all basic SMIS operations like enumerateInstances(), EnumerateClassNames() etc.
Thanks & Regards,
Chandan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide