Contents

Introduction

Prerequisites

Terminating USRM/VRSM instances before disabled Consistency check

Downloading the utility.

Commands for RedHat/Linux

ESXi Instructions

Installation on VMware ESXi 5.x

Commands for VMware Vsphere

Introduction

This document describes the steps to disable the Redundant Array of Individual Disks (RAID) controller Consistency Check on LSI RAID Controllers which can negatively impact some applications with strict Input/Output (I/O) requirements.  Once such group of applications with demanding I/O requirements is Universal Session and Resource Manager / Videoscape Session Resource Manager (USRM/VSRM).  Due to the potential I/O wait impact to these applications that can occur while consistency checks are running, it is recommended to disable Consistency Checks on all virtual drives/raid volumes.  See CSCuw01134

Prerequisites

Cisco Unified Computing System (UCS) M3 Rack servers with LSI 92XX model Raid controllers.

Disabling Consistency Check will require a maintenance window for the USRM/VSRM application.

Terminating USRM/VRSM instances before disabled Consistency check

There are up to 8 instances of USRM/VSRM on a UCS C220.  Each instance will need to be terminated prior to executing the procedure for disabling Consistency Check.  When the Consistency Check procedure is complete each instance will have to be restarted manually.

Note: The 2 processes below should be included in a high level Method of Procedure (MOP) written for the individual customer systems / requirements.  For example: the MOP will include coordination of server failover and failback to minimize customer impact.  Each customer may have different requirements that are addressed in the MOP.

To Terminate the USRM/VSRM software follow these steps.  Note: These steps need to be completed for each instance of USRM/VSRM.

1. Open the USRM/VSRM Web User Interface (UI) in a Browser

2. Navigate to the Reset Page

3. Set ServerState to “Terminate” using the drop down box.

4. Click the Commit Changes button.

Result: The USRM/VSRM software will Terminate and not restart.

Once the process to disable Consistency Check is complete, each instance of USRM/VSRM will need to be started manually.  Follow these steps for each instance of USRM/VSRM.

1. Open and SSH session to the USRM/VSRM.

2. Navigate to the proper directory

1. For USRM: /opt/usrm

2. For VSRM: /common/usrm

3. Execute the command to start the USRM/VSRM:  ./usrm --<option (auto or supervised)> -d

1. Example of supervised mode: ./usrm --supervised –d

2. Example of auto mode: ./usrm --auto –d

Note: There are 2 dashes before the option and 1 dash before the “d” parameter.

Result: the USRM/VSRM software will start and begin processing requests.

Downloading the utility.

Download the StorCli Utility http://docs.avagotech.com/docs/12351437

The StorCLI zip file will have folders with install files for different Operating System (OS) platforms.

Installation on RedHat Linux

Extract the storcli rpm file from the /StorCli_All_OS/Linux/ folder in the zip file, and install:

# rpm -ivh <StorCLI-x.xx-x.noarch.rpm>

Commands for RedHat/Linux

Change to the folder where storcli64 executable file was installed to, typically /opt/MegaRAID/storcli/

#cd /opt/MegaRAID/storcli

Check to make sure no consistency checks are currently in progress

storcli]#./storcli64 /c0 /vall show cc

VD Operation Progress% Status

---------------------------------------

0 CC - Not in progress <<<<<<<<<<<

1 CC - Not in progress <<<<<<<<<<<

From the output above, if any of the VDs show anything other than ‘Not in progress’, then issue the command to stop any consistency checks running:

./storcli64 /c0/vall stop cc

Issue the command to disable consistency checks from being run in the future:

./storcli64 /c0 set cc=off

Confirm that consistency checks have been disabled:

./storcli64 /c0 show cc

Controller Properties :

=====================

-----------------------------------------------

Ctrl_Prop Value

-----------------------------------------------

CC Operation Mode Disabled <<<<<<<<<<<<<<<<

CC Execution Delay 0

CC Next Starttime 06/20/1999, 19:00:00

CC Current State Stopped

CC Number of iterations 0

CC Number of VD completed 0

CC Excluded VDs None

Confirm the CC Operation Mode line shows ‘Disabled’

ESXi Instructions

If circumstances require disabling consistency checks in Vmware ESXi environments, the StorCLI utility install process is different, but the storcli command syntax is the same.  Secure Shell (SSH) is disabled by default in vSphere, you will need to enable SSH before attempting to open a SSH terminal with the host.

Installation on VMware ESXi 5.x

Extract/copy the vmware-esx-storcli-xxxxxx.vib file from the /StorCli_All_OS/Vmware-MN/ folder in the zip file.

Copy the vmware-esx-storcli-xxxxxx.vib file to the ESXi host’s local file system, into the /tmp folder.

Now run the esxcli command to install it.

# esxcli software vib install -v "/tmp/vmware-esx-storcli-xxxxxx.vib" –no-sig-check

Commands for VMware Vsphere

Change to the folder where the Storcli executable was installed to, typically /opt/lsi/storcli

#cd /opt/lsi/storcli

Please note the ESXi storcli executable is storcli

Check to make sure no consistency checks are currently in progress

storcli]#./storcli /c0 /vall show cc

VD Operation Progress% Status

---------------------------------------

0 CC - Not in progress <<<<<<<<<<<

1 CC - Not in progress <<<<<<<<<<<

From the output above, if any of the VDs show anything other than ‘Not in progress’, then issue the command to stop any consistency checks running:

./storcli /c0/vall stop cc

Issue the command to disable consistency checks from being run in the future:

./storcli /c0 set cc=off

Confirm that consistency checks have been disabled:

./storcli /c0 show cc

Controller Properties :

=====================

-----------------------------------------------

Ctrl_Prop Value

-----------------------------------------------

CC Operation Mode Disabled <<<<<<<<<<<<<<<<

CC Execution Delay 0

CC Next Starttime 06/20/1999, 19:00:00

CC Current State Stopped

CC Number of iterations 0

CC Number of VD completed 0

CC Excluded VDs None

Confirm the CC Operation Mode line shows ‘Disabled’