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

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.

Products Affected

Promise VTrak, Promise VTrak RAID and Expansion Chassis

This article has been archived and is no longer updated by Apple.

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.


#Begin Copy
#
# Promise VTrak E-Class configuration script
#
# Script Name: SAS-connected Expansion Chassis: Xsan (Data Only)
#
# Script Details: builds 3 LUNs from 16 drives (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 3 thru 5
#
#array -a del -d 3
#array -a del -d 4
#array -a del -d 5
#
# Build Data3 LUN
# RAID level: 5
# Physical Drives: 17, 18, 21, 22, 25, 26
# Alias: Data3
# Controller Affinity: 2
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Ahead, Write Back
#
array -a add -p 17,18,21,22,25,26 -s "alias=Data3" -c 1 -l "alias=Data3, raid=5, readpolicy=readahead, writepolicy=writeback, preferredctrlid=2"
#
# Build Data4 LUN
# RAID level: 5
# Physical Drives: 19, 20, 23, 24, 27, 28
# Alias: Data4
# Controller Affinity: 1
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Ahead, Write Back
#
array -a add -p 19,20,23,24,27,28 -s "alias=Data4" -c 1 -l "alias=Data4, raid=5, readpolicy=readahead, writepolicy=writeback, preferredctrlid=1"
#
# Build Scratch2 LUN
# RAID level: 5
# Physical Drives: 29, 30, 31
# Alias: Scratch2
# Controller Affinity: 2
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Ahead, Write Back
#
array -a add -p 29,30,31 -s "alias=Scratch2" -c 1 -l "alias=Scratch2, raid=5, readpolicy=readahead, writepolicy=writeback, preferredctrlid=2"
#
# Set up global spares
# Physical Drives: 32
# Type: Global spares, Revertible
#
spare -a add -p 32 -t g -r y
#
# Perform Quick Init on all LUNs
# Note: Ensure any stale filesystem data is destroyed
#
init -a start -l 3 -q 100
init -a start -l 4 -q 100
init -a start -l 5 -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
Ask other users about this article
in Apple Support Communities
See all questions on this article See all questions I have asked