Configure SMI-S providers for storage

Comments

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)


Downloadable resources


Comments

Sign in or register to add and subscribe to comments.

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