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 # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  27 #
  28 
  29 # COMSTAR TARGET TYPE
  30 TARGET_TYPE=FC
  31 
  32 # TEST LOG Directory
  33 LOGDIR=/var/tmp/comstar_log/fc
  34 
  35 # EXPECT location
  36 EXPECT=/usr/bin/expect
  37 
  38 # FC INITIATOR HOST
  39 # example: FC_IHOST="10.13.49.49"
  40 FC_IHOST=
  41 
  42 # ZPOOL NAME
  43 ZP=comstar
  44 
  45 # Block DEVICE SLICE LIST. The total size of these slices should be larger
  46 # than 8G by default.
  47 # example: BDEVS="/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s7"
  48 BDEVS=
  49 
  50 # Raw DEVICE SLICE LIST.The total size of these slices should be larger
  51 # than 8G by default.
  52 # example: RDEVS="/dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s7"
  53 RDEVS=
  54 
  55 # TIMEOUT for local or remote command line execution, default 180 seconds
  56 TIME_OUT=180
  57 
  58 # ZFS Volume Number for Stress Testing, default 8
  59 VOL_MAX=8
  60 # ZFS Volume Size for Stress Testing, default 1g
  61 VOL_SIZE=1g
  62 # FAULT INJECTION Mapping configuration, if set 0, each LUN is mapped to 
  63 # only one initiator host group
  64 # if set 1, each LUN is mapped to all the initiator host group 
  65 FULL_MAPPING=0
  66 # STANDALONE is 0, all the verification is running on target host
  67 STANDALONE=0
  68 
  69 # Fault Injection Parameters for SWITCH CABLE PULL              
  70 # $1: Switch Type, CISCO is supported
  71 # $2: Switch IP Address
  72 # $3: Administrator Username
  73 # $4: Administrator Pasword
  74 # $5: Switch Port Number
  75 # example: FC_TARGET_SWITCH_PORT="QLOGIC:10.13.49.17:admin:password:4,5"
  76 FC_TARGET_SWITCH_PORT=
  77 
  78 # Fault Injection Arguments for luxadmlip
  79 # number of seconds, default 131
  80 LIP_MODVAL=131
  81 # number of seconds for upper boundary, default 120
  82 LIP_UPPERBNDRY=120
  83 # number of seconds for lower boundary, default 90
  84 LIP_LOWERBNDRY=90
  85 # max number of cycles, defualt 30
  86 LIP_MAX_ITER=10
  87 
  88 # number of seconds between host side cable pull and target side cable pull 
  89 # with I/O operation, default 300
  90 TS_SNOOZE=300
  91 # number of seconds between stmf smf service online and offline, default 10 
  92 SS_SNOOZE=10
  93 # number of seconds between fc target port online and offline, default 20 
  94 FT_SNOOZE=20
  95 # number of cycles of test to run, default 2
  96 TS_MAX_ITER=2
  97