6. 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, which 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. Network interfaces
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.
- 6.1. iSCSI Workflow Overview
- 6.2. Configuring CLI Tool
- 6.3. Managing Target Groups
- 6.4. Managing iSCSI Volumes
- 6.4.1. Creating iSCSI Volumes
- 6.4.2. Listing and Printing Details of iSCSI Volumes
- 6.4.3. Attaching iSCSI Volumes to Target Groups
- 6.4.4. Viewing and Setting iSCSI Volume Parameters
- 6.4.5. Increasing iSCSI Volume Size
- 6.4.6. Setting iSCSI Volume Limits
- 6.4.7. Detaching iSCSI Volumes from Target Groups
- 6.4.8. Deleting iSCSI Volumes
- 6.5. Managing Nodes
- 6.6. Managing Targets and Portals
- 6.7. Managing CHAP Accounts
- 6.8. Managing LUN Views