Category Archives: SMI-S

After upgrading VNX OE Code SMI-S (ECOM) Provider is reporting wrong code version

I discovered this issue a couple of weeks ago.

I had to upgrade a VNX System from VNX OE code release 05.33.000.5.081 to 05.33.006.5.102.

After the successful upgrade i saw that the SMI-S Provider (ECOM) hadn’t picked up the new code level.

The program to test and validate SMI-S Provider Functionality is called testsmisprovider.exe. In my case
it is located on a Management Server in “D:\Program Files\EMC\ECIM\ECOM\bin\TestSmiProvider.exe”.

To retrieve the information from the VNX you have to run the following commands:

1. Run TestSmiProvider from the Command Line:

D:\Program Files\EMC\ECIM\ECOM\bin>TestSmiProvider.exe
 Connection Type (ssl,no_ssl,native) [no_ssl]:
 Host [localhost]:
 Port [5988]:
 Username [admin]:
 Password [xxxxx]:
 Log output to console [y|n (default y)]:
 Log output to file [y|n (default y)]:
 Logfile path [Testsmiprovider.log]:
 Connecting to localhost:5988
 Using user account 'admin' with password 'xxxxx'

Enter “dv”

(localhost:5988) ? dv
 ++++ Display version information ++++
 CIM ObjectManager Name: EMC:xx.xx.xx.xx
 CIMOM Version: EMC CIM Server Version 2.7.3.3.0.8
 SMI-S qualified version: 1.5.0
 SMI-S Provider version: V4.6.2.3
 SMI-S Provider Location: Proxy
 SMI-S Provider Server:
 Windows_NT MBCI0EMS2001 6.2.9200  x86_64 VM Guest OS (64bit Libraries)
 Solutions Enabler version: V7.6-1808 2.8
 Firmware version information:
 (Remote) CLARiiON Array CKM00xxxxxxx (Rack Mounted VNX5600) : 05.33.000.5.081
 Retrieve and Display data - 1 Iteration(s) In 0.093748 Seconds

The command returns the Firmware version information:

 (Remote) CLARiiON Array CKM00xxxxxxxxx (Rack Mounted VNX5600) : 05.33.000.5.081

Now this was still the old Code Level that was returned by SMI-S.
To refresh the system information i ran “refsys”

(localhost:5988) ? refsys
Refresh Systems {y|n} [n]: y
Refresh all systems {y|n} [n]: y
Sync ALL components {y|n} [n]: y
++++ EMCRefreshSystem ++++
EMCRefreshSystem - iteration 1
OUTPUT : 0
Legend:0=Success, 1=Not Supported, 2=Unknown, 3=Timeout, 4=Failed
5=Invalid Parameter
4096=Job Queued, 4097=Size Not Supported
Note: Not all above values apply to all methods - see MOF for the method.
In 11.140637 Seconds
Please press enter key to continue...

But even after that the version number was still wrong.
Now, the “quick and dirty” way to fix is: remove the VNX system from the SMI-S config and add it back in.

Here is how you do it:

Run “ein” Get the Instance Name from the configured VNX system:

(localhost:5988) ? ein
 Class: Clar_StorageSystem
 ++++ Testing EnumerationInstanceNames: Clar_StorageSystem ++++
 Instance 0:
 Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+CKM00xxxxxxxxx"
 Enumerate 1 instance names; repeat count 1;return data in 0 seconds
 Retrieve and Display data - 1 Iteration(s) In 0.015627 Seconds
 Please press enter key to continue...

Copy the String after “Instance 0″ to your clipboard:

Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+CKM00xxxxxxxxx"

Run “remsys” to remove the VNX system from the SMI-S config.
The “System’s ObjectPath[null]” is the Instance name that you got from running the “ein” command:

(localhost:5988) ? remsys
 remove System {y|n} [n]: y
 System's ObjectPath[null]: Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+CKM00xxxxxxxxx"
About to delete system Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+CKM00xxxxxxxxx"
Are you sure {y|n} [n]: y
++++ EMCRemoveSystem ++++
 OUTPUT : 0
 Legend:0=Success, 1=Not Supported, 2=Unknown, 3=Timeout, 4=Failed
 5=Invalid Parameter
 4096=Job Queued, 4097=Size Not Supported
 Note: Not all above values apply to all methods - see MOF for the method.
 In 5.078127 Seconds
Please press enter key to continue...

Run “dv” to see that the system is removed from the SMI-S config:

(localhost:5988) ? dv
 ++++ Display version information ++++
 CIM ObjectManager Name: EMC:xx.xx.xx.xx
 CIMOM Version: EMC CIM Server Version 2.7.3.3.0.8
 SMI-S qualified version: 1.5.0
 SMI-S Provider version: V4.6.2.3
 SMI-S Provider Location: Proxy
 SMI-S Provider Server:
 Windows_NT MBCI0EMS2001 6.2.9200  x86_64 VM Guest OS (64bit Libraries)
Solutions Enabler version: V7.6-1808 2.8
Retrieve and Display data - 1 Iteration(s) In 0.078114 Seconds
Please press enter key to continue...

Add the system back into the SMI-S config.

You have to specify the ArrayType (1 for Clariion/VNX), SP IPs, username and password:

(localhost:5988) ? addsys
 Add System {y|n} [n]: y
 ArrayType (1=Clar, 2=Symm) [1]: 1
 One or more IP address or Hostname or Array ID
 Elements for Addresses
 IP address or hostname or array id 0 (blank to quit): xx.xx.xx.xx
 IP address or hostname or array id 1 (blank to quit):
 Address types corresponding to addresses specified above.
 (1=URL, 2=IP/Nodename, 3=Array ID)
 Address Type (0) [default=2]: 2
 Find peer IP addresses if only one supplied {y|n} [n]: y
 User [null]: xxxxx
 Password [null]: xxxxx
 ++++ EMCAddSystem ++++
 OUTPUT : 0
 Legend:0=Success, 1=Not Supported, 2=Unknown, 3=Timeout, 4=Failed
 5=Invalid Parameter
 4096=Job Queued, 4097=Size Not Supported
 Note: Not all above values apply to all methods - see MOF for the method.
 System : //xx.xx.xx.xx/root/emc:Clar_StorageSystem.CreationClassName="Clar_StorageSystem",Name="CLARiiON+CKM00xxxxxxxxx"
 In 16.937526 Seconds

Run “dv” again:

(localhost:5988) ? dv
 ++++ Display version information ++++
 CIM ObjectManager Name: EMC:xx.xx.xx.xx
 CIMOM Version: EMC CIM Server Version 2.7.3.3.0.8
 SMI-S qualified version: 1.5.0
 SMI-S Provider version: V4.6.2.3
 SMI-S Provider Location: Proxy
 SMI-S Provider Server:
 Windows_NT MBCI0EMS2001 6.2.9200  x86_64 VM Guest OS (64bit Libraries)
 Solutions Enabler version: V7.6-1808 2.8
 Firmware version information:
 (Remote) CLARiiON Array CKM00xxxxxxxxx (Rack Mounted VNX5600) : 05.33.006.5.102
 Retrieve and Display data - 1 Iteration(s) In 0.093748 Seconds
Please press enter key to continue...

You should now see the “updated” Code Level /Firmware.

 

 

TwitterLinkedInXINGStumbleUpon