Chapter 3. Preparing for server loss with replication
Follow these guidelines to establish a replication topology that will allow you to respond to losing a server:
- Guidelines for connecting IdM replicas in a topology in the Planning RHEL Identity Management documentation.
- Replica topology examples in the Planning RHEL Identity Management documentation.
- Protecting IdM CA data.
3.1. Protecting IdM CA data
If your deployment contains the integrated IdM Certificate Authority (CA), install several CA replicas so you can create additional CA replicas if one is lost.
Procedure
Configure three or more replicas to provide CA services.
To install a new replica with CA services, run
ipa-replica-install
with the--setup-ca
option.ipa-replica-install --setup-ca
[root@server ~]# ipa-replica-install --setup-ca
Copy to Clipboard Copied! To install CA services on a preexisting replica, run
ipa-ca-install
.ipa-ca-install
[root@replica ~]# ipa-ca-install
Copy to Clipboard Copied!
Create CA replication agreements between your CA replicas.
ipa topologysegment-add
[root@careplica1 ~]# ipa topologysegment-add Suffix name: ca Left node: ca-replica1.example.com Right node: ca-replica2.example.com Segment name [ca-replica1.example.com-to-ca-replica2.example.com]: new_segment --------------------------- Added segment "new_segment" --------------------------- Segment name: new_segment Left node: ca-replica1.example.com Right node: ca-replica2.example.com Connectivity: both
Copy to Clipboard Copied!
If only one server provides CA services and it is damaged, the entire environment will be lost. If you use the IdM CA, Red Hat strongly recommends having three or more replicas with CA services installed, with CA replication agreements between them.