Use SAP and VMware sizing guidelines to size CPU and memory requirements for the SAP HANA VMs. For more information, see SAP HANA sizing considerations. Overcommitment of CPU and memory resources is not allowed.
The SAP HANA HCI certification for VxFlex includes support for half-socket and full-socket SAP HANA VMs. The differences are as follows:
- Half-socket deployments allow two SAP HANA VMs to run on a single CPU socket, with each VM using 50 percent of the available physical cores.
- Full-socket SAP HANA VMs use a single socket (or multiple sockets) and all physical cores exclusively.
Because CPU socket 0 (the first NUMA node) is reserved for the VxFlex OS SVM, the remaining CPU sockets can be used for SAP HANA VMs. To prevent the SAP VMs from running on CPU 0, add the numa.nodeAffinity parameter to the configuration of the SAP HANA production VMs.
To add this parameter for each SAP HANA production VM:
- Log in to the vCenter through the vSphere Web Client, and then select the SAP HANA VM.
- From the Power menu, select Actions > Shut Down Guest OS.
- After the Guest OS has shut down, select the SAP HANA VM again.
- From the Actions menu, select Edit Settings.
- On the VM Options tab, select Advanced.
- Under Configuration Parameters, click the Edit Configuration button.
- Click Add Row to add a new option.
- In the Name column, enter numa.nodeAffinity.
- In the Value column, enter 1 for a HANA VM running on a two-socket host or 1,2,3 for a HANA VM running on a four-socket host. The numbers 1,2,3 enable the vSphere CPU scheduler to allocate CPU resources for a given SAP HANA virtual machine.
- Click OK twice to close the Edit VM dialog box.
- Power on the SAP HANA VM.
Note: When assigning memory to a production HANA VM, select the Reserve all guest memory (All locked) box.