A data grid is a storage unit that can be created to hold objects for a specific application or set of applications. A collective groups appliances together for scalability and management purposes. A zone defines a physical location for your appliance and are used to determine the placement of the data in your cache.
To add an appliance to a collective, add the host name and secret key that are found on the During assimilation, the secret key authenticates the new appliance to the collective.
panel. The host name and secret key on this panel are for the appliance that you want to add to the same configuration panel as an appliance that is already in the collective. You can create this configuration from any appliance in the collective because the collective membership is persisted among the collective members.The appliance secret key is used for assimilation first. When an appliance assimilates another, the first appliance must authenticate to the target of assimilation. After assimilation has occurred, the secret key for the assimilated appliance is set to the value of the secret key for the appliance that initiates the assimilation. Subsequently, this appliance secret key is used to authenticate administrative operations that are processed by internal components of the collective. You cannot configure or modify the appliance secret key. It is randomly chosen when you start the appliance.
The data grid operations secret key is the one that you set on the Collective settings panel. This secret key is used for catalog servers and container servers to authenticate to one another for replication and other data grid operations. This key has the same value for all members of a collective. In addition, however, the data grid operations secret key must be the same value for any multimaster replication (MMR)-linked appliance collective, so that MMR replication works correctly. Because each of the MMR-linked collectives must use the same data grid operations secret key, you cannot use the appliance secret key for this purpose, since different collectives have different appliance secret keys.
Appliances can only be in one collective. You cannot add an appliance that is already in a collective to a different collective. You also cannot join two collectives into a single collective. To join appliances from separate collectives, you must remove each appliance from its respective collective, making each appliance stand alone. You can then create a new collective that includes all of the appliances.
While you can use a collective to make most configuration changes, you must log in to a given appliance to change the settings on the
and panels.Zones are associated with a physical location of the appliance, such as a city or rack location in a lab. Zones help the catalog service to define where the data in your data grids is stored. For example, if the primary information for your data grid is stored in a given zone, then the replica data is stored in an appliance that is in a different zone. With this configuration, failover can occur from the primary to a replica if the appliance that holds the data grid primary fails.
One of the most noticeable differences in data replication from an administrative perspective is that all appliances in a collective share the following configuration data: data grids, monitoring information, collective and zone members, and users and groups. This data is not shared across MMR, and therefore all configuration changes must be made for each collective separately. In terms of data replication and failure recovery, collectives and zones are similar in that you have two appliances and each one has one copy of the data. However, the way MMR replication works is different. MMR is used to replicate changes and existing data. Deletes are not tracked. If two MMR sides are disconnected and are rejoined later, any data deleted while down on one side is recovered on the other side.
You can define a target number of replicas for a given data grid. Replicas are created when you have at least two appliances in your collective. If you have one appliance, no replicas are created. If you have n number of appliances in your collective, the maximum number of replicas is n-1, because one appliance hosts the primary data grid. If your target number of replicas is higher than the current n-1, more replicas can be placed when you add appliances to the collective. Consider setting the number of replicas to the highest number of replicas you might want in the future. Editing the replica settings requires the data grids to be cleared, so set the value with consideration to the future number of replicas. As new appliances join the collective, additional replicas are created. Primary and replica data grids are evenly distributed, or striped, across all of the appliances in the collective. As new appliances join the collective, rebalancing occurs to distribute the primary and replica data grids.
Replicas can be synchronous replicas or asynchronous replicas. Synchronous replicas receive updates as part of the transaction on the primary data grid. Asynchronous replicas are updated after the transaction on the primary data grid is committed. Synchronous replicas guarantee data consistency, but can increase the response time of a request when compared with an asynchronous replica. Asynchronous replicas do not have the same guarantee in data consistency, but can make your transactions complete faster. A data grid has one asynchronous replica by default. A placement algorithm controls where the replicas are located.
You can create additional maps in the data grid by having your client application connect to a specifically-named map. A dynamic map is automatically created.