Verifying that Every EMC Disk Arrays are Properly Attached to an EMC SMI-S Provider

How to verify that the EMC SMI-S Provider discovers every disk arrays with the TestSmiProvider tool.

Related Topics

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

  1. Logon to the server where the EMC SMI-S provider is installed
  2. 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 RefreshSystem

      ec     - EnumerateClasses             ecn     - EnumerateClassNames
      ei     - EnumerateInstances           ein     - EnumerateInstanceNames
      ens    - EnumerateNamespaces          mine    - Mine classes

      a      - Associators                  an      - AssociatorNames
      r      - References                   rn      - ReferenceNames

      gi     - GetInstance                  gc      - GetClass

      ci     - CreateInstance               di      - DeleteInstance
      mi     - ModifyInstance               eq      - ExecQuery
      gp     - GetProperty                  sp      - SetProperty

      tms    - TotalManagedSpace            tp      - Test pools
      ecap   - Extent Capacity              pd      - Profile Discovery

      im     - InvokeMethod                 active  - ActiveControls
      ind    - Indications menu             tv      - Test views

      st     - Set timeout value            lc      - Log control
      sl     - Start listener               dv      - Display version info
      ns     - NameSpace                    vtl     - VTL menu

     

      q      - Quit                         h       - Help
    ########################################################################
    Namespace: root/emc
    repeat count: 1

  3. Run the command eq at the prompt

    (localhost:5988) ? eq
    Query Language[DMTF:CQL]:

  4. Run the below query

    Query []: 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...