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