xref: /onnv-gate/usr/src/uts/sparc/io/fibre-channel/impl/fp.conf (revision 7836:4e95154b5b7a)
1*7836SJohn.Forte@Sun.COM#
2*7836SJohn.Forte@Sun.COM# CDDL HEADER START
3*7836SJohn.Forte@Sun.COM#
4*7836SJohn.Forte@Sun.COM# The contents of this file are subject to the terms of the
5*7836SJohn.Forte@Sun.COM# Common Development and Distribution License (the "License").
6*7836SJohn.Forte@Sun.COM# You may not use this file except in compliance with the License.
7*7836SJohn.Forte@Sun.COM#
8*7836SJohn.Forte@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7836SJohn.Forte@Sun.COM# or http://www.opensolaris.org/os/licensing.
10*7836SJohn.Forte@Sun.COM# See the License for the specific language governing permissions
11*7836SJohn.Forte@Sun.COM# and limitations under the License.
12*7836SJohn.Forte@Sun.COM#
13*7836SJohn.Forte@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
14*7836SJohn.Forte@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7836SJohn.Forte@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
16*7836SJohn.Forte@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
17*7836SJohn.Forte@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
18*7836SJohn.Forte@Sun.COM#
19*7836SJohn.Forte@Sun.COM# CDDL HEADER END
20*7836SJohn.Forte@Sun.COM#
21*7836SJohn.Forte@Sun.COM#
22*7836SJohn.Forte@Sun.COM# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*7836SJohn.Forte@Sun.COM# Use is subject to license terms.
24*7836SJohn.Forte@Sun.COM#
25*7836SJohn.Forte@Sun.COM# Sun Fibre Channel Port driver configuration
26*7836SJohn.Forte@Sun.COM#
27*7836SJohn.Forte@Sun.COM#
28*7836SJohn.Forte@Sun.COM
29*7836SJohn.Forte@Sun.COMname="fp" class="fibre-channel" port=0;
30*7836SJohn.Forte@Sun.COMname="fp" class="fibre-channel" port=1;
31*7836SJohn.Forte@Sun.COM
32*7836SJohn.Forte@Sun.COM#
33*7836SJohn.Forte@Sun.COM# Automatic configuration of the fabric is turned on by default
34*7836SJohn.Forte@Sun.COM# and thus allows all devices discovered in the SAN zone to be
35*7836SJohn.Forte@Sun.COM# enumerated in the Solaris devinfo tree automatically.
36*7836SJohn.Forte@Sun.COM#
37*7836SJohn.Forte@Sun.COM# The manual_configuration_only property may be used to
38*7836SJohn.Forte@Sun.COM# disable the default behavior and force the manual configuration of
39*7836SJohn.Forte@Sun.COM# the devices in the SAN. Setting manual_configuration_only=1
40*7836SJohn.Forte@Sun.COM# will disable the automatic configuration of devices.
41*7836SJohn.Forte@Sun.COM# NOTE: Use of this property is not recommended. If used, the
42*7836SJohn.Forte@Sun.COM# fabric devices accessed at boot time need to get manually configured
43*7836SJohn.Forte@Sun.COM# before the next reboot. Otherwise, fabric devices that are needed at
44*7836SJohn.Forte@Sun.COM# boot time may not get configured and may cause boot problems.
45*7836SJohn.Forte@Sun.COM# To manually configure fabric devices, refer to cfgadm_fp(1M).
46*7836SJohn.Forte@Sun.COM# manual_configuration_only=1;
47*7836SJohn.Forte@Sun.COM#
48*7836SJohn.Forte@Sun.COM
49*7836SJohn.Forte@Sun.COM#
50*7836SJohn.Forte@Sun.COM# To generate the binding-set specific 'compatible' forms used to address
51*7836SJohn.Forte@Sun.COM# legacy issues the 'scsi-binding-set' property must be defined. (do not remove)
52*7836SJohn.Forte@Sun.COM#
53*7836SJohn.Forte@Sun.COMscsi-binding-set="fcp";
54*7836SJohn.Forte@Sun.COM
55*7836SJohn.Forte@Sun.COM#
56*7836SJohn.Forte@Sun.COM# List of ULP modules for loading during port driver attach time
57*7836SJohn.Forte@Sun.COM#
58*7836SJohn.Forte@Sun.COMload-ulp-list="1","fcp";
59*7836SJohn.Forte@Sun.COM
60*7836SJohn.Forte@Sun.COM#
61*7836SJohn.Forte@Sun.COM# I/O multipathing feature (MPxIO) can be enabled or disabled using
62*7836SJohn.Forte@Sun.COM# mpxio-disable property. Setting mpxio-disable="no" will activate
63*7836SJohn.Forte@Sun.COM# I/O multipathing; setting mpxio-disable="yes" disables the feature.
64*7836SJohn.Forte@Sun.COM#
65*7836SJohn.Forte@Sun.COM# Global mpxio-disable property:
66*7836SJohn.Forte@Sun.COM#
67*7836SJohn.Forte@Sun.COM# To globally enable MPxIO on all fp ports set:
68*7836SJohn.Forte@Sun.COM# mpxio-disable="no";
69*7836SJohn.Forte@Sun.COM#
70*7836SJohn.Forte@Sun.COM# To globally disable MPxIO on all fp ports set:
71*7836SJohn.Forte@Sun.COM# mpxio-disable="yes";
72*7836SJohn.Forte@Sun.COM#
73*7836SJohn.Forte@Sun.COM# Per port mpxio-disable property:
74*7836SJohn.Forte@Sun.COM#
75*7836SJohn.Forte@Sun.COM# You can also enable or disable MPxIO on a per port basis.
76*7836SJohn.Forte@Sun.COM# Per port settings override the global setting for the specified ports.
77*7836SJohn.Forte@Sun.COM# To disable MPxIO on port 0 whose parent is /pci@8,600000/SUNW,qlc@4 set:
78*7836SJohn.Forte@Sun.COM# name="fp" parent="/pci@8,600000/SUNW,qlc@4" port=0 mpxio-disable="yes";
79*7836SJohn.Forte@Sun.COM#
80*7836SJohn.Forte@Sun.COM# NOTE: If you just want to enable or disable MPxIO on all fp ports, it is
81*7836SJohn.Forte@Sun.COM# better to use stmsboot(1M) as it also updates /etc/vfstab.
82*7836SJohn.Forte@Sun.COM#
83*7836SJohn.Forte@Sun.COMmpxio-disable="yes";
84*7836SJohn.Forte@Sun.COM#
85*7836SJohn.Forte@Sun.COM# You can describe a list of target port WWNs and LUN numbers which will
86*7836SJohn.Forte@Sun.COM# not be configured. LUN numbers will be interpreted as decimal. White
87*7836SJohn.Forte@Sun.COM# spaces and ',' can be used in the list of LUN numbers.
88*7836SJohn.Forte@Sun.COM#
89*7836SJohn.Forte@Sun.COM# pwwn-lun-blacklist=
90*7836SJohn.Forte@Sun.COM# "target-port-wwn,lun-list"
91*7836SJohn.Forte@Sun.COM#
92*7836SJohn.Forte@Sun.COM# To prevent LUNs 1 and 2 from being configured for target
93*7836SJohn.Forte@Sun.COM# port 510000f010fd92a1 and target port 510000e012079df1, set:
94*7836SJohn.Forte@Sun.COM#
95*7836SJohn.Forte@Sun.COM# pwwn-lun-blacklist=
96*7836SJohn.Forte@Sun.COM# "510000f010fd92a1,1,2",
97*7836SJohn.Forte@Sun.COM# "510000e012079df1,1,2";
98