Configure SCSI3-Persistent Reservation for virtual machines
By using SCSI3-Persistent Reservation (S3-PR), multiple virtual machines (VMs) can coordinate access to shared storage devices. This is required for Linux clustering solutions, such as Pacemaker, and for Windows Server Failover Clustering.
Before you begin
- The host uses one of the following CPU architectures:
- Intel 64
- AMD64
- The host uses a supported RHEL and kernel version. For details, see Required RHEL versions for SGIO support in Virtual Machines.
- The storage back end supports S3-PR.
- If using multipathed virtual disks (vDisks), the multipath configuration is properly configured on the host. For details, see Configuring device mapper multipath.
About this task
With S3-PR, VMs can register and manage persistent reservations on storage devices to prevent conflicts when multiple VMs access the same storage.
You can configure S3-PR for both singlepath and multipath devices in VMs running on a RHEL host by modifying their XML configuration files.
Procedure
Results
- You can verify the configuration on the host by displaying the XML configuration of the running VM.
# virsh dumpxml <vm_name>Look for the
reservations managed='yes'element in the disk device configuration.