.. _Connecting Remote iSCSI Devices to Storage Cluster Nodes:

Connecting Remote iSCSI Devices to Storage Cluster Nodes
--------------------------------------------------------

Virtuozzo Infrastructure Platform 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.

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

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

   .. image:: ../../../images/stor_image1_14_1.png
      :align: center
      :class: align-center

#. In the **Remote iSCSI Target** window, do the following:

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

Virtuozzo Infrastructure Platform will connect the target (i.e. all its LUNs) and initiate it; corresponding entries with the **iSCSI** type will appear in the node's **DISKS** list.

To remove the iSCSI target, click **iSCSI Target**, **DELETE CONNECTION**, and **DELETE**.

.. _Assigning Disk Roles To Remote iSCSI Devices:

Assigning Disk Roles To Remote iSCSI Devices
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If the node is already in the storage cluster when you connect an iSCSI device to it, assign disk roles to all device's LUNs. To do this:

#. Select a disk with the **iSCSI** type and click **Assign**.

#. In the **Choose role** window, select **Storage** and click **Done**.

#. Repeat the above steps for every disk with the **iSCSI** type.

.. note:: You can assign metadata or cache roles to these disks but it is recommended only for single-node installations with SAN-provided redundancy that host Acronis Backup Gateways. For more information on disk roles, see :ref:`Assigning Disk Roles Manually`.
