Objective
Monitoring EMC disk arrays requires to configure the EMC SMI-S Provider to make sure that the arrays are being discovered. EMC disk arrays are automatically discovered when they are locally attached to the EMC SMI-S Provider. This article explains how to make sure that the EMC SMI-S Provider discovers all disk arrays by using the TestSmiProvider tool.
Procedure
- Logon to the server where the EMC SMI-S provider is installed
- Run the TestSmiProvider.exe  which can generally be found under “C:\ProgramFiles\EMC\ECIM\ECOM\bin”C:\Program Files\EMC\ECIM\ECOM\bin>TestSmiProvider.exe 
 Connection Type (ssl,no_ssl) [no_ssl]:
 Host [localhost]:
 Port [5988]:
 Username [admin]:
 Password [#1Password]:
 Log output to console [y|n (default y)]:y
 Log output to file [y|n (default y)]:
 Logfile path [Testsmiprovider.log]:
 Connecting to localhost:5988
 Using user account 'admin' with password '#1Password'######################################################################## 
 ## ##
 ## EMC SMI Provider Tester ##
 ## This program is intended for use by EMC Support personnel only. ##
 ## At any time and without warning this program may be revised ##
 ## without regard to backwards compatibility or be ##
 ## removed entirely from the kit. ##
 ########################################################################
 slp - slp urls slpv - slp attributes
 cn - Connect dc - Disconnect
 disco - EMC Discover rc - RepeatCount
 addsys - EMC AddSystem remsys - EMC RemoveSystem
 refsys - EMC RefreshSystemec - EnumerateClasses ecn - EnumerateClassNames 
 ei - EnumerateInstances ein - EnumerateInstanceNames
 ens - EnumerateNamespaces mine - Mine classesa - Associators an - AssociatorNames 
 r - References rn - ReferenceNamesgi - GetInstance gc - GetClass ci - CreateInstance di - DeleteInstance 
 mi - ModifyInstance eq - ExecQuery
 gp - GetProperty sp - SetPropertytms - TotalManagedSpace tp - Test pools 
 ecap - Extent Capacity pd - Profile Discoveryim - InvokeMethod active - ActiveControls 
 ind - Indications menu tv - Test viewsst - Set timeout value lc - Log control 
 sl - Start listener dv - Display version info
 ns - NameSpace vtl - VTL menuq - Quit h - Help 
 ########################################################################
 Namespace: root/emc
 repeat count: 1
- Run the command eq at the  prompt(localhost:5988) ? eq 
 Query Language[DMTF:CQL]:
-   Run the below queryQuery []: SELECT EMC_ArrayChassis.SerialNumber FROM EMC_ArrayChassis 
A working provider will return the following for each disk system attached to this provider:
++++ Testing ExecQuery: ++++
 Instance 0:
  ObjectPath :  //10.0.10.54/root/emc:Clar_ArrayChassis.CreationClassName="Clar_ArrayChassis",Tag="CLARiiON+CKM00083900053"
  <INSTANCE   CLASSNAME="Clar_ArrayChassis" >
  <PROPERTY NAME="CreationClassName"   TYPE="string">
  <VALUE>Clar_ArrayChassis</VALUE>
  </PROPERTY>
  <PROPERTY  NAME="Tag"  TYPE="string">
  <VALUE>CLARiiON+CKM00083900053</VALUE>
  </PROPERTY>
  <PROPERTY NAME="SerialNumber"   TYPE="string">
  <VALUE>CKM00083900053</VALUE> 
  </PROPERTY>
  </INSTANCE>
Number of  instance qualifiers: 0
  Number of  instance properties: 3
  Property:  CreationClassName Number of qualifiers: 0
  Property: Tag  Number of qualifiers: 0
  Property:  SerialNumber Number of qualifiers: 0
ExceQuery 1 instances; repeat count 1;return data in 0.000000 seconds
Retrieve and Display data - 1 Iteration(s) In 0.062400 Seconds
A failing provider will return the following:
++++ Testing ExecQuery: ++++
Error: Connection closed by CIM Server.
Retrieve and Display data - 1 Iteration(s) In 0.053000 Seconds
Please press enter key to continue...

