To configure the disk:
- In the vSphere Web client, go to the settings in the SAP HANA virtual machine.
- Add two additional VMware Paravirtual SCSI controllers to the virtual machine. Set SCSI Bus Sharing to None.
The virtual machine should now have three SCSI controllers assigned:
- SCSI controller 0Used for the system device
- SCSI controller 1To be used for the SAP HANA data devices
- SCSI controller 2To be used for the SAP HANA log devices
- Add a new SAP HANA data or log disk.
The SAP HANA persistence can be a vSphere VMDK residing on a VMFS datastore or an RDM pointing directly to the underlying storage LUN.
- VMDK: Add a new hard disk to the virtual machine on the desired datastore using the “thick provision eager zeroed” option. Assign an SAP HANA data device to SCSI controller 1, as shown in Figure 7.
Figure 7. Creating a new data hard disk
Assign an SAP HANA device to SCSI controller 2, as shown in Figure 8.
The virtual-machine data device is assigned to SCSI device 1:0 and the log device is assigned to SCSI device 2:0.
Figure 8. Creating a new hard disk log
- RDM—Add the data and log RDM disks and assign them to SCSI controller 1 (data) and SCSI controller 2 (log), as shown in Figure 9.
Figure 9. Assigning an RDM to a virtual machine