09.03.2015 Views

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Diagnostics and <strong>Troubleshooting</strong> <strong>Reference</strong> <strong>Manual</strong> – Virtual SAN<br />

Anatomy of a write in hybrid configurations<br />

When a VM issue a write, and that write is acknowledged as having completed<br />

successfully to the VM, the user is guaranteed that the data just written is persisted<br />

according to the policy specified. For example, if “failures to tolerate” was set to 1<br />

and there are 2 mirror copies of the VMDK on different hosts, Virtual SAN<br />

guarantees that the data has been written to both mirrors.<br />

Lets take the example where there is a 3 node Virtual SAN cluster. There is a VM<br />

running on host H1 and it is using a VM Storage Policy which has the capability<br />

“Number Of Failures To Tolerate = 1”. This means that the disk object has two<br />

mirrors, one on host H1 and the other on host H2. Let’s now examine the steps<br />

involved in a write operation:<br />

1. Guest OS issues write operation to virtual disk<br />

2. Owner clones write operation<br />

3. In parallel: sends “prepare” operation to H1 (locally) and H2<br />

4. H1, H2 persist write operation to Flash (log)<br />

5. H1, H2 Acknowledge prepare operation to owner<br />

6. Owner waits for ACK from both ‘prepares’ and completes I/O.<br />

7. Later, the owner commits a batch of writes to hard disk or flash used as<br />

capacity.<br />

V M W A R E S T O R A G E B U D O C U M E N T A T I O N / 2 4 4

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

Saved successfully!

Ooh no, something went wrong!