第 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 Identity Management documentation.
- Replica topology examples in the Planning 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-installwith the--setup-caoption.[root@server ~]# ipa-replica-install --setup-caTo install CA services on a preexisting replica, run
ipa-ca-install.[root@replica ~]# ipa-ca-install
Create CA replication agreements between your CA replicas.
[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警告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.