This appendix explains how to configure and unconfigure the fabric devices in the Oracle Solaris OS. It explains how the visible fabric devices on a host are detected and configured with and without enabling the multipathing software.
The following topics are covered:
You can use the following commands to perform health checks on the devices in a SAN:
Use the fmadm faulty command, which provides status information for resources that the Fault Manager maintains. If the fmadm faulty command does not throw any output, it means there are no faulty devices. You can also use the fmadm command to know the following configuration information:
View the set of diagnosis engines and agents that are currently participating in fault management.
View the list of system components that have been associated with a fault, defect, or an alert.
For more information about resolving faulty devices, see Managing Devices in Oracle Solaris 11.3.
For more information, see the fmadm(1M) man page.
Use the zpool status zpool-name command, which displays the detailed health status about the specified pool. If no pool is specified, then the status of each pool in the system is displayed. For example:
# zpool status test_pool pool: test_pool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM test_pool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c0t5000CCA00ABBAA9Cd0 ONLINE 0 0 0 c0t5000CCA00ABCE8DCd0 ONLINE 0 0 0 errors: No known data errors
Use the mpathadm show lu logical-unit command, which provides the configuration information about the specified LU.
# mpathadm show lu /dev/rdsk/c0t5000CCA00ABBAA9Cd0 Logical Unit: /dev/rdsk/c0t5000CCA00ABBAA9Cd0s2 mpath-support: libmpscsi_vhci.so Vendor: HITACHI Product: H103030SCSUN300G Revision: A2A8 Name Type: unknown type Name: 5000cca00abbaa9c Asymmetric: no Current Load Balance: shortest-path Logical Unit Group ID: NA Auto Failback: on Auto Probing: NA Paths: Initiator Port Name: w5080020000d67ae9 Target Port Name: w5000cca00abbaa9d Override Path: NA Path State: OK Disabled: no Target Ports: Name: w5000cca00abbaa9d Relative ID: 0
In the Oracle Solaris release, fabric-connected devices are available automatically to the Oracle Solaris system.
If you want to manually configure the fabric-connected devices, use the following steps to change the default behavior.