Show Table of Contents
6.3. コマンドライン: ipa topology* コマンドを使用したトポロジーの管理
6.3.1. トポロジー管理コマンドのヘルプ
レプリカトポロジーの管理に使用する全コマンドを表示するには、以下を実行します。
$ ipa help topology
特定のコマンドに関する詳細のヘルプを表示するには、そのコマンドを
--help オプションと実行します。
$ ipa topologysuffix-show --help
6.3.2. 2 サーバー間でのレプリカ設定
- 2 サーバー間のトポロジーセグメントを作成するには、
ipa topologysegment-addコマンドを使用します。プロンプトに応じて、以下を提供します。domainまたはcaのトポロジーサフィックス注記
caサフィックス間でセグメントを作成する場合は、両方のサーバーに CA がインストールされている必要があります。「CA の既存の IdM ドメインへのインストール」 を参照してください。- 各サーバーを表す左ノードと右ノード
- オプションで、セグメントのカスタム名
以下に例を示します。$ ipa topologysegment-add Suffix name: domain Left node: server1.example.com Right node: server2.example.com Segment name [server1.example.com-to-server2.example.com]: new_segment --------------------------- Added segment "new_segment" --------------------------- Segment name: new_segment Left node: server1.example.com Right node: server2.example.com Connectivity: both
新規セグメントを追加すると、サーバーがレプリカ合意に参加します。 - オプションで
ipa topologysegment-showコマンドを使用すると、新規セグメントが設定されたことを確認することができます。$ ipa topologysegment-show Suffix name: domain Segment name: new_segment Segment name: new_segment Left node: server1.example.com Right node: server2.example.com Connectivity: both
6.3.3. 2 サーバー間のレプリカの削除
- レプリケーションを停止するには、対応するサーバー間のレプリカセグメントを削除する必要があります。これを実行するには、セグメント名が必要になります。セグメント名が分からない場合は、
ipa topologysegment-findコマンドを実行して全セグメントを表示し、該当するセグメントを見つけます。プロンプトに応じて、domainまたはcaのトポロジーサフィックスを提供します。例を示します。$ ipa topologysegment-find Suffix name: domain ------------------ 8 segments matched ------------------ Segment name: new_segment Left node: server1.example.com Right node: server2.example.com Connectivity: both ... ---------------------------- Number of entries returned 8 ---------------------------- - 2 サーバー間のトポロジーセグメントを削除るには、
ipa topologysegment-delコマンドを使用します。$ ipa topologysegment-del Suffix name: domain Segment name: new_segment ----------------------------- Deleted segment "new_segment" -----------------------------
セグメントを削除すると、レプリカ合意が削除されます。 - オプションで
ipa topologysegment-findコマンドを使用すると、セグメントが削除されたことを確認することができます。$ ipa topologysegment-find Suffix name: domain ------------------ 7 segments matched ------------------ Segment name: server2.example.com-to-server3.example.com Left node: server2.example.com Right node: server3.example.com Connectivity: both ... ---------------------------- Number of entries returned 7 ----------------------------

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.