In an environment in which a community includes one database assigned a primary role and another database assigned a secondary role, and the primary database is not operative, you must promote the secondary database to primary and reconfigure the inoperative primary database.
For example, if the database on C2 has a secondary role:
-
user@C2# edit system ldap server
community
- [edit system ldap server community]
-
user@C2# set role primary
-
user@C2# commit
C2 already has C1 configured as primary neighbor.
For example, to configure C1 as a primary database with C2 as a primary neighbor: