IBM SVC payload difference for same call in different node

18 views
Skip to first unread message

Biswajit Mukherjee

unread,
Jun 18, 2019, 7:56:00 PM6/18/19
to SMI-S Developers Group

Hi,
I have a 2 node IBM SVC storage array. I am trying to discover all hosts name using SMIS class and  WBEMClient like below




public static CIMInstance getHostname(WBEMClient client, String arrayID, CIMInstance host) throws WBEMException
{
String hostObjectPath = namespace + ":IBMTSSVC_ProtocolController.CreationClassName=\"IBMTSSVC_ProtocolController\",DeviceID=\""+arrayID+":"+host.getProperty(SVCApiConstants.SVC_STOR_HDWR_PROP_HOSTID).getValue().toString()+ "\",SystemCreationClassName=\""+SVCApiConstants.SVC_CLASSES_IBMTSDS_STORAGESYSTEM+"\",SystemName=\""+arrayID+":"+arrayID+"\"";
CIMInstance spcHostInstance = null;
try {
spcHostInstance = client.getInstance(new CIMObjectPath(hostObjectPath), false, true, null);
} catch (WBEMException e) {
logger.logError("Could not fetch the host info for the host "+host,e);
throw e;
}
return spcHostInstance;
}

for one node I get payload as 

[instance of IBMTSSVC_ProtocolController {
  AccessGranted = true;
  ClientType = 0;
  ConnectionRole = {2};
  CreationClassName = "IBMTSSVC_ProtocolController";
  Description = "Logical controller used for modeling the authorization path from host ports to volumes.";
  DeviceID = "0000020320018336:1";
  ElementName = "ESXi6.5_HOST_173";
  EnabledDefault = 2;
  EnabledState = 5;
  HostClusterId = "";
  HostClusterName = "";
  MaxUnitsControlled = 1;
  Name = "ESXi6.5_HOST_173";
  NameFormat = 0;
  OperationalStatus = {0};
  RequestedState = 5;
  SiteId = "";
  SiteName = "";
  StatusDescriptions = {"Unknown"};
  SystemCreationClassName = "IBMTSSVC_Cluster";
  SystemName = "0000020320018336:0000020320418336";
  TransitioningToState = 12;
};]


for the other node , payload is different 

instance of IBMTSSVC_ProtocolController {
  AccessGranted = true;
  ConnectionRole = {2};
  CreationClassName = "IBMTSSVC_ProtocolController";
  Description = "Logical controller used for modeling the authorization path from host ports to volumes.";
  DeviceID = "0000020320418336:0";
  EnabledDefault = 2;
  EnabledState = 5;
  MaxUnitsControlled = 1;
  NameFormat = 0;
  OperationalStatus = {0};
  RequestedState = 5;
  StatusDescriptions = {"Unknown"};
  SystemCreationClassName = "IBMTSSVC_Cluster";
  SystemName = "0000020320418336:0000020320418336";
  TransitioningToState = 12;
};


So, ElementName ,Name   are missing in 2nd payload. 

Any Idea, what could be problem here? 



Reply all
Reply to author
Forward
0 new messages