Project

General

Profile

Feature #644 » scsi_vhci.conf

Richard Elling, 2011-12-28 05:50 PM

 
1
# CDDL HEADER START
2
#
3
# The contents of this file are subject to the terms of the
4
# Common Development and Distribution License (the "License").
5
# You may not use this file except in compliance with the License.
6
#
7
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8
# or http://www.opensolaris.org/os/licensing.
9
# See the License for the specific language governing permissions
10
# and limitations under the License.
11
#
12
# When distributing Covered Code, include this CDDL HEADER in each
13
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14
# If applicable, add the following below this CDDL HEADER, with the
15
# fields enclosed by brackets "[]" replaced with your own identifying
16
# information: Portions Copyright [yyyy] [name of copyright owner]
17
#
18
# CDDL HEADER END
19
#
20
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
21
# Use is subject to license terms.
22
# Copyright (c) by Delphix. All rights reserved.
23
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
24

    
25
#
26
#pragma ident	"%Z%%M%	%I%	%E% SMI"
27
#
28
name="scsi_vhci" class="root";
29

    
30
#
31
# Load balancing global configuration
32
# The term "load-balance" is used to describe the multiplexing policy.
33
# Currently, there is no load-based policy.
34
# Available policies:
35
#
36
#   "none"
37
#       All I/O to a given device (which supports multipath I/O) to occur 
38
#       via one path.
39
#
40
#   "round-robin"
41
#       Each path to the device to be used in turn.
42
#
43
#   "logical-block"
44
#       I/O is grouped by logical block address (LBA). The group size is set
45
#       by the region-size parameter, default is 18. This algorithm chooses
46
#       the path by (LBA >> region-size) % path_count. By default, for 512 byte
47
#       block size devices, the region-size is effectively 128 MB.
48
#
49
# When to change: some devices perform poorly with round-robin policy. In some
50
# cases, the device load-balance property is changed automatically, depending 
51
# on the device and product id. Use mpathadm(1m) to view the policy for a
52
# given device.
53
#
54
load-balance="logical-block";
55

    
56
#
57
# Automatic failback configuration
58
# possible values are auto-failback="enable" or auto-failback="disable"
59
auto-failback="enable";
60

    
61
#BEGIN: FAILOVER_MODULE_BLOCK (DO NOT MOVE OR DELETE)
62
#
63
# Declare scsi_vhci failover module paths with 'ddi-forceload' so that
64
# they get loaded early enough to be available for scsi_vhci root use.
65
#
66
# NOTE: Correct operation depends on the value of 'ddi-forceload', this
67
# value should not be changed. The ordering of entries is from
68
# most-specific failover modules (with a "probe" implementation that is
69
# completely VID/PID table based), to most generic (failover modules that
70
# are based on T10 standards like TPGS). By convention the last part of a
71
# failover module path, after "/scsi_vhci_", is called the
72
# "failover-module-name", which begins with "f_" (like "f_asym_sun"). The
73
# "failover-module-name" is also used in the override mechanism below.
74
ddi-forceload =
75
	"misc/scsi_vhci/scsi_vhci_f_asym_sun",
76
	"misc/scsi_vhci/scsi_vhci_f_asym_lsi",
77
	"misc/scsi_vhci/scsi_vhci_f_asym_emc",
78
	"misc/scsi_vhci/scsi_vhci_f_sym_emc",
79
	"misc/scsi_vhci/scsi_vhci_f_sym_hds",
80
	"misc/scsi_vhci/scsi_vhci_f_sym",           # Symmetrical
81
#	"misc/scsi_vhci/scsi_vhci_f_tpgs_tape",
82
#	"misc/scsi_vhci/scsi_vhci_f_tape",
83
	"misc/scsi_vhci/scsi_vhci_f_tpgs";          # T10
84

    
85
#
86
# For a device that has a GUID, discovered on a pHCI with mpxio enabled, vHCI
87
# access also depends on one of the scsi_vhci failover modules accepting the
88
# device.  The default way this occurs is by a failover module's "probe"
89
# implementation (sfo_device_probe) indicating the device is supported under
90
# scsi_vhci.  To override this default probe-oriented configuration in
91
# order to
92
#
93
#    1)	establish support for a device not currently accepted under scsi_vhci
94
#
95
# or 2)	override the module selected by "probe"
96
#
97
# or 3)	disable scsi_vhci support for a device
98
#
99
# you can add a 'scsi-vhci-failover-override' tuple, as documented in
100
# scsi_get_device_type_string(9F). For each tuple, the first part provides
101
# basic device identity information (vid/pid) and the second part selects
102
# the failover module by "failover-module-name". If you want to disable
103
# scsi_vhci support for a device, use the special failover-module-name "NONE".
104
# Currently, for each failover-module-name in 'scsi-vhci-failover-override'
105
# (except "NONE") there needs to be a
106
# "misc/scsi_vhci/scsi_vhci_<failover-module-name>" in 'ddi-forceload' above.
107
#
108
#	"                  111111"
109
#	"012345670123456789012345",	"failover-module-name" or "NONE"
110
#	"|-VID--||-----PID------|",
111
# scsi-vhci-failover-override =
112
#	"STK     FLEXLINE 400",		"f_asym_lsi",
113
#	"SUN     T4",			"f_tpgs",
114
#	"CME     XIRTEMMYS",		"NONE";
115
#
116
#END: FAILOVER_MODULE_BLOCK (DO NOT MOVE OR DELETE)
117
scsi-vhci-failover-override = 
118
    "3PARdataVV", "f_sym",
119
    "COMPELNTCompellent Vol", "f_sym",
120
    "DGC     VRAID", "f_asym_emc",
121
    "HP      HSV2", "f_sym",
122
    "HP      MB2000FAMYV", "f_sym", # HP, rebadged WD RE
123
    "HP      EG0600FBDSR", "f_sym", # HP, rebadged WD S25
124
    "HP      OPEN", "f_sym",
125
    "NETAPP  LUN", "f_sym",
126
    "HITACHI DF600F", "f_sym",
127
    "HITACHI HUS156060VLS600", "f_sym",
128
    "OCZ     TALOS", "f_sym",       # OCZ Talos SSD
129
    "Pliant  LS150S", "f_sym",      # Pliant SAS SSD
130
    "Pliant  LS300S", "f_sym",      # Pliant SAS SSD
131
    "STEC    Z4", "f_sym",          # ZeusIOPS
132
    "STEC    ZeusRAM", "f_sym",     # ZeusRAM
133
    "STEC    Z16", "f_sym",         # ZeusIOPS
134
    "TOSHIBA MK1001TRKB", "f_sym",  # Toshiba SAS HDD
135
    "TOSHIBA MK2001TRKB", "f_sym",  # Toshiba SAS HDD
136
    "TOSHIBA MK1001GRZB", "f_sym",  # Toshiba SAS SSD 100Gb
137
    "TOSHIBA MK2001GRZB", "f_sym",  # Toshiba SAS SSD 200Gb
138
    "TOSHIBA MK4001GRZB", "f_sym";  # Toshiba SAS SSD 400Gb
(1-1/2)