Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Storage Resource Monitor (SRM) > SRM: Enable the HP Command View Advanced Edition SMI-S provider

SRM: Enable the HP Command View Advanced Edition SMI-S provider

Updated: 11/1/16

Overview

The SMI-S provider is available as part of the HP XP Command View (HP XP CVAE) with the Device Manager component. It is enabled by default in newer versions of the HP XP CVAE. SMI-S provider can monitor the storage arrays which are added in the HP XP CVAE.

For more information, please consult the documentation supplied with your array, or contact your vendor.

Environment

  • SRM 6.1+
  • HP XP CVAE

Credentials required to add array

Ensure you have the following information:

  • IP address or hostname for the array.
  • Provider username
  • Provider password
  • Protocol. The default is HTTPS
  • HTTP port. The default is 5988
  • HTTPS port. The default is 5989
  • Interop namespace.  The default is /interop
  • Array namespace.  The default is /root/smis/current

Enable the array

  1. On the server where the HP XP CVAE is installed, locate the server.properties file. Edit this file and change the server.cim.support property to true if it is not already. server.properties file is located under:
    • Windows: <Installation folder for HP XP CVAE>\DeviceManager\Server\config\ server.properties
    • Linux: <Installation folder for HP XP CVAE>/Server/config/server.properties
  2. Restart the HP XP CVAE product services.

Default configuration

 

NameSpace /root/smis/current
Port 5989/5988
Protocol https/http
IP Address IP Address or HostName of the Server running HP XP CVAE
User HP XP CVAE User with at least view privilege for all resources

How to change the ports

The default ports used by the SMI-S provider are 5988 (http) and 5989 (https). The ports used can be changed as below if there is port conflict with other applications.

For non-SSL (HTTP) communication

  1. Open the server.properties for editing. It is located under: 
    • Windows: <Installation folder for HP XP CVAE>\DeviceManager\Server\config\ server.properties
    • Linux: <Installation folder for HP XP CVAE>/Server/config/server.properties
  2. Change the following property value in the file:
    • http  - server.cim.http.port   e.g.: server.cim.http.port=6988
  3. Check if the server.cim.support.protocol property is set correctly for using http. The value should be either 1 or 3.
    • server.cim.support.protocol=1  - only http port is open for communication
    • server.cim.support.protocol=3  - both http and https ports are open for communication.
  4. Save the file.
  5. Edit the cimxmlcpa.properties file and change the  HTTP port value to the same as set above. Save the file.
    • If the cimxmlcpa.properties file does not exist by default, create a new file by that name and specify the property in the following format:  HTTP Port=port-number 
    • The file location:
      • Windows: <Installation folder for HP XP CVAE>\DeviceManager\Server\wsi\server\ jserver\bin
      • Linux: <Installation folder for HP XP CVAE>/Server/wsi/server/jserver/bin
    • Make a backup copy of the cimxmlcpa.properties file.  This will get deleted when the service for HP XP CVAE starts.
  6. Restart the HP XP CVAE product services.

For SSL (HTTPS) communication

  1. Open the server.properties for editing. It is located under: 
    • Windows: <Installation folder for HP XP CVAE>\DeviceManager\Server\config\ server.properties
    • Linux:  <Installation folder for HP XP CVAE>/Server/config/server.properties
  2. Change the following property values in the file:
    • https - server.cim.https.port  e.g.: server.cim.http.port=6989
  3. Check if the server.cim.support.protocol property is set correctly for using https.  The value should be either 2 or 3.
    • server.cim.support.protocol=2  - only https port is open for communication
    • server.cim.support.protocol=3  - both http and https ports are open for communication.
  4. Save the file.
  5. Edit the cimxmlcpa.properties file and change the HTTPS Port value to the same as set above. Save the file.

    • If the cimxmlcpa.properties file does not exist by default, create a new file by that name and specify the property in the following format:   HTTPS Port=port-number 
    • The file location:
      • Windows: <Installation folder for HP XP CVAE>\DeviceManager\Server\wsi\server\ jserver\bin
      • Linux: <Installation folder for HP XP CVAE>/Server/wsi/server/jserver/bin
    • Make a backup copy of the cimxmlcpa.properties file.  This will get deleted when the service for HP XP CVAE starts.
  6. Restart the HP XP CVAE product services.

How to enable the Performance Data Collection

  1. Prepare Command devices for each enterprise class storage arrays. Use the HP XP CVAE GUI.
  2. Assign the command device to the server on which Device Manager Agent is going to be installed. (Recommended to be installed on the same server where HP XP CVAE - Device Manager Server is installed).
  3. Install Device Manager Agent and set it up to communicate with the Device Manager Server
    • Device Manager Agent can be installed on the same server as the Device Manager Server which is the recommended method. Otherwise it can be installed on a separate server with Windows, Solaris or Linux OS.
    • During the Agent installation, you will get a message to configure the agent now or later. Provide the IP Address /hostname of Device Manager Server along with Credentials to access it.
    • If the Device Manager Agent is already installed, but not setup to communicate with Device Manger Server, then do the following:
      • Stop the Device Manager Agent Service.
      • run the 'hdvmagt_setting' command
        • Location Windows: <device agent="" folder="" installation="" manager="">\bin</device>
        • Location Linux: <device agent="" folder="" installation="" manager="">/bin</device>
        • Location Solaris: /opt/HDVM/HBaseAgent/bin
      • Provide the IPAddress or HostName of the Device Manager Server
      • Port Number - default port number is 2001
      • User ID and password
        • Enter the user ID and password for the Device Manager Agent registered with the Device Manager Server, Built in account for use is HaUser and default password is haset.
      • Installation location of CCI/LIB (Note: This is installed when the Device Manager Agent is installed).
    • Register the command devices from storage arrays to the Device Manager Agent.
      • Take a backup of the file perf_cmddev.properties
        • Location of the file on Windows: <device agent="" folder="" installation="" manager="">\mod\hdvm\config</device>
        • Location of the file on Linux: <device agent="" folder="" installation="" manager="">/mod/hdvm/config</device>
        • Location of the file on Solaris: /opt/HDVM/HBaseAgent/mod/hdvm/config
      • You can use the perf_findcmddev command to register command devices.
        • Location Windows: <device agent="" folder="" installation="" manager="">\bin</device>
        • Location Linux:<device agent="" folder="" installation="" manager="">/bin</device>
        • Location Solaris: /opt/HDVM/HBaseAgent/bin
      • Run command perf_findcmddev write.
        • This will discover all command devices mapped to this server and update the perf_cmddev.properties file with the info.
      • Open the perf_cmddev.properties file and verify the command devices from the enterprise storage arrays are listed.

        RAID ID.serial-number.[SLPR number.]LDEV number: deviceFileName

        • Entries in the file are in the following format:
          • Eg: R600.44332.456: \\.\PhysicalDrive3
        • RAID-ID
          • R700 - HP P9500
          • R600 - HP XP24000
          • R601 - HP XP20000
          • R500 - HP XP12000
          • R501 - HP XP10000
        • Serial Number is the serial number of the storage array expressed as base 10 number.
        • SLPR Number - Optional. This represents the number of SLPR to which the command device belongs, It is also in base 10 format.
        • LDEV Number - CU:LDEV number of the command device in base 10 format
        • Device File Name - Command device identifier that the server recognize it as:
          • Windows: \\.\PhysicalDriveX or \\.\Volume{GUID}
          • Linux: /dev/sdx
          • Solaris: /dev/rdsk/cxtxdxs2
  4. Restart the Device Manager Agent Service.
  5. Configure Device Manager Server to communicate with the Device Manager Agent
    • Edit the server.properties file on the Device Manager Server
    • Set the server.cim.agent property value to the host name of the Server where Device Manager Agent is installed.
    • Note: You MUST use the exact hostname as registered with the Device Manager Server. If these hostnames are different, you cannot acquire performance data. To locate the registered hostname, open the Device Manager Server GUI and locate the hosts tree.
  6. Restart the HP XP CVAE (with Device Manager Server).

How to Increase the memory heap size

  1. Edit the memory configuration file
    •  Windows: <Installation folder for HP XP CVAE>\DeviceManager\Server\Server.ini
    • Linux: <Installation folder for HP XP CVAE>/hicommand.sh
  2. Change the value for  JVM_XOPT_HEAP_MAX   e.g.: to update to 4GB,  JVM_XOPT_HEAP_MAX = -Xmx4098m
  3. Save the file.
  4. Restart the HP XP CVAE.

Follow the memory requirement for the Device Manager as suggested by HP.  See below for some guide lines on memory required for the SMI-S provider alone. 

      heap max size for smi-s provider = (30,000 x number of LDEVs x number of paths per LDEV) / 1048576   mega bytes

If the value of number of paths per LDEV  becomes less than 1, assume that this value is equal to 1 for the calculation. 

Round this value up to the nearest whole number. If this value is less than 256 (MB), assume that it is equal to 256 for the calculation.

How to Start/Stop HP XP CVAE

Windows Server 2008 R2

To start:  Select Start >> All Programs >> HP XP7 Command View Advanced Edition >> Manage Services >> Start -Command View AE

To Stop:  Select Start >> All Programs >> HP XP7 Command View Advanced Edition >> Manage Services >> Stop -Command View AE

Windows Server 2012

To start: From the Start Window, open the application list window, select HP XP7 Command View Advanced Edition and then Start - Command View AE

To Stop: From the Start Window, open the application list window, select HP XP7 Command View Advanced Edition and then Stop - Command View AE

Linux

To start: Execute  <Installation folder for HP XP CVAE>/Base64/bin/hcmds64srv -start

To Stop: Execute  <Installation folder for HP XP CVAE>/Base64/bin/hcmds64srv -stop

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

 

 

Last modified
15:56, 10 Nov 2016

Tags

Classifications

Public