summaryrefslogtreecommitdiffstats
path: root/src/ceph/doc/rbd/iscsi-initiator-esx.rst
blob: 18dd5832289c686b70dd46a6e3dec33b04974ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
----------------------------------
The iSCSI Initiator for VMware ESX
----------------------------------

**Prerequisite:**

-  VMware ESX 6.0 or later

**iSCSI Discovery and Multipath Device Setup:**

#. From vSphere, open the Storage Adapters, on the Configuration tab. Right click
   on the iSCSI Software Adapter and select Properties.

#. In the General tab click the "Advanced" button and in the "Advanced Settings"
   set RecoveryTimeout to 25.

#. If CHAP was setup on the iSCSI gateway, in the General tab click the "CHAP…​"
   button. If CHAP is not being used, skip to step 4.

#. On the CHAP Credentials windows, select “Do not use CHAP unless required by target”,
   and enter the "Name" and "Secret" values used on the initial setup for the iSCSI
   gateway, then click on the "OK" button.

#. On the Dynamic Discovery tab, click the "Add…​" button, and enter the IP address
   and port of one of the iSCSI target portals. Click on the "OK" button.

#. Close the iSCSI Initiator Properties window. A prompt will ask to rescan the
   iSCSI software adapter. Select Yes.

#. In the Details pane, the LUN on the iSCSI target will be displayed. Right click
   on a device and select "Manage Paths".

#. On the Manage Paths window, select “Most Recently Used (VMware)” for the policy
   path selection. Close and repeat for the other disks.

Now the disks can be used for datastores.