XenCenter

Software iSCSI Storage

Software iSCSI is supported using the open-iSCSI software iSCSI initiator or by using a supported iSCSI Host Bus Adapter (HBA).

Dynamic multipathing support is available for iSCSI storage repositories. By default, multipathing uses round robin mode load balancing, so both routes have active traffic on them during normal operation. You enable and disable storage multipathing in XenCenter by using the Multipathing tab on the server Properties dialog. For more information, see Storage Multipathing.

To create a software iSCSI SR

Note:

Before performing the following steps, ensure the iSCSI Initiator IQN is set appropriately for all hosts in the pool. For more information, see Changing Server Properties.

  1. Open the New Storage Repository wizard: click New Storage on the toolbar. Alternatively:
    • On the Storage tab for the selected pool or server, click New SR.
    • On the Storage menu, click New SR.
    • In the Resources pane, select a server or pool then right-click and click New SR on the shortcut menu.
  2. Select Software iSCSI as the physical storage type, then click Next.
  3. On the Name page, enter the name of the new SR. By default, the wizard generates a description of the SR. This description includes a summary of the configuration options you select as you progress through the wizard. To enter your own description, clear the Auto-generate description check box and type in the Description box. Click Next to continue.
  4. On the Provisioning page, select the type of provisioning to use. The options available are
    • Thin provisioning (GFS2). This type of provisioning is only available on clustered pools. For more information about clustering, see Change pool properties
    • Full provisioning (LVM)

    Click Next to continue.

  5. On the Location page, specify the iSCSI target details:

    • Target Host: The IP address or DNS name of the iSCSI target. This can also be a comma-separated list of values.

    • Use CHAP: If the iSCSI target is configured to used CHAP authentication, select the Use CHAP check box and fill in the details:

      • CHAP User: the CHAP authentication user name credential to apply when connecting to the target.
      • CHAP Secret: the CHAP authentication password credential to apply when connecting to the target.
    • Target IQN: To specify the iSCSI target IQN, click the Discover IQNs button and then choose an IQN from the Target IQN list.

      Important:

      The iSCSI target and all servers in the pool must not have the same IQN set. Every iSCSI target and initiator must have a unique IQN. If a non-unique IQN identifier is used, data corruption can occur or access to the target can be denied or both.

    • Target LUN: To specify the LUN on which to create the storage repository, click the Discover LUNs button. Choose a LUN from the Target LUN list.

      Each individual iSCSI storage repository must be contained entirely on a single LUN. The SR cannot span more than one LUN. If the LUN already contains an SR, choose either to use the existing SR or to replace the existing SR with a new one. Replacing the existing SR destroys any data present on the disk.

  6. Click Finish to complete the new SR configuration and close the wizard.

Software iSCSI Storage