SANRAD V-Switch Switch User Manual


 
Chapter 7: Volume Exposure and Security 115
If iSCSI initiator WWUI1 tries to login to Target 2, the V-Switch first scans
Identity B. It does not find the initiator listed so it continues to scan the next
identity, the default identity. The default identity blocks all iSCSI initiators,
including WWUI1. The scan stops and the initiator is denied access to
Target 2’s underlying volumes, Volume 2 and Volume 3, since the default
identity is configured as not assessable.
When planning and creating identities, keep in mind that:
Each identity can contain one or more iSCSI initiators.
Each identity can be assigned one or both login authentication
methods.
Each identity can be attached to more than one target.
Each target is first automatically coupled to a default read-write
un-authenticated access identity.
Each target can have more than one identity.
Creating an iSCSI Target
All CLI names and
aliases are case
sensitive
You can create all of your iSCSI targets using the CLI command iscsi
target create. These targets will have no initial associated LUNs and
will not be exposed to hosts when first created. It will have the default
identity automatically attached to it. Later, when you want to expose
volumes on the target, you can attach LUNs to the targets using the CLI
command volume expose.
If you are working in a V-Switch cluster, each target and LUN must be
configured on both V-Switches in the V-Switch cluster. For more
information on V-Switch clusters, see “Introduction to V-Switch Clusters,”
page 72.
iscsi target create
You need to define three parameters to create an iSCSI target:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ta
TARGET ALIAS USER-ASSIGNED
ALIAS FOR I
SCSI
TARGET
MANDATORY
finance
–tn
TARGET WWUI USER-ASSIGNED
WORLD-WIDE
UNIQUE IDENTIFIER
FOR THE TARGET
MANDATORY
sanrad.
billing
–device
DEVICE ALIAS OF V-
S
WITCH TO EXPOSE
TAREGT ON
MANDATORY
VSwitch1