Tagged: clustering, replication
This topic has 3 replies, 3 voices, and was last updated 3 years, 2 months ago by Andy Cory.
-
AuthorPosts
-
April 12, 2019 at 9:45 am #25527
mats2019
ParticipantHi,
Wanted to understand how the clustering and replication in AM servers happen ? In the cases where there are more than one AM boxes, how the session and data are replicated?
Could you please post some material related to the above?
Thanks in advance,
MathangiApril 12, 2019 at 12:19 pm #25532Bill Nelson
ParticipantAM instances are grouped together in what is called a “site”. Instances in a site share a common configuration. Configuration data is stored in a directory server. You can either use the embedded DS or an external DS. If you use embedded, you get a new DS for every AM instance that you place in the site. If you use an external DS, you can decide how many DS instance you want to use. Data is synchronized between the DS instances through multi-master replication. If you use embedded, each DS instance is joined to the replication mesh. If you use an external DS, you have already configured the replication topology outside of AM. Session data is stored in the core token service (CTS) which is also a DS instance. You should use an external DS (similar to the config DS) and you define the replication topology you want. While you “could” use the embedded DS instance for sessions, it is not advisable due to the amount of replication traffic that sessions generate. User profile data is typically stored on an entirely different DS or DB instance – not AM.
April 12, 2019 at 12:38 pm #25533mats2019
ParticipantThanks Bill brilliant answer I was looking for.
However is there any where I know to understand more on replication mesh on embedded instance(how to create that), or replication topology on external DS instance. That will help me a lot.
Thanks,
MathangiApril 16, 2019 at 4:27 pm #25632Andy Cory
ParticipantIf you set up an AM site as Bill explains, the replication between embedded config stores will be configured for you, there’s nothing more to do.
Configuration of replication for external instances does have to be done, and the best source of information on how to do this is ForgeRock’s own documentation, for example https://backstage.forgerock.com/docs/ds/6.5/admin-guide/#chap-replication
-Andy
-
AuthorPosts
You must be logged in to reply to this topic.