scsi_vhci.conf revision 1e1ddd6cc98ab5af8293f7ebd132be62900730fd
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
2N/A#pragma ident "%Z%%M% %I% %E% SMI"
2N/A#
2N/Aname="scsi_vhci" class="root";
2N/A
2N/A#
2N/A# Load balancing global configuration: setting load-balance="none" will cause
2N/A# all I/O to a given device (which supports multipath I/O) to occur via one
2N/A# path. Setting load-balance="round-robin" will cause each path to the device
2N/A# to be used in turn.
2N/A#
2N/Aload-balance="round-robin";
2N/A
2N/A#
2N/A# Automatic failback configuration
2N/A# possible values are auto-failback="enable" or auto-failback="disable"
2N/Aauto-failback="enable";
2N/A
2N/A#BEGIN: FAILOVER_MODULE_BLOCK (DO NOT MOVE OR DELETE)
2N/A#
2N/A# Declare scsi_vhci failover module paths with 'ddi-forceload' so that
2N/A# they get loaded early enough to be available for scsi_vhci root use.
2N/A#
2N/A# NOTE: Correct operation depends on the value of 'ddi-forceload', this
2N/A# value should not be changed. The ordering of entries is from
2N/A# most-specific failover modules (with a "probe" implementation that is
2N/A# completely VID/PID table based), to most generic (failover modules that
2N/A# are based on T10 standards like TPGS). By convention the last part of a
2N/A# failover module path, after "/scsi_vhci_", is called the
2N/A# "failover-module-name", which begins with "f_" (like "f_asym_sun"). The
2N/A# "failover-module-name" is also used in the override mechanism below.
2N/Addi-forceload =
2N/A "misc/scsi_vhci/scsi_vhci_f_asym_sun",
2N/A "misc/scsi_vhci/scsi_vhci_f_asym_lsi",
2N/A "misc/scsi_vhci/scsi_vhci_f_asym_emc",
2N/A "misc/scsi_vhci/scsi_vhci_f_sym_emc",
2N/A "misc/scsi_vhci/scsi_vhci_f_sym",
2N/A "misc/scsi_vhci/scsi_vhci_f_tpgs";
2N/A
2N/A#
2N/A# For a device that has a GUID, discovered on a pHCI with mpxio enabled, vHCI
2N/A# access also depends on one of the scsi_vhci failover modules accepting the
2N/A# device. The default way this occurs is by a failover module's "probe"
2N/A# implementation (sfo_device_probe) indicating the device is supported under
2N/A# scsi_vhci. To override this default probe-oriented configuration in
2N/A# order to
2N/A#
2N/A# 1) establish support for a device not currently accepted under scsi_vhci
2N/A#
2N/A# or 2) override the module selected by "probe"
2N/A#
2N/A# or 3) disable scsi_vhci support for a device
2N/A#
2N/A# you can add a 'scsi-vhci-failover-override' tuple, as documented in
2N/A# scsi_get_device_type_string(9F). For each tuple, the first part provides
2N/A# basic device identity information (vid/pid) and the second part selects
2N/A# the failover module by "failover-module-name". If you want to disable
2N/A# scsi_vhci support for a device, use the special failover-module-name "NONE".
2N/A# Currently, for each failover-module-name in 'scsi-vhci-failover-override'
2N/A# (except "NONE") there needs to be a
2N/A# "misc/scsi_vhci/scsi_vhci_<failover-module-name>" in 'ddi-forceload' above.
2N/A#
2N/A# " 111111"
2N/A# "012345670123456789012345", "failover-module-name" or "NONE"
2N/A# "|-VID--||-----PID------|",
2N/A# scsi-vhci-failover-override =
2N/A# "STK FLEXLINE 400", "f_asym_lsi",
2N/A# "SUN T4", "f_tpgs",
2N/A# "CME XIRTEMMYS", "NONE";
2N/A#
2N/A#END: FAILOVER_MODULE_BLOCK (DO NOT MOVE OR DELETE)
2N/A