Configure SMI-S providers for storage

Storage Management Initiative Specification (SMI-S) is an industry standard developed by the Storage Networking Industry Association (SNIA) with which independent management software can manage storage devices (storage and switches) through a standard interface based on the Common Information Model (CIM) protocol.

Pratikkumar Ashok Shaha (prashaha@in.ibm.com), Associate IT Specialist, IBM China

PratikPratikkumar has been working as an associate IT specialist at IBM Systems and Technology Group in Pune, India. He holds a Masters's degree in Computer Application from the University of Pune. Pratik has four years of experience in UNIX, IBM Power Systems administration, IBM Systems Director and IBM System Storage.



Chandan S Kabat (chandan.kabat@in.ibm.com), IT Specialist, IBM China

ChandanChandan has been working as a UNIX administrator for the past six years with a strong background in AIX, UNIX, Linux, and IBM Systems Director.



28 January 2013

Also available in Chinese

An SMI-S provider is a vendor-specific module that is used so that independent management software, such as IBM Systems Director and IBM Tivoli Storage Productivity Center can manage vendor devices using a standard interface.

  • An SMI-S provider is responsible for the actual processing of CIM operations on managed resources. The SMI-S Provider translates CIM-formatted requests into resource-specific operations and resource-specific operations to CIM-formatted requests.
  • The SMI-S provider provides the mapping between the CIM interface and the resource-specific interface and contains the implementation for a set of CIM operations for a defined set of managed resources.
Figure 1.

The above figure shows how IBM Systems Director can help to manage different storages and switches through the SMI-S provider.

Storage devices that require an SMI-S provider include:

  • IBM System Storage® DS6000™ devices
  • IBM System Storage N series N3600 devices
  • IBM System Storage DS4000® devices
  • IBM System Storage DS5000 devices
  • IBM System Storage DS3000 devices
  • Brocade 2G/4G Fibre Channel (IBM BladeCenter® chassis and external)

Download NetApp SMI-S provider from the NetApp website (login required). This SMI-S provider manages IBM System Storage DS5000, DS4000, and DS3000 storage systems.

System requirements:

  • Memory: 1 GB minimum (2 GB preferred).
  • Connectivity: Ethernet with 100BASE-T minimum (Gigabit Ethernet preferred), TCP/IP.
  • Port: TCP port 5988 or TCP port 5989, or any other available port if these ports are not available.
  • Storage array password: The device credentials profile requires the storage array password (shared secret) for modifying operations. An instance of shared secret per storage array will be tracked persistently by the SMI-S provider. A password is not mandatory if you have no password set on the storage array.
  • Scalability: There is no hard limit on how many storage systems can be supported by a single provider instance. The maximum recommended number is 10, moderately to fully configured storage systems per provider, or around 5000 volumes in total. In large configurations, you can deploy additional providers on different servers in your storage network to manage each 10 or so storage systems.

Perform the following steps to install and configure the SMI-S provider:

  1. Copy the file to any location where you can extract it (/tmp/directory is the preferred location).
  2. Log in as a root user and install the SMI-S provider.

    For Linux

    # rpm -ivh <rpm package name>.rpm

    Example: # rpm -ivh lsi_array2-10.10.G5.02-linux.i386.rpm

    After installation, run source /root/.bashrc to set the environment variables.

    For AIX

    #installp -a -X -d <bff package name>.bff

    Example: #installp -a -X -d LSIarray2-AIX-10.19.GG.21.bff (You can use the smitty option.)

    After the installation on AIX, you need to set the following environment variables manually using the EXPORT command before you go to the next step.

    • PEGASUS_HOME=/opt/lsi/pegasus
    • PEGASUS_ROOT=/opt/lsi/pegasus
    • PATH=$PATH:/opt/lsi/pegasus/bin
    • LIBPATH=$LIBPATH:/opt/lsi/pegasus/lib
    • LD_LIBRARY_PATH=$PEGASUS_HOME/lib:$LD_LIBRARY_PATH
  3. You need to add at least one user to enable CIM object manager (CIMOM) authentication. And that user should be present on the system. This process will restart the CIM server.
    /opt/lsi/pegasus/providers/array/userAuthentication.sh
    # /opt/lsi/pegasus/providers/array/userAuthentication.sh
    Do you want to enable authentication?y:n
    y
    Planned value for the property enableAuthentication is set to "true" in
    CIMServer.
    Please enter user
    storage
    Enter password maximum 8 characters
    welcome
    root
    User added successfully.
    Do you want to add another user?y:n
    n
    CIM Server stopped.
    Generic CIM Server 2.9.1
    #
  4. Add your storage IPs to ArrayHosts.txt. Then restart the CIM server.
    # vi /opt/lsi/pegasus/providers/array/ArrayHosts.txt

Configuring the OpenPegasus CIM server

Use the following commands to perform basic OpenPegasus CIM configuration operations. Each of these steps requires that you restart the OpenPegasus CIM server.

Set an HTTP port

# cimconfig -s httpPort=<port> -p

Example:

# cimconfig -s httpPort=5988 -p

Planned value for the httpPort property is set to 5988 in the CIM server.

Set an HTTPS port

# cimconfig -s httpsPort=<port> -p

Example:

# cimconfig -s httpsPort=5989 -p

Planned value for the httpsPort property is set to 5989 in the CIM server.

Enable or disable the HTTP connection

# cimconfig -s enableHttpConnection={true | false} -p

Example:

# cimconfig -s enableHttpConnection=true -p

Planned value for the enableHttpConnection property is set to true in the CIM server.

Enable or disable the HTTPS connection

# cimconfig -s enableHttpsConnection={true | false} -p

Example:

# cimconfig -s enableHttpsConnection=true -p

Planned value for the enableHttpsConnection property is set to true in the CIM server.

Enable or disable authentication

# cimconfig -s enableAuthentication={false | true} -p

Example:

# cimconfig -s enableAuthentication=true -p

Planned value for the enableAuthentication property is set to true in the CIM server.

Add a user

# cimuser -a -u <username> -w <password>

Example:

# cimuser -a -u storage -w passw0rd
User added successfully.

Remove a user

# cimuser -r -u <username>

Generate a list of authenticated users

# cimuser -l

Enable or disable service location protocol (SLP)

# cimconfig -s slp={true | false} -p

You can find all the configuration settings in the cimserver_current.conf file.

    #cat /opt/lsi/pegasus/cimserver_current.conf
########################################################################
## ##
## CIM Server configuration file ##
## ##
########################################################################
########################################################################
# #
# The configuration in this file is loaded by the CIM Server at #
# start-up. This file is updated by the CIM Server when the #
# configuration changes. #
# #
# Do not edit this file directly. Instead, use the cimconfig command #
# to update the CIM Server configuration. #
# #
########################################################################
httpPort=5988
slp=true
httpsPort=5989
registerExternalOpenSLP=false
enableAuthentication=true
enableHttpsConnection=true
enableHttpConnection=true
#

After viewing the configuration, you need to restart the CIM server again.

# cimserver -s (to stop the CIM server)

# cimsever (to start the SIM-S provider)

After you have set up the SMI-S provider for storage and switch, you need to import these resources in to your Systems Director instance using the mkdaresource command (if you are using Systems Director Storage Manager)

Comments

developerWorks: Sign in

Required fields are indicated with an asterisk (*).


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Information in your profile (your name, country/region, and company name) is displayed to the public and will accompany any content you post, unless you opt to hide your company name. You may update your IBM account at any time.

All information submitted is secure.

Choose your display name



The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

Required fields are indicated with an asterisk (*).

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


All information submitted is secure.

Dig deeper into AIX and Unix on developerWorks


static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=AIX and UNIX
ArticleID=855028
ArticleTitle=Configure SMI-S providers for storage
publish-date=01282013