SAN

From pressy's brainbackup
Jump to: navigation, search

SAN

never forget to set you SAN settings....


into /etc/system
* SCSI TimeOut & Queue-Depth
set ssd:ssd_io_time = 0x3c
set ssd:ssd_max_throttle=6
set zfs:zfs_vdev_max_pending = 6

Queue formula: 256 ÷ (LUNs per adapter)


MPxIO load balancing is more efficient with the "logical block" option with storage using a pre-fetch cache algorithm like HDS does and might improve your performance. It is set in the /kernel/drv/scsi_vhci.conf. The Syntax has to be exactly, docu says "VID field should contain exactly eight bytes of left-adjusted ASCII characters. If VID is less than 8 characters, it should be padded with spaces (ASCII 0x0a) to 8 characters." So the Product ID in the device string must start at the "9th" character, or you will use the default round-robin load balancing.

device-type-mpxio-options-list =
"device-type=HITACHI OPEN-V -SUN", "load-balance-options=logical-block-options",
"device-type=HITACHI DF600F", "load-balance-options=logical-block-options";
logical-block-options="load-balance=logical-block", "region-size=17";

region-size vs. blocks: 15 == 2^15 = 32768 ~ 16MB 16 == 2^16 = 65536 ~ 32MB 17 == 2^17 = 131072 ~ 64MB 18 == 2^18 = 262144 ~ 128MB

# mpathadm show lu  /dev/rdsk/c16t60060E8018360C000001390E0000219Bd0s2 | grep Balance
        Current Load Balance:  logical-block


More Infos @ MOS: Doc ID 1586710.1 Doc ID 1017714.1