7. Accessing Storage Clusters via iSCSI¶
Virtuozzo Infrastructure Platform allows you to export cluster disk space to external operating systems and third-party virtualization solutions in the form of LUN block devices over iSCSI in a SAN-like manner.
In Virtuozzo Infrastructure Platform, you can create groups of redundant targets running on different storage nodes. To each target group you can attach multiple storage volumes with their own redundancy provided by the storage layer. These volumes are exported by targets as LUNs.
Each node in a target group can host a single target for that group if Ethernet is used, or one target per FC port if Fibre Channel is used. If one of the nodes in a target group fails along with its target(s), healthy targets from the same group continue to provide access to the LUNs previously serviced by the failed target(s).
You can create multiple target groups on same nodes. A volume, however, may only be attached to one target group at any moment of time.
The figure below shows a typical setup for exporting Virtuozzo Infrastructure Platform disk space via iSCSI.
The figure shows two volumes located on redundant storage provided by Virtuozzo Infrastructure Platform. The volumes are attached as LUNs to a group of two targets running on Virtuozzo Infrastructure Platform nodes. Each target has two portals, one per network interface with the iSCSI traffic type. This makes a total of four discoverable endpoints with different IP addresses. Each target provides access to all LUNs attached to the group.
Targets work in the ALUA mode, so one path to the volume is preferred and considered Active/Optimized while the other is Standby. The Active/Optimized path is normally chosen by the initiator (Explicit ALUA). If the initiator cannot do so (either does not support it or times out), the path is chosen by the storage itself (Implicit ALUA).
eth1 on each node are connected to different switches for redundancy. The initiator, e.g., VMware ESXi, is connected to both switches as well and provides volumes as iSCSI disks 1 and 2 to a VM via different network paths.
If the Active/Optimized path becomes unavailable for some reason (e.g., the node with the target or network switch fails), the Standby path through the other target will be used instead to connect to the volume. When the Active/Optimized path is restored, it will be used again.
- 7.1. iSCSI Workflow Overview
- 7.2. Configuring CLI Tool
- 7.3. Managing Target Groups
- 7.4. Managing iSCSI Volumes
- 7.4.1. Creating iSCSI Volumes
- 7.4.2. Listing and Printing Details of iSCSI Volumes
- 7.4.3. Attaching iSCSI Volumes to Target Groups
- 7.4.4. Setting the Active/Optimized Path for iSCSI Volumes
- 7.4.5. Viewing iSCSI Volume ALUA Information
- 7.4.6. Viewing and Setting iSCSI Volume Parameters
- 7.4.7. Increasing iSCSI Volume Size
- 7.4.8. Setting iSCSI Volume Limits
- 7.4.9. Detaching iSCSI Volumes from Target Groups
- 7.4.10. Deleting iSCSI Volumes
- 7.5. Managing Nodes in Target Groups
- 7.6. Managing Targets and Portals
- 7.7. Managing CHAP Accounts
- 7.8. Managing LUN Views