Professional Documents
Culture Documents
User Guide
Description
Initial release. Updated installation requirements. Updated installation instructions and Queue Depth section. Updated installation requirements to include support for IBM AIX 6.1. Updated Dynamic Tracking section to include new guidance about the 15-second failover limit on volumes. Clarified Dynamic Tracking; applied Dell branding. Updated installation requirements to indicate that Storage Center 4.1 and above is supported.
Disclaimers
Information in this document is subject to change without notice.
Contents
Dell Compellent
iii
Contents
iv
Multiple Path IO Overview 2 Before You Begin 3 Installing MPIO Manager for IBM AIX Servers 5 Accessing Volume and Device Information 7 Uninstalling the Dell Compellent MPIO Manager 8
Dell Compellent
System Requirements
The following table lists the requirements for using Storage Center MPIO Manager for IBM AIX servers. Requirement
Operating System
Description
IBM AIX 5.2 ML1 SP0 (5200-01-00), IBM 6228 HBA IBM AIX 5.3 ML8 SP2 (5300-08-02), IBM 5759 HBA IBM AIX 6.1 TL 6100-02-01, IBM 5759 4-Gb dual-port fibre channel PCI-X 2.0 DDR Adapter 4.1 and above 4.1.2 or later for queue depth settings
Storage Center
Disks
Fibre channel -- multipathing across iSCSI interfaces is not supported. Note: Queue depth settings require Storage Center 4.1.2 or later. For iSCSI disks the Object Data Manager (ODM) path control module must be installed to enable a queue depth greater than one.
Device Drivers
Then
Before mapping the server to the Storage Center:
1 Install the Dell Compellent MPIO Manager for IBM AIX Servers. See Installing MPIO Manager for IBM AIX Servers on page 5 for instructions. 2 Reboot the IBM AIX server. 3 Map the server to the Storage Center.
Dell Compellent
Then
Before mapping the server to the Storage Center:
1 Install the Dell Compellent MPIO Manager for IBM AIX Servers. See Installing MPIO Manager for IBM AIX Servers on page 5 for instructions. 2 Reboot the IBM AIX server. 3 Map the server to the Storage Center. Note: Brocade Fabric OS (FOS) version 6.3.0a has persistent PID. However, known fabric login issues have been identified in this version. FOS version 6.4 or later is recommended.
1 Enable Dynamic Tracking in the IBM AIX server fibre channel interface. See Enabling Dynamic Tracking in the IBM AIX Fibre Channel Interface on page 9 for instructions. 2 Install the Dell Compellent MPIO Manager for IBM AIX Servers. See Installing MPIO Manager for IBM AIX Servers on page 5 for instructions. 3 Reboot the IBM AIX server. 4 Map the server to the Storage Center. Caution: Because dynamic tracking has a 15-second hold IO limitation, which in some cases is not long enough to complete a Storage Center controller failover, enabling dynamic tracking works only when the controller failover completes within 15 seconds.
Invoke the $ oem_setup_env command to enter the superuser shell of the VIO server (ioscli). Within the VIO server super shell, use the # installp command to install the MPIO Manager as described below.
3 Copy Compellent_SC.1.0.0.n.bff, where n is the build number, to the IBM AIX machine. 4 Install the package using the installp command. For example:
# installp ac d Compellent_SC.1.0.0.5.bff all
/usr/lib/boot/protoext/disk.proto.ext.fcp.disk.compellent_sc.rte In addition, the following entries are added to the IBM AIX Object Data Manager (ODM). These entries have the uniquetype values of: disk/fcp/compellent_sc disk/iscsi/compellent_sc
PCM/friend/compellent_sc The installp program will invoke bosboot. This will push ODM records and the protoext file into the IBM AIX boot record.
Dell Compellent
5 Reboot the IBM AIX machine. This is necessary for a Dell Compellent volume to be used in a boot from SAN application. 6 Verify ODM changes by displaying disk details. Instead of a generic label such as Other FC SCSI Disk Drive, the drive should now have a Compellent-specific label as shown below. This state is shown in the output of the lsdev Cc disk command on non- virtualized IBM AIX servers or the #lsdev type disk command on VIOS.
$> lsdev -Cc disk hdisk0 Available 01-08-00-1,0 SCSI Disk Drive hdisk1 Available 01-10-01 Compellent FC SCSI Disk Drive
7 Review the current Dell Compellent AIX Best Practices document you downloaded in Step 2.
To see the paths available to the devices, use the lspath command. For example:
# lspath Enabled hdisk0 scsi0 Enabled hdisk1 scsi0 Enabled hdisk2 fscsi0 Enabled hdisk3 fscsi0 Enabled hdisk2 fscsi1 Enabled hdisk3 fscsi1 Enabled hdisk4 fscsi0 Enabled hdisk4 fscsi1
Note: If a volume has already been mapped to the IBM AIX server before you install the Dell Compellent MPIO Manager, you must remove the device (see Step 1b in the procedure below) and then use the cfgmgr command to scan for the device again.
Dell Compellent
b Remove all devices listed as Compellent FC SCSI Disk Drive. This may involve any of the following procedures: Unmounting any file systems using the disks. Using varyoffvg for any volume groups referencing the disks. Using exportvg for any volume groups referencing the disks. Using rmdev -d -l hdiskn for the hdisk devices.
2 Once all the hdiskn devices have been removed, use # installp to uninstall the package. For example:
# installp -u Compellent_SC
MPIO Manager allows users to adjust common AIX MPIO parameters. This includes enabling dynamic tracking, changing the scheduling algorithm, and adjusting the queue depth. This section explains each parameter and how it can be adjusted. Enabling Dynamic Tracking in the IBM AIX Fibre Channel Interface 10 Scheduling Algorithms 11 Queue Depth 12
Dell Compellent
fc_err_recov delayed_fail
The example above shows that dynamic tracking is disabled (dyntrk has the value no). To enable it, use the following command:
# chdev -l fscsi0 -a dyntrk=yes
If an error is returned that the device is unavailable because the specified device is busy, change the setting of the device in the database. The changes are applied to the device when the system is rebooted. To change the setting of the device in the database, use the -P flag with the chdev command:
# chdev -l fscsi0 -a dyntrk=yes -P
The lsattr command returns a result that reflects the change after the next reboot of the IBM AIX server. The following shows an example where dynamic tracking is enabled (dyntrk has the value yes):
# lsattr -HE -l fscsi0 attribute attach dyntrk fc_err_recov scsi_id sw_fc_class value switch yes delayed_fail 0x670b00 3 description How this adapter is CONNECTED Dynamic Tracking of FC Devices Adapter SCSI ID FC Class for Fabric user_settable False True False True
10
Scheduling Algorithms
Scheduling Algorithms
By default, all paths to Dell Compellent devices are used with a round robin scheduling algorithm for SCSI requests. This section explains round robin and failover algorithms as well as how to change which is used.
Failover Algorithm
In those situations, the algorithm can be changed to a failover algorithm. In the failover algorithm all requests are sent down one path until it fails. At that time an alternative path is chosen and all requests are sent down that path until it fails.
If an error is returned that the device is unavailable because the specified device is busy, change the setting of the device in the database. The changes are applied to the device when the system is rebooted. To change the setting of the device in the database, use the -P flag with the chdev command:
# chdev -l hdiskn -a algorithm=round_robin -P
The change is reflected in the output from the lsattr command after the next reboot of the AIX server.
Dell Compellent
11
Queue Depth
By default, the queue depth is set to 32. This means that up to 32 SCSI requests may be queued via each available path. If two paths are available while the round robin algorithm is being used, then up to 64 requests may be queued at one time. The queue depth can be set to any value from 1 to 256. The best value depends on the Dell Compellent Storage Center configuration, the network between the Dell Compellent Storage Center and the IBM AIX server, and the type of application using the volume. To view the current queue depth setting, issue the following command:
# lsattr -HE -l hdisk2
If an error is returned that the device is unavailable because the specified device is busy, change the setting of the device in the database. The changes are applied to the device when the system is rebooted. To change the setting of the device in the database, use the -P flag with the chdev command:
# chdev -l hdiskn -a queue_depth=16 -P
The change is reflected in the output from the lsattr command after the next reboot of the AIX server.
12
8 Use importvg to import a new volume group definition for each volume group referencing the disks. 9 Use varyonvg to activate each volume group referencing the disks. The volume group is now online for use. 10 Mount any file systems using the volumes. Procedure 2 (reboot required) 1 Copy/Migrate the volume to a newly created volume. 2 When the Copy/Migrate has finished, reboot the AIX server.
Dell Compellent
13
14
680-033-001 G