A P P E N D I X  D

Configuring In-Band Management for RAID Arrays

Setting up the array for in-band management is outlined in the following sections:


About In-Band Management for RAID Arrays

The management host typically communicates with RAID arrays over the network. If the RAID array does not have access to a network, or if the network address of the RAID array is unknown, CAM can communicate with the RAID array by using an in-band RAID array proxy.

In-band management uses a proxy agent running on a data host which is directly connected to a RAID array (FC or SAS). Sun Storage Common Array Manager (CAM) discovers the proxy agents on the subnet and then queries arrays registered with the software. The proxy agent receives the queries over the network and passes them on to the array over the data path between the data host and the array.

New arrays can be registered with the software using the CAM registration wizard. You can register the RAID array either by selecting auto discovery (if the data host is on the same subnet), or by providing the data host’s IP address. Once an array is discovered and registered, management of that array is identical to any out-of-band managed RAID array. If the RAID array is managed in-band, the Network Address column on the CAM Storage System Summary page lists In-band after the address.



Note - CAM typically manages a RAID array directly over the network (out-of-band). After CAM discovers and registers the RAID array via the in-band RAID array proxy data host, CAM checks if the RAID array can be directly contacted over the network based on the network configuration on the RAID array controllers. If CAM can directly communicate to the RAID array, CAM switches management to the out-of-band connection. If CAM cannot directly communicate to the RAID array over the network, it continues using the in-band RAID array proxy connection.


About the RAID Array Proxy Agent

The in-band management proxy agent is a package that is added to a host (or group of hosts) with in-band connectivity via Fibre Channel to the storage array. An external management station can then talk to this proxy host via an out-of-band connection and the management commands are then relayed to the storage device via the in-band path. This is a transparent proxy agent which simply converts the RPC request packets to UTM SCSI- specific messages. The API Sun Storage Common Array Manager uses to manage the arrays is identical whether the array is managed via the in-band or out-of-band path.

The RAID array proxy agent is located in the Add_On/RaidArrayProxy directory and is delivered with the other Sun Storage Common Array Manager installation files. See Download Sun Storage Common Array Manager Software and Patches for information about getting the software.

LUN Mapping

In-band management uses a special access LUN mapping to facilitate communications between the management software and the storage array. You can view all mappings on the array on the Mapping Summary Page in CAM. For in-band communication, an access volume is mapped to LUN 31. This special access LUN (also called the UTM LUN) is mapped to the default domain. (All arrays have a default domain for volumes not registered with a storage domain.)

With new arrays, the mapping of the access LUN to the default domain is installed at the factory. If you lose this mapping, before installing in-band, use out-of-band management and the Common Array Manager software to re-map the access LUN to the default domain. See the Online Help in the software for more information about mapping.

Sun Storage Common Array Manager supports Solaris Sparc and x86, Windows, and Linux for in-band management. For Red Hat Enterprise Linux AS, Release 5.1 or higher is required. Check the Sun Storage Common Array Manager Release Notes for the latest list of packages to install.


Configuring In-Band Management for RAID Arrays

Prerequisite: Download the RAID Proxy Agent package for your OS located in the Add_On/RaidArrayProxy directory of the latest CAM software distribution.

1. Connect two in-band (FC) cables between HBAs on the data host where the proxy is to be installed and the array (one cable to each controller).

2. Install the SMruntime and SMagent packages on the proxy host, using the pkgadd command in Solaris and rpm command in Linux.

pkgadd -d <directory or disk-directory> SMruntime-SOL-xx.xx.xx.xx.pkg
pkgadd -d <directory or disk-directory> SMagent-SOL-xx.xx.xx.xx.pkg
rpm -ivh SMruntime.xx.xx.xx.xx-xxxx.rpm
rpm -ivh SMagent-LINUX-xx.xx.xx.xx-xxxx.rpm

3. Solaris only--to verify that the host sees the access LUN to manage the array via the in-band path, perform the following commands on the data host:

setenv LD_LIBRARY_PATH /opt/SMgr/agent
java -classpath /opt/SMgr/agent/SMagent.jar 		devmgr.versioned.agent.DeviceIdentifier | grep "Volume Access"

The arrays with access LUNs visible to the agent will display as follows:

/dev/rdsk/c5t200600A0B82458D4d31s2 [Storage Array fms-lca1, VolumeAccess, LUN 31, Volume ID <600a0b80002458d20000000000000000>]
/dev/rdsk/c5t200700A0B82458D3d31s2 [Storage Array fms-lca1, VolumeAccess, LUN 31, Volume ID <600a0b80002fc0740000000000000000>]

4. Verify that the Proxy Agent is running. If necessary, check the SMagent process and restart in /opt/SMgr/agent/SMagent.

5. To start the agent, perform this command in Solaris or its equivalent: /opt/SMgr/agent/SMagent start

If the agent was running, it will stop and then restart after a status check.

6. Check the process status:

# ps -ef | grep SMagent | grep -v grep
/opt/SMgr/agent/jre/bin/java -classpath
/opt/SMgr/agent/SMagent.jar devmgr.launch

7. Sign in to the software and begin configuring as described in Initial Array Set Up.

After the registration process discovers arrays, they display on the Storage System Summary page. The Network Address field displays whether the connection with each array is in-band or out-of-band. The Common Array Manager software can manage arrays with either in-band and out-of-band connections at the same time.


Copying Configuration Files and In-Band Management

If you copy a configuration file to a management host that will have in-band communication with the array, you need to preserve the mapping between the access LUN and the management host using the import array command with the -n (noclear) option.

import -x <XML-location> [ -L <list> ] [ -n ] array <array-name>

The import command typically applies an array configuration file to the specified array. The -n option preserves the current array configuration, including the mapping between the access LUN (LUN 31) and the default domain of the management host. This mapping is required for in-band management of the array.

OPTIONS

-x,--xml <XML-location>

Specifies the location of the XML file to be imported. The XML location can be in the form of a URL (http://... or file:///...) or a file name.

-L,--list

Specifies that no import take place. Instead, the array is checked against the XML file to ensure that it is compatible.

-n,--noclear

Specifies that the current array configuration will not be cleared.

array <array-name>

Specifies the array to which the configuration file is applied.


Known RAID Array Proxy Agent Limitations

A proxy agent restart is required after disruptive changes to the storage configuration. This does not apply to changes in volumes exposed from a single array, but it does apply if storage arrays are re-cabled differently or if the storage array configuration has changed (i.e., adding new storage arrays to the configuration).

The in-band proxy agents will start when the host boots, but the agents will terminate if storage is not immediately seen. A restart of the agent (instructions below) will force a re-scan for storage arrays and, if any are found, the agent will remain running.

Solaris: Checking the UTM LUNs and Start/Stop of the Proxy Agent

To verify the host sees the arrays management (UTM) LUN, do the following:

1. Restart the agent (Solaris):

# /opt/SMgr/agent/SMagent start

If the agent is running, this will stop and then restart it.

2. Check the status of the agent:

# ps -ef | grep SMagent | grep -v grep

root 5144 1 0 11:58:24 pts/3 0:01 /opt/SMgr/agent/jre/bin/java -classpath

/opt/SMgr/agent/SMagent.jar devmgr.launch

Linux: Checking the UTM LUNs and Start/Stop of the Proxy Agent



Note - The SMagent requires Red Hat 5.1 (also known as “5 update 1”) or higher. It is not supported on Red Hat 5.0.




Note - This information applies only to RAID arrays.


To verify the host sees the array management (UTM) LUN:

1. Restart the agent:

# /opt/SMgr/agent/SMagent start

Stopping Agent process 12632.

SMagent started.

# SANtricity Storage Array Host Agent, Version 09.17.A0.03

Built Tue Dec 05 14:52:38 CST 2nnn

Copyright (C) 1999-2006 LSI Logic Corporation. All rights reserved.

Checking device /dev/sda (/dev/sg0): Skipping

Checking device /dev/sdb (/dev/sg1): Skipping

Checking device /dev/sdc (/dev/sg2): Activating

Running...

2. Check for UTM LUN:

# java -classpath /opt/SMgr/agent/SMagent.jar devmgr.versioned.agent.DeviceIdentifier | grep “Volume Access” /dev/sdc

(/dev/sg2) [Storage Array fms-lca1, Volume Access, LUN 31, Volume ID <600a0b80002fc0740000000000000000>]

Windows: Checking the UTM LUNs and Start/Stop of the Proxy Agent

To verify the host sees the arrays management (UTM) LUN, do the following:

1. Restart the agent:

E:\Program Files (x86)\StorageManager\agent>net start “SANtricity Storage Manager Agent”

The Storage Manager Agent service is starting.

The Storage Manager Agent service was started successfully.

2. Check for UTM LUN:

E:\Program Files (x86)\StorageManager\agent>C:\Java\jdk1.5.0_11\bin\java -classpath SMagent.jar devmgr.versioned.agent.DeviceIdentifier | findstr Access

\\.\PHYSICALDRIVE0 [Storage Array fms-lca1, Volume Access, LUN 31, Volume ID <600a0b80002458d20000000000000000>]

\\.\PHYSICALDRIVE1 [Storage Array fms-lca1, Volume Access, LUN 31, Volume ID <600a0b80002fc074