Specifications

Table Of Contents
VMware, Inc. 163
Chapter 7 Using High-Availability Configurations
operating!system!is!on!the!scsi0!bus,!you!should!set!up!disks!to!share!on!the!next!
available!bus,!typically!the!scsi1!bus.
Sharing!resources!using!two!separate!buses!(for!example,!data!on!SCSI1:0!and!quorum!
on!SCSI2:0)!causes!the!configuration!file!to!become!invalid,!and!you!cannot!boot!the!
virtual!
machine.!
To!enable!SCSI!reservation,!make!sure!the!virtual!machine!is!powered!off.!Open!the!
configuration!file!(.vmx)!in!a!text!editor!and!add!the!line:!
scsi<x>.sharedBus = "virtual"!
anywhere!in!the!file,!where!<x>!is!the!SCSI!bus!being!shared.
For!example,!to!enable!SCSI!reservation!for!devices!on!the!scsi1!
bus,!add!the!following!
line!to!the!virtual!machine’s!configuration!file:
scsi1.sharedBus = "virtual"
This!allows!the!whole!bus!to!be!shared!and!is!quicker!than!specifying!each!disk!
separately.!However,!if!you!do!not!want!to!share!the!whole!bus,!you!can!selectively!
enable!SCSI!reservation!for!a!specific!SCSI!disk!on!the!
shared!bus.!For!example,!if!you!
want!to!share!a!SCSI!disk!located!at!scsi1:1,!add!the!following!line!to!the!
configuration!file:
scsi1:1.shared = "true"
You!must!specify!the!same!SCSI!target!(that!is,!scsi<x>:1)!in!the!configuration!file!for!
each!virtual!machine!that!is!going!to!share!the!disk.
If!SCSI!reservation
!is!enabled!for!the!whole!bus!(that!is,!scsi1.sharedBus!is!set!to!
"virtual"),!this!setting!is!ignored.
In!addition!to!enabling!SCSI!reservation!on!the!bus,!you!need!to!allow!virtual!machines!
to!access!the!shared!disk!concurrently.!Add!the!following!line!to!the!virtual!machine’s!
configuration!file:
disk.locking = "false"
This!prevents!the
!locking!of!that!disk,!which!permits!multiple!virtual!machines!to!
access!a!disk!concurrently.!Be!careful!though:!if!any!virtual!machine!not!configured!for!
SCSI!reservation!tries!to!access!this!disk!concurrently,!the!shared!disk!is!vulnerable!to!
corruption!or!data!loss.!
CAUTION This!setting!applies!to!all!disks!in!the!virtual!machine.
When!SCSI!reservation!is!enabled,!the!system!creates!a!reservation!lock!file!that!
contains!the!shared!state!of!the!reservation!for!the!given!disk.!The!name!of!this!file!
consists!of!the!filename!of!the!SCSI!disk!appended!with!.RESLCK.