JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Devices and File Systems     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

About This Book

1.  Managing Removable Media (Overview)

2.  Managing Removable Media (Tasks)

3.  Accessing Removable Media (Tasks)

4.  Writing CDs and DVDs (Tasks)

5.  Managing Devices (Overview/Tasks)

6.  Dynamically Configuring Devices (Tasks)

7.  Using USB Devices (Overview)

8.  Using USB Devices (Tasks)

9.  Using InfiniBand Devices (Overview/Tasks)

10.  Managing Disks (Overview)

11.  Administering Disks (Tasks)

12.  SPARC: Setting Up Disks (Tasks)

13.  x86: Setting Up Disks (Tasks)

14.  Configuring Storage Devices With COMSTAR

COMSTAR and iSCSI Technology (Overview)

COMSTAR Software and Hardware Requirements

Configuring COMSTAR (Task Map)

Configuring COMSTAR

COMSTAR Terminology

Configuring Dynamic or Static Target Discovery

Configuring iSCSI Devices With COMSTAR

How to Enable the STMF Service

How to Back Up and Restore a COMSTAR Configuration

How to Create an iSCSI LUN

How to Create the iSCSI Target

How to Configure an IB HCA for iSER

How to Configure an iSCSI Initiator

How to Remove Discovered iSCSI Targets

Creating iSCSI Target Portal Groups

Using TPGs with iSER

How to Create a Target Portal Group for iSCSI Targets

How to Access iSCSI Disks

Making SCSI Logical Units Available

How to Make a Logical Unit Available to All Systems

How to Restrict LUN Access to Selected Systems

Configuring Fibre Channel Devices With COMSTAR

Configuring Fibre Channel Ports For COMSTAR

How to Display Existing FC Port Bindings

How to Set All FC Ports to a Specific Mode

How to Set Selected FC Ports to Initiator or Target Mode

Making Logical Units Available for FC and FCoE

How to Make Logical Units Available for FC and FCoE

Configuring FCoE Devices With COMSTAR

Configuring FCoE Ports

Enabling 802.3x PAUSE and Jumbo Frames on the Ethernet Interface

How to Create FCoE Target Ports

How to Verify That an FCoE Target Port Is Working

How to Delete FCoE Target Ports

Configuring SRP Devices With COMSTAR

Using COMSTAR Views With SRP

How to Enable the SRP Target Service

How to Verify SRP Target Status

Configuring Authentication in Your iSCSI-Based Storage Network

How to Configure CHAP Authentication for Your iSCSI Initiator

How to Configure CHAP Authentication for Your iSCSI Target

Using a Third-Party RADIUS Server to Simplify CHAP Management in Your iSCSI Configuration

How to Configure a RADIUS Server for Your iSCSI Target

How to Configure a RADIUS Server for Your iSCSI Initiator

Oracle Solaris iSCSI and RADIUS Server Error Messages

Setting Up iSCSI Multipathed Devices in Oracle Solaris

How to Enable Multiple iSCSI Sessions for a Target

Monitoring Your iSCSI Configuration

How to Display iSCSI Configuration Information

Modifying iSCSI Initiator and Target Parameters

Tuning iSCSI Parameters

How to Tune iSCSI Parameters

How to Modify iSCSI Initiator and Target Parameters

Troubleshooting iSCSI Configuration Problems

No Connections to the iSCSI Target From the Local System

How to Troubleshoot iSCSI Connection Problems

iSCSI Device or Disk Is Not Available on the Local System

How to Troubleshoot iSCSI Device or Disk Unavailability

Use LUN Masking When Using the iSNS Discovery Method

General iSCSI Error Messages

15.  Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS)

16.  The format Utility (Reference)

17.  Managing File Systems (Overview)

18.  Creating and Mounting File Systems (Tasks)

19.  Configuring Additional Swap Space (Tasks)

20.  Copying Files and File Systems (Tasks)

21.  Managing Tape Drives (Tasks)


Configuring COMSTAR (Task Map)

For Instructions
Identify the COMSTAR software and hardware requirements.
Identify the software and hardware requirements for setting up an iSCSI storage network with COMSTAR.
Determine the iSCSI target discovery method.
Determine the iSCSI target discovery method best suited for your environment.
Enable the STMF service.
Enable the STMF service, which provides persistent target information.
Create SCSI logical units and make them available.
Create SCSI logical units (LUNs) and make them available to all hosts or specific hosts for iSCSI or iSER configurations.
Configure the iSCSI target.
Configure the iSCSI target for the iSCSI storage component.
Configure the iSCSI initiator.
Configure the system or systems that initiate SCSI requests to the iSCSI target.
Access the iSCSI disks.
You can access your iSCSI disks with the format utility. You can also enable the iSCSI disks to be available automatically after the system is rebooted.
Restrict LUN access to selected Systems.
You might want to restrict LUN access to specific systems in the network.
Configure Fibre Channel devices.
Configure FC devices with COMSTAR if you have a FC storage array in your environment.
Configure FCoE devices.
Configure Fibre Channel over Ethernet (FCoE) devices with COMSTAR.

FCoE functionality is provided through Ethernet interfaces. FCoE ports are logical entities associated with Ethernet interfaces.

Configure SRP devices.
Configure SRP devices with COMSTAR.

The SRP (SCSI RDMA Protocol) accelerates the SCSI protocol by mapping the SCSI data transfer phases to Infiniband (IB) Remote Direct Memory Access (RDMA) operations.

(Optional) Set up authentication in your Oracle Solaris iSCSI configuration.
Decide whether you want to use authentication in your Oracle Solaris iSCSI configuration:
Consider using unidirectional CHAP or bidirectional CHAP.
Consider using a third-party RADIUS server to simplify CHAP management.
Monitor your iSCSI configuration.
Monitor your iSCSI configuration by using the iscsiadm command.
(Optional) Modify your iSCSI configuration.
You might want to modify your iSCSI target parameters such as the header and data digest parameters.

Configuring COMSTAR

Configuring your iSCSI targets and initiators with COMSTAR involves the following tasks:

The iSCSI configuration information is stored in the /etc/iscsi directory, but it requires no manual administration.

COMSTAR Terminology

Review the following terminology before configuring iSCSI targets and initiators.

The process that presents the initiator with a list of available targets.
discovery method
The way in which the iSCSI targets can be found. Three methods are currently available:
  • Internet Storage Name Service (iSNS) – Potential targets are discovered by interacting with one or more iSNS servers.

  • SendTargets – Potential targets are discovered by using a discovery-address.

  • Static – Static target addressing is configured.

The driver that initiates SCSI requests to the iSCSI target.
initiator group
A set of initiators. When an initiator group is associated with a LUN, only initiators from that group may access the LUN.
iqn or eui address format
An iqn (iSCSI qualified name) address is the unique identifier for a device in an iSCSI network using the form An iSCSI initiator or target is assigned an IQN name automatically when the iSCSI initiator or target is initialized.

An eui (extended unique identifier) address consists of 16 hexadecimal digits, and identifies a class of GUIDs that is used in both the SCSI and InfiniBand standards. SRP devices use the eui address format.

logical unit
A uniquely numbered component in a storage system. Also referred to as a LUN. When a LUN is associated with one or more SCSI targets, the target can be accessed by one or more SCSI initiators.
target device
The iSCSI storage component.
target group
A set of targets. A LUN can be made available to all targets in one target group.
target portal group
A list of IP addresses that determines which interfaces a specific iSCSI target will listen to. A TPG contains IP addresses and TCP port numbers

Configuring Dynamic or Static Target Discovery

Determine whether you want to configure one of the dynamic device discovery methods or use static iSCSI initiator targets to perform device discovery.

Note - Do not configure an iSCSI target to be discovered by both static and dynamic device discovery methods. The consequence of using redundant discovery methods might be slow performance when the initiator is communicating with the iSCSI target device.