You can create or edit an iSCSI target and its associated LUN.
Verify that the iSCSI target service is enabled.
- Navigate to the vSAN cluster.
- Click the Configure tab.
- Under vSAN, click iSCSI Target Service.
- Click the iSCSI Targets tab.
- Click Add. The New iSCSI Target dialog box is displayed. If you leave the target IQN field blank, the IQN is generated automatically.
- Enter a target Alias.
- Select a Storage policy, Network, TCP port, and Authentication method.
- 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.
- Click OK.
What to do next
Define a list of iSCSI initiators that can access this target.