For a quick overview of setting up MPxIO and the other configs: [EMAIL PROTECTED]:~]# fcinfo hba-port HBA Port WWN: 10000000c952776f OS Device Name: /dev/cfg/c8 Manufacturer: Sun Microsystems, Inc. Model: LP10000-S Type: N-port State: online Supported Speeds: 1Gb 2Gb Current Speed: 2Gb Node WWN: 20000000c952776f HBA Port WWN: 10000000c955e999 OS Device Name: /dev/cfg/c9 Manufacturer: Sun Microsystems, Inc. Model: LP10000-S Type: N-port State: online Supported Speeds: 1Gb 2Gb Current Speed: 2Gb Node WWN: 20000000c955e999
This output allows you to select your particular fibre paths to ensure that you aren't selecting fibre devices you don't wish to multipath. [EMAIL PROTECTED]:~]# luxadm -e port /devices/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:devctl CONNECTED /devices/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]/[EMAIL PROTECTED],0:devctl CONNECTED Leave the MPxIO disable to yes to keep local disks out of management. Cut down the luxadm -e port output in the format below (keep path, cut port). [EMAIL PROTECTED]:~]# cat /kernel/drv/fp.conf # # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Sun Fibre Channel Port driver configuration # #ident "@(#)fp.conf 1.4 06/06/22 SMI" # name="fp" class="fibre-channel" port=0; name="fp" class="fibre-channel" port=1; # # Automatic configuration of the fabric is turned on by default # and thus allows all devices discovered in the SAN zone to be # enumerated in the Solaris devinfo tree automatically. # # The manual_configuration_only property may be used to # disable the default behavior and force the manual configuration of # the devices in the SAN. Setting manual_configuration_only=1 # will disable the automatic configuration of devices. # NOTE: Use of this property is not recommended. If used, the # fabric devices accessed at boot time need to get manually configured # before the next reboot. Otherwise, fabric devices that are needed at # boot time may not get configured and may cause boot problems. # To manually configure fabric devices, refer to cfgadm_fp(1M). # manual_configuration_only=1; # # To generate the binding-set specific 'compatible' forms used to address # legacy issues the 'scsi-binding-set' property must be defined. (do not remove) # scsi-binding-set="fcp"; # # List of ULP modules for loading during port driver attach time # load-ulp-list="1","fcp"; # # Force attach driver to support hotplug activity (do not remove the property) # ddi-forceattach=1; # To globally disable MPxIO on all fp ports set: mpxio-disable="yes"; name="fp" parent="/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]" port=0 mpxio-disable="no"; name="fp" parent="/[EMAIL PROTECTED],600000/SUNW,[EMAIL PROTECTED]" port=0 mpxio-disable="no"; Set up a generic Symmetric device, and leave round-robin to on (unless you want it off, in which case change the option to "none". [EMAIL PROTECTED]:~]# cat /kernel/drv/scsi_vhci.conf # # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #pragma ident "@(#)scsi_vhci.conf 1.9 04/08/26 SMI" # name="scsi_vhci" class="root"; # # Load balancing global configuration: setting load-balance="none" will cause # all I/O to a given device (which supports multipath I/O) to occur via one # path. Setting load-balance="round-robin" will cause each path to the device # to be used in turn. # #load-balance="none"; load-balance="round-robin"; # # Automatic failback configuration # possible values are auto-failback="enable" or auto-failback="disable" auto-failback="enable"; # # For enabling MPxIO support for 3rd party symmetric device need an # entry similar to following in this file. Just replace the "SUN SENA" # part with the Vendor ID/Product ID for the device, exactly as reported by # Inquiry cmd. # # device-type-scsi-options-list = # "SUN SENA", "symmetric-option"; # # symmetric-option = 0x1000000; # From inq #Vendor: Pillar #Product: Axiom 500 #Revision: 0000 device-type-scsi-options-list = "Pillar Axiom 500", "symmetric-option"; symmetric-option=0x1000000; Update /etc/system and reboot. [EMAIL PROTECTED]:~]# cat /etc/system *ident "@(#)system 1.18 97/06/27 SMI" /* SVR4 1.5 */ * * SYSTEM SPECIFICATION FILE * Begin MDD root info (do not edit) *rootdev:/pseudo/[EMAIL PROTECTED]:0,0,blk * End MDD root info (do not edit) * Foil certain classes of bug exploits set noexec_user_stack = 1 * Log attempted exploits set noexec_user_stack_log = 1 * turn off disksuite quoruming set md:mirrored_root_flag=1 * * set max number of commands to 20 - max 256 set sd:sd_max_throttle=20 * prevent warning messages of non-disruptive operations for 60 secs set sd:sd_io_time=0x3C * This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss