The user identity service deployment scenario in a high-availability cluster involves the following steps:
Create user and user group databases in PostgreSQL for the event processing and user group processing components. Configure access to the created databases from the primary and backup nodes.
Prepare a separate directory for each component, containing all the files it needs, and load the containers to Docker.
Deploy and configure a high-availability cluster with a primary node and a backup node using the Pacemaker tool and auxiliary utilities. Configure access to PostgreSQL databases and user identity service components in the cluster.