Go to main content

Managing SAN Devices and I/O Multipathing in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Detect Visible Fabric Devices on an Oracle Solaris System

This section provides an example of the procedure for detecting fabric devices using FC host ports c0 and c1. This procedure also shows the device configuration information that is displayed with the cfgadm command.


Note -  In the following examples, only failover path attachment point IDs (Ap_Ids) are listed. The Ap_Ids displayed on your system depend on your system configuration.
  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Display the information about the attachment points on the system.
    # cfgadm -l
    Ap_Id                Type         Receptacle   Occupant     Condition
    c0                 fc-fabric      connected    unconfigured unknown
    c1                 fc-private     connected    configured   unknown

    In this example, c0 represents a fabric-connected host port, and c1 represents a private, loop-connected host port. Use the cfgadm command to manage the device configuration on fabric-connected host ports.

    By default, the device configuration on private, loop-connected host ports is managed by a system running the Oracle Solaris OS.

  3. Display information about the host ports and their attached devices.
    # cfgadm -al
    Ap_Id                Type      Receptacle     Occupant   Condition
    c0                 fc-fabric   connected    unconfigured unknown
    c0::50020f2300006077 disk      connected    unconfigured unknown
    c0::50020f23000063a9 disk      connected    unconfigured unknown
    c0::50020f2300005f24 disk      connected    unconfigured unknown
    c0::50020f2300006107 disk      connected    unconfigured unknown
    c1                 fc-private  connected    configured   unknown
    c1::220203708b69c32b disk      connected    configured   unknown
    c1::220203708ba7d832 disk      connected    configured   unknown
    c1::220203708b8d45f2 disk      connected    configured   unknown
    c1::220203708b9b20b2 disk      connected    configured   unknown

    Note -  The cfgadm -l command displays information about FC host ports. You can also use the cfgadm -al command to display information about FC devices. The lines that include a port world wide name (WWN) in the Ap_Id field associated with c0 represent a fabric device. Use the cfgadm configure and unconfigure commands to manage those devices and make them available to systems using the Oracle Solaris OS. The Ap_Id devices with port WWNs under c1 represent private-loop devices that are configured through the c1 host port.

Configuring Device Nodes Without Multipathing Enabled

This section describes fabric device configuration tasks on a system that does not have multipathing enabled.

The procedures in this section show how to detect fabric devices that are visible on a system and to configure and make them available to a system running the Oracle Solaris OS. The procedures in this section use specific devices as examples to illustrate how to use the cfgadm command to detect and configure fabric devices.

The device information that you supply and that is displayed by the cfgadm command depends on your system configuration.