pahampl
2 Bronze

vVNX and SMI-S access

Jump to solution

Hi,

I have understood that vVNX comes with on board SMI-S. I can see open port on SPA management port:

5989/tcp open   wbem-https port

However I have a problem with authorization, although I provide correct username/password combination then it always fails.

# wbemcli -noverify -nl ei https://admin:XXXX@192.168.1.142:5989/root/emc:EMC_VNXe_ArrayChassisLeaf

    wbemcli: Http Exception: Invalid username/password.

Any idea what might be wrong? Tried several accounts,all user roles, with no luck.

I have even failed to connect the storage via solution enabler (SMI-S Provider version: V4.6.2.29).

It apparently does not work with vVNX as it was mentioned in some other thread.

my "addsys" cmd always fails with:

++++ EMCAddSystem ++++

Error: The requested object cannot be found. (com.emc.cmp.osls.se.osl.DiscoveryServices.StorInstanceDiscover():142 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_FOUND R:1000052 L:2 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_FOUND R:1000052 No objects of the requested type were found : "SymDiscover Failed" : 2 : 40 : "No devices were found")

Is there any chance to connect vVNX via SMI-S?

I run vVNX version 3.1.7.6448513

Thanks,

Pavel

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: vVNX and SMI-S access

Jump to solution

On-board SMI-S to support vVNX. I think that the namespace you are using is incorrect. The right one would be

/root/emc/smis. I just wrote a piece of python snippet code to show it work:


import pywbem

if __name__ == "__main__":

   # vVNX
   URL = ("%s://%s:%s" % ("https", "10.245.54.161", "5989"))

  User = "local/admin"
   Password = "********"
   InteropNamespace = "interop"
   ImplementNamespace = "root/emc/smis"

   conn2Interop = pywbem.WBEMConnection(URL, (User, Password),

  InteropNamespace)

  conn2Namespace = pywbem.WBEMConnection(URL, (User, Password),

  ImplementNamespace)

  css = conn2Namespace.EnumerateInstances("EMC_VNXe_StorageSystemLeaf",

   IncludeQualifiers=True,

   IncludeClassOrigin=True)

   for cs in css:

   print cs.tomof()

  chassis_list = conn2Namespace.EnumerateInstances(

   "EMC_VNXe_ArrayChassisLeaf",

   IncludeQualifiers=True,

   IncludeClassOrigin=True)

   for chassis in chassis_list:

       print chassis.tomof()

Output:

instance of EMC_VNXe_StorageSystemLeaf {

  RequestedState = 12;

  Dedicated = {15, 24};

  Name = "VIRT1610GJ7K50";

  TransitioningToState = 12;

  EnabledState = 5;

  ElementName = "vu161";

  HealthState = 5;

  PrimaryStatus = 1;

  OperationalStatus = {2};

  StatusDescriptions = {"OK"};

  NameFormat = "Other";

  CreationClassName = "EMC_VNXe_StorageSystemLeaf";

  IdentifyingDescriptions = {"Product Serial Number"};

  OtherIdentifyingInfo = {"VIRT1610GJ7K50"};

};

instance of EMC_VNXe_ArrayChassisLeaf {

  SerialNumber = "VIRT1610GJ7K50";

  Tag = "VIRT1610GJ7K50";

  RemovalConditions = 2;

  PackageType = 3;

  ChassisPackageType = 22;

  CreationClassName = "EMC_VNXe_ArrayChassisLeaf";

  Model = "UnityVSA";

  Manufacturer = "EMC Corporation";

};


.

View solution in original post

0 Kudos
6 Replies
jithin
3 Argentum

Re: vVNX and SMI-S access

Jump to solution

Hi,

Please refer Knowledge base article https://support.emc.com/kb/456103

Jithin

0 Kudos
pahampl
2 Bronze

Re: vVNX and SMI-S access

Jump to solution

Thanks.

Unfortunately  I am not able to reach this document, my account on sso.emc.com has some problem with that link and even freshly created account does not show me that page.

Could you pls post here at least summary from that KB? I am really lost and would like to know answer to my question.

Thanks!

0 Kudos
Rainer_EMC
6 Indium

Re: vVNX and SMI-S access

Jump to solution

From the KB:

Resolution: Upgrade to SMI-S 4.6.2.3 or later.

0 Kudos
pahampl
2 Bronze

Re: vVNX and SMI-S access

Jump to solution

Do you mean solution enabler?

I am already on 4.6.2.29:

CIMOM Version: EMC CIM Server Version 2.7.3.10.0.15

SMI-S qualified version: 1.5.0

SMI-S Provider version: V4.6.2.29

Solutions Enabler version: V7.6-1808 2.67

This gives me all the time when I try to configure it this error:

Error: The requested object cannot be found. (com.emc.cmp.osls.se.osl.DiscoveryServices.StorInstanceDiscover():142 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_FOUND R:1000052 L:2 C:ERROR_CLASS_SOFTWARE F:ERROR_FAMILY_NOT_FOUND R:1000052 No objects of the requested type were found : "SymDiscover Failed" : 2 : 40 : "No devices were found")

I have read that vVNX does not support solution enabler.

0 Kudos
Anonymous
Not applicable

Re: vVNX and SMI-S access

Jump to solution

On-board SMI-S to support vVNX. I think that the namespace you are using is incorrect. The right one would be

/root/emc/smis. I just wrote a piece of python snippet code to show it work:


import pywbem

if __name__ == "__main__":

   # vVNX
   URL = ("%s://%s:%s" % ("https", "10.245.54.161", "5989"))

  User = "local/admin"
   Password = "********"
   InteropNamespace = "interop"
   ImplementNamespace = "root/emc/smis"

   conn2Interop = pywbem.WBEMConnection(URL, (User, Password),

  InteropNamespace)

  conn2Namespace = pywbem.WBEMConnection(URL, (User, Password),

  ImplementNamespace)

  css = conn2Namespace.EnumerateInstances("EMC_VNXe_StorageSystemLeaf",

   IncludeQualifiers=True,

   IncludeClassOrigin=True)

   for cs in css:

   print cs.tomof()

  chassis_list = conn2Namespace.EnumerateInstances(

   "EMC_VNXe_ArrayChassisLeaf",

   IncludeQualifiers=True,

   IncludeClassOrigin=True)

   for chassis in chassis_list:

       print chassis.tomof()

Output:

instance of EMC_VNXe_StorageSystemLeaf {

  RequestedState = 12;

  Dedicated = {15, 24};

  Name = "VIRT1610GJ7K50";

  TransitioningToState = 12;

  EnabledState = 5;

  ElementName = "vu161";

  HealthState = 5;

  PrimaryStatus = 1;

  OperationalStatus = {2};

  StatusDescriptions = {"OK"};

  NameFormat = "Other";

  CreationClassName = "EMC_VNXe_StorageSystemLeaf";

  IdentifyingDescriptions = {"Product Serial Number"};

  OtherIdentifyingInfo = {"VIRT1610GJ7K50"};

};

instance of EMC_VNXe_ArrayChassisLeaf {

  SerialNumber = "VIRT1610GJ7K50";

  Tag = "VIRT1610GJ7K50";

  RemovalConditions = 2;

  PackageType = 3;

  ChassisPackageType = 22;

  CreationClassName = "EMC_VNXe_ArrayChassisLeaf";

  Model = "UnityVSA";

  Manufacturer = "EMC Corporation";

};


.

View solution in original post

0 Kudos
pahampl
2 Bronze

Re: vVNX and SMI-S access

Jump to solution

Big thanks!

The problem was user name, I had to add "local/" prefix into the command line.

#  wbemcli -noverify -nl ei https://local/admin@192.168.1.142:5989/root/emc/smis:EMC_VNXe_StorageSystemLeaf

Enter password:

192.168.1.142:5989/root/emc/smis:EMC_VNXe_StorageSystemLeaf.CreationClassName="EMC_VNXe_StorageSystemLeaf",Name="VIRT1602XZ9B6L"

-CreationClassName="EMC_VNXe_StorageSystemLeaf"

-Name="VIRT1602XZ9B6L"

......

0 Kudos