1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 # COMSTAR TARGET TYPE
  28 TARGET_TYPE=ISCSI
  29 
  30 # Transport Type
  31 # SOCKETS       ie. only SOCKETS transportation
  32 # ISER          ie. only ISER transportation
  33 # ALL           ie. Both SOCKETS and ISER transportation
  34 TRANSPORT=ALL
  35 
  36 # TEST LOG Directory
  37 LOGDIR=/var/tmp/comstar_log/iscsi
  38 
  39 # EXPECT location
  40 EXPECT=/usr/bin/expect
  41 
  42 # ISCSI INITIATOR HOST IP ADDRESS
  43 # example: ISCSI_IHOST="172.20.236.163"
  44 ISCSI_IHOST=
  45 
  46 # ISCSI TARGET HOST IP ADDRESS
  47 # example: ISCSI_THOST="172.20.236.161"
  48 ISCSI_THOST=
  49 
  50 # ISNS SERVER HOST IP ADDRESS
  51 # example: ISNS_HOST="172.20.236.163"
  52 ISNS_HOST=
  53 
  54 # RADIUS SERVER HOST IP ADDRESS
  55 # example: RADIUS_HOST="172.20.236.163"
  56 RADIUS_HOST=
  57 
  58 # ZPOOL NAME
  59 ZP=comstar
  60 
  61 # Block DEVICE SLICE LIST. The total size of these slices should be larger
  62 # than 8G by default.
  63 # example: BDEVS="/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s7"
  64 BDEVS=
  65 
  66 # Raw DEVICE SLICE LIST.The total size of these slices should be larger
  67 # than 8G by default.
  68 # example: RDEVS="/dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s7"
  69 RDEVS=
  70 
  71 # TIMEOUT for local or remote command line execution, default 180 seconds
  72 TIME_OUT=180
  73 
  74 # ZFS Volume Number for Stress Testing, default 8
  75 VOL_MAX=8
  76 # ZFS Volume Size for Stress Testing, default 1g
  77 VOL_SIZE=1g
  78 # ISCSI Target Node Number for Fault Injection Testing, default 2
  79 TARGET_MAX=2
  80 # Sessions Maximum of ISCSI Initiator support
  81 SESSION_MAX=4
  82 # FAULT INJECTION Mapping configuration, if set 0, each LUN is mapped to 
  83 # only one initiator host group
  84 # if set 1, each LUN is mapped to all the initiator host group 
  85 FULL_MAPPING=1
  86 # STANDALONE is 0, all the verification is running on target host
  87 STANDALONE=0
  88 
  89 # Fault Injection Parameters for ISCSI SWITCH CABLE PULL
  90 # $1: Switch Type, CISCO is supported
  91 # $2: Switch IP Address
  92 # $3: Administrator Username
  93 # $4: Administrator Pasword
  94 # $5: Switch Port Number
  95 # example:
  96 # ISCSI_TARGET_SWITCH_PORT="CISCO:127.0.0.1:super:super:1,2 CISCO:127.0.0.2:super:super:3"
  97 ISCSI_TARGET_SWITCH_PORT=
  98 
  99 # Fault Injection Parameters for ISER SWITCH CABLE PULL
 100 # $1: Switch Type, TOPSPIN is supported
 101 # $2: Switch IP Address
 102 # $3: Administrator Username
 103 # $4: Administrator Pasword
 104 # $5: Switch Port Number
 105 # example:
 106 # TOPSPIN 120: ISER_TARGET_SWITCH_PORT="TOPSPIN:127.0.0.1:super:super:4,5"
 107 # TOPSPIN 360: ISER_TARGET_SWITCH_PORT="TOPSPIN:127.0.0.1:super:super:16/4,16/5"
 108 ISER_TARGET_SWITCH_PORT=
 109 
 110 # FAULT INJECTION TEST REQUIREMENT FOR MPXIO DISABLE
 111 # number of seconds between host side cable pull and target side cable pull 
 112 # with I/O running, default 24
 113 TS_SNOOZE=24
 114 # number of seconds between stmf smf service online and offline operation
 115 # with I/O running, default 10 
 116 SS_SNOOZE=10
 117 # number of seconds between iscsi target port online and offline
 118 # without I/O operation, defalt 24
 119 FT_SNOOZE=24
 120 # number of cycles of test to run, default 2
 121 TS_MAX_ITER=2
 122 
 123 # FAULT INJECTION TEST REQUIREMENT FOR MPXIO ENABLE
 124 # number of seconds for enabled mpxio failover, must large than 180 seconds
 125 # due to that iscsi connection retry happens for I/O failure within 180 seconds 
 126 # by default. Once retry beyonds 180 seconds, mpxio will receive the path failure.
 127 FO_SNOOZE=240
 128 # number of cycles of test to run for failover, default 2
 129 FO_MAX_ITER=2
 130 
 131 # I/O Read/Write Running Duration on diverse backing store
 132 FS_SECONDS=300
 133