18.08.2013 Views

vSphere Storage - ESXi 5.1 - Documentation - VMware

vSphere Storage - ESXi 5.1 - Documentation - VMware

vSphere Storage - ESXi 5.1 - Documentation - VMware

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>vSphere</strong> <strong>Storage</strong><br />

How Virtual Machines Access Data on an iSCSI SAN<br />

<strong>ESXi</strong> stores a virtual machine's disk files within a VMFS datastore that resides on a SAN storage device. When<br />

virtual machine guest operating systems issue SCSI commands to their virtual disks, the SCSI virtualization<br />

layer translates these commands to VMFS file operations.<br />

When a virtual machine interacts with its virtual disk stored on a SAN, the following process takes place:<br />

1 When the guest operating system in a virtual machine reads or writes to SCSI disk, it issues SCSI<br />

commands to the virtual disk.<br />

2 Device drivers in the virtual machine’s operating system communicate with the virtual SCSI controllers.<br />

3 The virtual SCSI controller forwards the command to the VMkernel.<br />

4 The VMkernel performs the following tasks.<br />

a Locates the file, which corresponds to the guest virtual machine disk, in the VMFS volume.<br />

b Maps the requests for the blocks on the virtual disk to blocks on the appropriate physical device.<br />

c Sends the modified I/O request from the device driver in the VMkernel to the iSCSI initiator (hardware<br />

or software).<br />

5 If the iSCSI initiator is a hardware iSCSI adapter (both independent or dependent), the adapter performs<br />

the following tasks.<br />

a Encapsulates I/O requests into iSCSI Protocol Data Units (PDUs).<br />

b Encapsulates iSCSI PDUs into TCP/IP packets.<br />

c Sends IP packets over Ethernet to the iSCSI storage system.<br />

6 If the iSCSI initiator is a software iSCSI adapter, the following takes place.<br />

a The iSCSI initiator encapsulates I/O requests into iSCSI PDUs.<br />

b The initiator sends iSCSI PDUs through TCP/IP connections.<br />

c The VMkernel TCP/IP stack relays TCP/IP packets to a physical NIC.<br />

d The physical NIC sends IP packets over Ethernet to the iSCSI storage system.<br />

7 Depending on which port the iSCSI initiator uses to connect to the network, Ethernet switches and routers<br />

carry the request to the storage device that the host wants to access.<br />

76 <strong>VMware</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!