Promise VTrak: Third SAS-connected Expansion Chassis Only: Xsan (Data Only) configuration script

  • Last Modified: June 05, 2009
  • Article: HT3601

Summary

This article contains a script used to configure Promise VTrak SAS-connected Expansion Chassis for Xsan. This script is used in the event that a Promise VTrak RAID Controller has already been configured for use with Xsan, and that an Expansion Chassis is being connected to the already-configured RAID Controller.

To create the configuration script, copy the text below beginning with the line "#Begin Copy" to the line "#End Copy" and paste the text into TextEdit, using these guidelines.

Once you've created the script, follow the guidelines in this article to import the configuration script.

Products Affected

Promise VTrak

#Begin Copy

#

# Promise VTrak E-Class configuration script

#

# Script Name: Third SAS-connected Expansion Chassis: Xsan (Data Only)

# Script Version: 2.0 (06/01/09)

#

# Script Details:     builds 3 LUNs from 16 drives (Third expansion unit)

#               in the recommended configuration for use with Xsan 2

#

# Script Assumptions: no arrays or logical drives created

#                     (uncomment out array deletion if needed)

#                     script works with either SATA or SAS configurations

#

# Global controller settings

# LUN Affinity:             enabled [required]

# Adaptive Writeback Cache: enabled [optional]

# Host Cache Flushing:      disabled [optional]

# Forced Read Ahead:        enabled [optional]

#

#ctrl -a mod -i 1 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=enable"

#ctrl -a mod -i 2 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=enable"

#

# Delete any existing arrays

# Delete array 9 thru 11

#

#array -a del -d 9

#array -a del -d 10

#array -a del -d 11

#

# Build Data5 LUN
# RAID level:            5
# Physical Drives:       49, 50, 53, 54, 57, 58
# Alias:                 Data7
# Controller Affinity:   1
# Configuration options: Capacity all (default), 64K stripe size (default),
#                        512K sector (default), Read Ahead, Write Back
#
array -a add -p 49,50,53,54,57,58 -s "alias=Data7" -c 1 -l "alias=Data7,raid=5,readpolicy=readahead,writepolicy= writeback,preferredctrlid=1"
#
# Build Data6 LUN
# RAID level:            5
# Physical Drives:       51, 52, 55, 56, 59, 60
# Alias:                 Data8
# Controller Affinity:   2
# Configuration options: Capacity all (default), 64K stripe size (default),
#                        512K sector (default), Read Ahead, Write Back
#
array -a add -p 51,52,55,56,59,60 -s "alias=Data8" -c 1 -l "alias=Data8,raid=5,readpolicy=readahead,writepolicy= writeback,preferredctrlid=2"
#
# Build Audio/Scratch2 LUN
# RAID level:            5
# Physical Drives:       61, 62, 63
# Alias:                 Scratch4
# Controller Affinity:   2
# Configuration options: Capacity all (default), 64K stripe size (default),
#                        512K sector (default), Read Ahead, Write Back
#
array -a add -p 61,62,63 -s "alias=Scratch4" -c 1 -l "alias=Scratch4,raid=5,readpolicy=readahead,writepolicy= writeback,preferredctrlid=1"
#
# Set up global spares
# Physical Drives: 64
# Type:            Global spares, Revertible
#

spare -a add -p 64 -t g -r y
#
# Perform  Init on all  new LUNs
#
init -a start -l 9 -q 100
init -a start -l 10 -q 100
init -a start -l 11 -q 100

#

# END

#

#End Copy

Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.

Not helpful Somewhat helpful Helpful Very helpful Solved my problem