Option 1: Install Serial Numbers in gemfire.properties

Add the serial number(s) to the gemfire.properties file on each peer or cache server member, depending on your type of deployment. When adding multiple serial numbers, use a comma-delimited list (spaces between serial numbers are allowed).

This option is the recommended way to install licensing, except for GemFire deployments installed on vSphere virtual machines as part of a vFabric Suite deployment. In that case, see vFabric Suite Only: Configure GemFire for vFabric License Server. The following sections describe how to configure the properties file depending on your deployment topology:

Peer-to-Peer

Example 1: Simple peer-to-peer. Add an Application Cache Node serial number to the gemfire.properties file of each peer member.
# gemfire.properties for application cache peer
license-application-cache=#####-#####-#####-#####-#####
license-data-management=
Example 2: Server peer-to-server peer. Add a Data Management Node serial number to the gemfire.properties file of each cache server member.
# gemfire.properties for data management cache server
license-application-cache=
license-data-management=#####-#####-#####-#####-#####

Peer-to-Peer with Global WAN

Install the Data Management Node serial number and the Global WAN upgrade serial number in the gemfire.properties file of each peer member.

Note: In a Global WAN deployment scenario, you can use the same two serial numbers in each distributed system; however, VMware recommends that you obtain a unique set of serial numbers for each distributed system communicating over the WAN.
# gemfire.properties for data management cache server 
# with global WAN
license-application-cache=
license-data-management=#####-#####-#####-#####-#####,
#####-#####-#####-#####-#####

Client/Server with a Limited or an Unlimited Number of Clients

Add the Data Management Node serial number and additional serial number(s) to the gemfire.properties file of each cache server member.

Example 1: Client/server with a limited number of clients. Add a Data Management Node serial number and an Application Cache Node serial number (which specifies number of clients).
# gemfire.properties for data management cache server 
# with a predetermined number of clients
license-application-cache=#####-#####-#####-#####-#####
license-data-management=#####-#####-#####-#####-#####
Example 2: Client/server with an unlimited number of clients. Add a Data Management Node serial number and an Unlimited Clients upgrade serial number.
# gemfire.properties for data management cache server 
# with unlimited clients
license-application-cache=
license-data-management=#####-#####-#####-#####-#####, #####-#####-#####-#####-#####

Client/Server with Global WAN and a Limited Number of Clients

Add a Data Management Node serial number, a Global WAN Upgrade serial number, and an Application Cache Node serial number (which specifies the number of clients) to the gemfire.properties file of each cache server member.

Note: In a Global WAN deployment scenario, you can use the same two serial numbers in each distributed system; however, VMware recommends that you obtain a unique set of serial numbers for each distributed system communicating over the WAN.
# gemfire.properties for data management cache server
# with Global WAN and a limited number of clients
license-application-cache=#####-#####-#####-#####-#####
license-data-management=#####-#####-#####-#####-#####, #####-#####-#####-#####-#####

Client/Server with Global WAN and Unlimited Number of Clients

Add a Data Management Node serial number, a Global WAN Upgrade serial number, and an Unlimited Clients upgrade serial number to the gemfire.properties file of each cache server member.

Note: In a Global WAN deployment scenario, you can use the same two serial numbers in each distributed system; however, VMware recommends that you obtain a unique set of serial numbers for each distributed system communicating over the WAN.
# gemfire.properties for data management cache server 
# with unlimited clients and global WAN
license-application-cache=
license-data-management=#####-#####-#####-#####-#####, #####-#####-#####-#####-#####,
#####-#####-#####-#####-#####