You can create or edit an iSCSI target and its associated LUN.

Prerequisites

Verify that the iSCSI target service is enabled.

Procedure

  1. Navigate to the vSAN cluster.
  2. Click the Configure tab.
    1. Under vSAN, click iSCSI Target Service.
    2. Click the iSCSI Targets tab.
    3. Click Add. The New iSCSI Target dialog box is displayed. If you leave the target IQN field blank, the IQN is generated automatically.
    4. Enter a target Alias.
    5. Select a Storage policy, Network, TCP port, and Authentication method.
    6. Select the I/O Owner Location. This feature is available only if you have configured vSAN cluster as a stretched cluster. It allows you to specify the site location for hosting the iSCSI target service for a target. This helps in avoiding the cross site iSCSI traffic. If you have set the policy as HFT>=1, then in the event of a site failure, the I/O owner location changes to the alternate site. After the site failure recovery, the I/O owner location automatically changes back to the original I/O owner location as per the configuration. You can select one of the following options to set the site location:
      • Either: Hosts the iSCSI target service either on Preferred or Secondary site.
      • Preferred: Hosts the iSCSI target service on the Preferred site.
      • Secondary: Hosts the iSCSI target service on the Secondary site.
  3. Click OK.

Results

iSCSI target is created and listed under the vSAN iSCSI Targets section with the information such as IQN, I/O owner host, and so on.

What to do next

Define a list of iSCSI initiators that can access this target.