Accessing Virtual Disks (VDisks)

VDisks can be accessed through multiple interfaces as illustrated in the following figure

VDisk Architecture

Fiber Channel

Connect the QLogic cards/controllers to a Fiber channel switch or in a Loop configuration. VDisks will be available as regular disks in the initiator systems

Infiniband

Infiniband coniguration is similar to the FC configuration. Once connected to the switch the VDisk will be available to the host system. An SRP initiator is needed on the host system.

Local Block Device

VDisks can be directly accessed from /dev/quadstor/<VDISK Name>

A file system can now created on the locally available block device and exported via NFS/CIFS for a NAS configuration

iSCSI

Follow the iSCSI initiator configuration for the client operating system to access the VDisks. VDisks will have an IQN starting with “iqn.2006-06.com.quadstor.vdisk.” followed by the name of the VDisk

iSCSI Device Access Control

iSCSI Chap authentication can be used to control which initiator devices can see and access the VDisks over iSCSI. In the following section the Incoming User and Incoming Password will be the CHAP user name and password to be sent by the initiator and validated by the target and Outgoing User and Outgoing Password will be the user name and password to sent by the target to initiator and to be validated by the initiator

iSCSI Discovery

In /quadstor/etc/iet/ietd.conf specify the IncomingUser and Password as

IncomingUser foo bar

where foo is the Incoming User Name and bar is the Incoming User Password

An initiator would then have to specify the above user name an password in order to get a list of targets.

Similarly

OutgoingUser foo bar

will specify the outgoing user name and password.

The target will send the foo and bar as the outgoing user name password which can then be used by the initiator to authenticate the target

iSCSI Target Login

Similar to iSCSI Discovery, IncomingUser and IncomingPassword and OutgoingUser and OutgoingPassword can be specified controlling the initiators that can login to the iSCSI target and also to authenticate the target during login.

From "Virtual Disks" -> "View/Manage" page in the HTML GUI, click on "View" under the "iSCSI" column for VDisk.

Specify the desired User Name and Password and then click on Submit

To reset the a User Name and Password, clear the corresponding User Name text field and click submit

Access control based on Initiator IQN Name or IP Addresses

/quadstor/etc/iet/initiators.allow can be used to specify which initiator can connect to a target based on its IQN name or its IP Address

By default an iSCSI target will accept connection on all available interfaces. /quadstor/etc/iet/targets.allow can be used to specify the interfaces on which a target can accept connections

The examples in these two files are self explanatory. A line starting with a '#' is considered to be a comment.