Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / rbd / iscsi-initiator-esx.rst
1 ----------------------------------
2 The iSCSI Initiator for VMware ESX
3 ----------------------------------
4
5 **Prerequisite:**
6
7 -  VMware ESX 6.0 or later
8
9 **iSCSI Discovery and Multipath Device Setup:**
10
11 #. From vSphere, open the Storage Adapters, on the Configuration tab. Right click
12    on the iSCSI Software Adapter and select Properties.
13
14 #. In the General tab click the "Advanced" button and in the "Advanced Settings"
15    set RecoveryTimeout to 25.
16
17 #. If CHAP was setup on the iSCSI gateway, in the General tab click the "CHAP…​"
18    button. If CHAP is not being used, skip to step 4.
19
20 #. On the CHAP Credentials windows, select “Do not use CHAP unless required by target”,
21    and enter the "Name" and "Secret" values used on the initial setup for the iSCSI
22    gateway, then click on the "OK" button.
23
24 #. On the Dynamic Discovery tab, click the "Add…​" button, and enter the IP address
25    and port of one of the iSCSI target portals. Click on the "OK" button.
26
27 #. Close the iSCSI Initiator Properties window. A prompt will ask to rescan the
28    iSCSI software adapter. Select Yes.
29
30 #. In the Details pane, the LUN on the iSCSI target will be displayed. Right click
31    on a device and select "Manage Paths".
32
33 #. On the Manage Paths window, select “Most Recently Used (VMware)” for the policy
34    path selection. Close and repeat for the other disks.
35
36 Now the disks can be used for datastores.