Follow SAP and VMware sizing guidelines to size the CPU and memory for the SAP HANA VMs. SAP does not allow overcommitment of CPU and memory resources. An SAP HANA VM can use either 0.5 (half-socket), 1, 2, 3, or 4 sockets. Odd multiples of half-socket VMs—for example, 1.5 socket VMs or 2.5 socket VMs—are not allowed.
An SAP HANA VM requires a minimum of eight physical cores and supports up to 256 vCPUs—that is, logical cores with Intel Hyper-threading enabled.
You can use the VM configuration parameter numa.nodeAffinity to assign an SAP HANA VM to a specific CPU socket. For example, if a VM using two sockets and 28 cores per socket is to run on CPU 0 and 1, set the parameters for the VM as shown in the following figure:
To set the numa.nodeAffinity parameter for the VM, select Edit settings > VM Options > Advanced > Edit Configuration > Add Configuration Params. The following page is displayed: