You can use vFabric License Server to enforce physical host redundancy when deploying GemFire on vSphere.
Using vFabric License Server to manage GemFire licenses is an optional way to ensure data redundancy when multiple GemFire process VMs are hosted on the same physical machine.
To use vFabric License Server with GemFire, perform the following steps:
# gemfire.properties for vfabric license server dynamic licensing license-application-cache=dynamic license-data-management=dynamicUsing gfsh:
gfsh>start server --name=server1 --license-data-management=dynamic \ --license-application-cache=dynamic
#timeout in milliseconds license-server-timeout=20000See http://pubs.vmware.com/vfabric53/topic/com.vmware.vfabric.platform.5.3/vfabric/install.html for more information on vFabric License Server.
Use the latest supported version of the guest OS, and use Java large paging.
This section provides VMware- recommended NUMA, CPU, and BIOS settings for your hardware and virtual machines.
These guidelines help you reduce latency.
ethtool -C vmnicX rx-usecs 0 rx-frames 1 rx-usecs-irq 0 rx-frames-irq 0where vmnicX is the physical NIC as reported by the ESXi command:
esxcli network nic listYou can verify that your settings have taken effect by issuing the command:
ethtool -C vmnicXIf you restart the ESXi host, the above configuration must be reapplied.
This topic discusses use limitations of vSphere vMotion, including the use of it with DRS.
This section provides guidelines on JVM instances and placement of redundant copies of cached data.
This section provides guidelines for sizing and setting memory.
On Pivotal GemFire virtual machines, disable vSphere High Availability (HA).
If you are using a dedicated Pivotal GemFire DRS cluster, then you can disable HA across the cluster. However, if you are using a shared cluster, exclude Pivotal GemFire virtual machines from vSphere HA.
Additionally, to support high availability, you can also set up anti-affinity rules between the Pivotal GemFire virtual machines to prevent two Pivotal GemFire servers from running on the same ESXi host within the same DRS cluster.
This section provides storage guidelines for persistence files, binaries, logs, and more.
VMware provides additional resources for optimizing vSphere, Java applications, and Pivotal GemFire.