2.4. Connecting Remote iSCSI Devices to Storage Cluster Nodes

Virtuozzo Hybrid Infrastructure allows you to connect remote iSCSI devices to nodes and perceives their LUNs as storage disks. You can connect iSCSI devices to nodes at any time.

Note the following:

  1. Remote iSCSI devices cannot be attached to hosts that belong to iSCSI target groups.
  2. Only one IQN can be used per node. You can connect multiple iSCSI targets using other cluster nodes.

To connect a remote iSCSI device to a node, do the following:

  1. On the INFRASTRUCTURE > Nodes screen, select a node, open its DISKS tab, and click iSCSI target.

    ../_images/stor_image1_14_1_vz.png
  2. In the Remote iSCSI Target window, do the following:

    1. Specify the IQN of the target.
    2. In the Portal and Port fields, specify the target’s IP address and port (optional) and click the check icon.
    3. (Optional) If the target has multiple paths, click Add portal and configure it as in the previous step.
    4. (Optional) If necessary, check CHAP authentication and specify the credentials.
    5. Click Connect.

The target will be connected and all its LUNs will be initiated. Devices of the iSCSI type will appear in the node’s DISKS list.

Note

If you add another LUN to a connected target, rescan it by running iscsiadm -m node -R in host’s console.

To remove an iSCSI target, click iSCSI Target, DELETE CONNECTION, and DELETE.

2.4.1. Assigning Disk Roles To Remote iSCSI Devices

If the node had already been in the cluster before you connected the iSCSI device to it, assign disk roles to all its LUNs. To do this:

  1. Select a disk with the iSCSI type and click Assign.
  2. In the Choose role window, select Storage and click Done.
  3. Repeat the above steps for every disk with the iSCSI type.

Even though you can assign Metadata or Cache roles to such disks, it is recommended only for single-node installations for Backup Gateway with SAN-provided redundancy. For more information on disk roles, see Assigning Disk Roles Manually.