|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: Devices and File Systems Oracle Solaris 11 Information Library|
Configuring your iSCSI targets and initiators with COMSTAR involves the following tasks:
Identifying hardware and software requirements
Configuring your IP network
Connecting and setting up the iSCSI target device
Configuring the initiators
Configuring the iSCSI target discovery method
Creating file systems on your iSCSI disks
(Optional) Configuring iSCSI authentication between the iSCSI initiator and the iSCSI target
Monitoring your iSCSI configuration
The iSCSI configuration information is stored in the /etc/iscsi directory, but it requires no manual administration.
Review the following terminology before configuring iSCSI targets and initiators.
Dynamic device discovery – Two dynamic device discovery methods are available:
SendTargets – If an iSCSI node exposes a large number of targets, such as an iSCSI to Fibre-Channel bridge, you can supply the iSCSI node IP address/port combination and allow the iSCSI initiator to use the SendTargets features to perform the device discovery.
iSNS – The Internet Storage Name Service (iSNS) allows the iSCSI initiator to discover the targets to which it has access using as little configuration information as possible. It also provides state change notification to notify the iSCSI initiator when changes in the operational state of storage nodes occur. To use the iSNS discovery method, you can supply the iSNS server address/port combination and allow the iSCSI initiator to query the iSNS servers that you specified to perform the device discovery. The default port for the iSNS server is 3205. For more information about iSNS, see RFC 4171:
The iSNS discovery service provides an administrative model to discover all targets on a network.
For more information about setting up iSNS support in Oracle Solaris, see Chapter 15, Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS).
Static device discovery – If an iSCSI node has few targets or if you want to restrict the targets that the initiator attempts to access, you can statically configure the target-name by using the following static target address naming convention:
You can determine the static target address from the array's management tool.
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.