|Topologies and Communication / Peer-to-Peer Configuration|
In a peer-to-peer configuration, you can organize members into logical member groups and use those groups to associate specific data or assign tasks to a pre-defined set of members.
You can use logical member groups to deploy JAR applications across multiple members or to execute functions across a member group.
#gemfire.properties groups=Portfolios,ManagementGroup1A member can belong to more than one member group. If specifying multiple member groups for a member, use a comma-separated list. Alternatively, if you are using the gfsh command interface to start up the member, provide the group name or group names as a parameter.
gfsh>start server --name=server1 \ --group=Portfolios,MgmtGroup1,GatewaySenders
gfsh>start locator --name=locator1 \ --group=ManagementGroup1
gfsh>start gateway-sender --id=sender1 \ --group=GatewaySenders
gfsh>deploy --jar=group1_functions.jar --group=MgmtGroup1