ViPR 2.2 - Set up Metrics-Based Port Selection using the ViPR UI

Table of Contents

Overview

Learn how to create maximum limits for port allocation. Allocating new ports based on performance metrics, computed metrics, and user-defined maximum limits is supported on VMAX, VNX for Block, and Hitachi Data Systems (HDS).

Several performance-based metrics are collected from VMAX, VNX for Block, and HDS and are used to determine:
  • Port percent busy.
  • CPU percent busy.
in addition, two additional metrics are computed:
  • Number of initiators using a storage port.
  • Number of volumes using a storage port.
These metrics are then used to allocate new ports to avoid:
  • Ports that are overloaded with too many volumes or too high of an I/O load.
  • Ports that reside on CPUs where the CPU percent busy is too high or the CPU is servicing too many volumes.
  • Allocating more storage on arrays that are overloaded.

For further information on the metrics and how they are used to allocate ports, see Understanding Metrics-Based Port Selection in ViPR.

Back to Top

Metering prerequisites

There are two configuration properties that you must ensure are set to enable the collection of metrics from VMAX, VNX for Block, and HDS.

You can set these configuration properties using both the ViPR UI, as shown here, and with the REST API, as shown in Set up Metrics-Based Port Selection using the ViPR REST API.

After logging into the ViPR UI as a system administrator, check whether metering is enabled, and to what value the metering interval is set.

Selecting Settings > Configuration > Controller displays:
  • the value of Enable Metering which should be set to true to collect metrics from the arrays.
  • the value of Metering Interval which sets how often ViPR will collect data from the arrays. The metering interval can be set from 1800 seconds (30 minutes) up to 4 hours. The lower the number of seconds, the more accurate will be the results. However, the higher the metering interval is, the less overhead there is on ViPR and the array.

Back to Top

Prerequisite configuration settings for VNX for Block

You must enable performance data logging in EMC Unisphere so that VNX for Block sends the required metrics to ViPR before you can set up metrics-based port selection for VNX for Block .

Procedure

  1. Log into the EMC Unisphere.
  2. Select System > Statistics for Block. Statistics for Block can be found in the Monitoring and Alerts section.
  3. Click Performance Data Logging.
    The Data Logging dialog is displayed.
  4. If data logging is not already started:
    Note Image
    Do not change the default times for Real Time Interval and Archive Interval.

    1. Click Start to start data logging.
    2. Click Apply.
  5. Click OK.
Back to Top

Prerequisite configuration settings for HDS

Before ViPR can collect statistical information for HDS storage ports, you must create a new user in the Storage navigator and enable performance logging for the HDS storage arrays.

Back to Top

Enable performance data logging of HDS storage arrays in Storage Navigator

Before you can set up the metrics-based port selection for HDS, you must enable performance data logging for the HDS storage arrays in Storage navigator so that ViPR can collect statistical information about the storage ports.

Procedure

  1. Log into the Storage navigator.
  2. Select Performance Monitor.
  3. Click Edit Monitor Switch.
  4. Enable Monitor Switch.
  5. Set the Sample Interval.
Back to Top

Create a new user using the Storage navigator on HDS

To collect statistics using the embedded SMI-S provider, you must create a new user using the Storage Navigator on the Hitachi storage array.

Procedure

  1. Log into the Storage Navigator.
  2. Select Administrator.
  3. Click User Groups.
  4. Select Storage Administrator (View Only) User Group.
  5. Click Create User.
  6. Note Image
    The username and password must be the same as the HiCommand Device Managercredentials which ViPR uses for discovering the storage provider.

    Type a User Name.
  7. Type a Password.
  8. Type the Account status.
  9. Type the Authentication details.
Back to Top

Enable SMI-S Certificates on Hitachi Arrays

You must enable the certificate on the array to access SMI-S in secure mode..

Please refer to the section, Using the SMI-S function, in the Hitachi Command Suite Administrator guide to enable default or upload new certificates on the array to access SMI-S in secure mode.

Back to Top

Change the port allocation parameters using the UI

System administrators can change the default values of the port allocation parameters by adding a new parameter setting. When you add a new parameter setting, ViPR will use your setting value instead of the default value.

Before you begin

The following parameters can be changed:
  • Initiator Ceiling = Maximum number of initiators that can use the port before new allocations are not allowed.
  • Volume Ceiling = Maximum number of volumes that can use the port before new allocations are not allowed.
  • Port Utilization Ceiling = Maximum average port percent busy value (from 0 - 100%) before new allocations are not allowed.
  • CPU Utilization Ceiling = Maximum average CPU percent busy value (from 0 - 100%) before new allocations are not allowed.
  • Days To Average Utilization = The sample averaging time in days (1 -30 days) . Default is one day.
  • Weight For Exponential Moving Average = The EMA weight for the current sample. The EMA weight is greater than zero and less than or equal to 1.0. A value of 1.0 uses only the current averaging period.
  • Metrics Enabled
    Note Image
    CPU percent busy is not calculated for HDS

    • true = use collected metrics and calculate Port percent busy and CPU percent busy.
    • false = only use the number of initiators and the number of volumes to allocate ports; ignore the collected metrics and do not calculate Port percent busy and CPU percent busy.

For further information on the parameters and how they are used to allocate ports, see Understanding Metrics-Based Port Selection in ViPR.

Procedure

  1. Log into the ViPR UI with System Administrator privileges.
  2. Select Physical Assets > Controller Config
  3. Select Port Allocation.
  4. Select the port allocation parameter that you want to change.
  5. Click Add.
  6. Select the Scope Type.
  7. Select the Scope Value.
  8. Type the value of the parameter.
  9. Click Save.
Back to Top