Managing SAN Devices and Multipathing in Oracle® Solaris 11.2

Exit Print View

Updated: December 2014
 
 

How to Configure Multiple FC Devices Without Multipathing

Make sure you first identify the devices visible to the system with the procedure Ensuring That LUN Level Information Is Visible. This procedure describes how to configure all unconfigured fabric devices that are attached to a fabric-connected host port. The port used as an example is c0.

  1. Become an administrator.
  2. Identify the devices to be configured.
    # 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
  3. Configure all of the unconfigured devices on the selected port.
    # cfgadm -c configure c0

    Note - This operation repeats the configure operation of an individual device for all the devices on c0. This can be time consuming if the number of devices on c0 is large.
  4. Verify that all devices on c0 are configured.
    # cfgadm -al
    Ap_Id                 Type       Receptacle  Occupant    Condition
    c0                   fc-fabric   connected   configured  unknown
    c0::50020f2300006077 disk        connected   configured  unknown
    c0::50020f23000063a9 disk        connected   configured  unknown
    c0::50020f2300005f24 disk        connected   configured  unknown
    c0::50020f2300006107 disk        connected   configured  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
  5. Display FCP SCSI LUN information for multi-LUN SCSI devices.

    The following code example shows that the physical devices represented by c0::50020f2300006077 and c0::50020f2300006107 each have four LUNs configured. The physical devices represented by c0::50020f23000063a9 and c0::50020f2300005f24 each have two LUNs configured.

    # cfgadm -al -o show_SCSI_LUN c0
    Ap_Id                 Type     Receptacle   Occupant     Condition
    c0                  fc-fabric  connected    configured   unknown
    c0::50020f2300006077,0 disk    connected    configured   unknown
    c0::50020f2300006077,1 disk    connected    configured   unknown
    c0::50020f2300006077,2 disk    connected    configured   unknown
    c0::50020f2300006077,3 disk    connected    configured   unknown
    c0::50020f23000063a9,0 disk    connected    configured   unknown
    c0::50020f23000063a9,1 disk    connected    configured   unknown
    c0::50020f2300005f24,0 disk    connected    configured   unknown
    c0::50020f2300005f24,1 disk    connected    configured   unknown
    c0::50020f2300006107,0 disk    connected    configured   unknown
    c0::50020f2300006107,1 disk    connected    configured   unknown
    c0::50020f2300006107,2 disk    connected    configured   unknown
    c0::50020f2300006107,3 disk    connected    configured   unknown

Configuring Device Nodes With Solaris Multipathing Enabled

This section describes how to perform fabric device configuration steps on a system that has the multipathing features enabled.

The devices attached to the fabric-connected host port are not configured by default and so are not available to the system. Use the cfgadm configure and cfgadm unconfigure commands to manage device node creation for fabric devices. For more information, see cfgadm_fp(1M). The procedures in this section illustrate steps to detect fabric devices that are visible on a system and to configure them as multipathing devices to make them available to the system.

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