Promise VTrak:RAID コントローラ - 直接接続のメール保存先の構成スクリプト

この記事では、Promise RAID コントローラを、直接接続のストレージに構成するスクリプトを紹介します。これは、Mac OS X Server のメール保存先として使うための構成です。

構成スクリプトを作成するには、以下のテキストにある「#Begin Copy」から「#End Copy」の間の行をコピーし、こちらのガイドライン にそって「テキストエディット」にそのテキストをペーストします。スクリプトを作成した後、こちらの記事 のガイドラインにそって、構成スクリプトを読み込みます。


#Begin Copy
#
# Promise VTrak E-Class configuration script
#
#
#
# Script Details: builds 3 RAID 10 LUNs, 1 RAID 1 LUN, and 2 Hot Spares from 16 drives (head unit only)
# for usage as a direct attached mail store
# 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, recommended]
# Host Cache Flushing: disabled [optional, recommended]
# Forced Read Ahead: disabled [optional, recommended]
#
ctrl -a mod -i 1 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=disable"
ctrl -a mod -i 2 -s "lunaffinity=enable, adaptivewbcache=enable, hostcacheflushing=disable, forcedreadahead=disable"
#
# Delete any existing arrays
# Delete array 0 thru 3
# Note: uncomment out delete array commands to delete any existing LUNs;
# all physical drives must be available for script to run
# successfully
#
#array -a del -d 0
#array -a del -d 1
#array -a del -d 2
#array -a del -d 3
#spare -a del -i 0
#spare -a del -i 1
#
# Build MailStore1 LUN
# RAID level: 10
# Physical Drives: 1, 2, 5, 6
# Alias: MailStore1
# Controller Affinity: 1
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
array -a add -p 1,2,5,6 -s "alias=MailStore1" -l "alias=MailStore1,raid=10,readpolicy=readcache,writepolicy=writeback,preferredctrlid=1"
#
# Build MailStore2 LUN
# RAID level: 10
# Physical Drives: 3, 4, 7, 8
# Alias: MailStore2
# Controller Affinity: 2
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
array -a add -p 3,4,7,8 -s "alias=MailStore2" -l "alias=MailStore2,raid=10,readpolicy=readcache,writepolicy=writeback,preferredctrlid=2"
#
# Build MailStore3 LUN
# RAID level: 10
# Physical Drives: 9, 10, 13, 14
# Alias: MailStore3
# Controller Affinity: 1
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
array -a add -p 9,10,13,14 -s "alias=MailStore3" -l "alias=MailStore3,raid=10,readpolicy=readcache,writepolicy=writeback,preferredctrlid=1"
# Build MailQueue LUN
# RAID level: 1
# Physical Drives: 11, 12
# Alias: MailQueue
# Controller Affinity: 2
# Configuration options: Capacity all (default), 64K stripe size (default),
# 512 byte sector (default), Read Cache, Write Back
#
array -a add -p 11,12 -s "alias=MailQueue" -c 1 -l "alias=MailQueue,raid=1,readpolicy=readcache,writepolicy=writeback,preferredctrlid=2"
#
# Set up global spares
# Physical Drives: 15, 16
# Type: Global spares, Revertible
#
spare -a add -p 15 -t g -r y
spare -a add -p 16 -t g -r y
#
# Perform Quick Init on all LUNs
# Note: Ensure any stale filesystem data is destroyed
#
init -a start -l 0 -q 100
init -a start -l 1 -q 100
init -a start -l 2 -q 100
init -a start -l 3 -q 100
#
# END
#
#End Copy

メール保存先の詳しい設定方法については、『Mail Service Administration Guide』を参照してください。

公開日: