29.6. 使用 CLI 查看拓扑片段
在复制协议中,当两个副本在其后缀之间有复制协议时,后缀组成一个拓扑片段。您可以使用 CLI 查看拓扑片段。
步骤
输入
ipa topologysegment-find
命令显示为域或 CA 后缀配置的当前拓扑片段。例如,对于域后缀:$ ipa topologysegment-find Suffix name: domain ----------------- 1 segment matched ----------------- Segment name: server1.example.com-to-server2.example.com Left node: server1.example.com Right node: server2.example.com Connectivity: both ---------------------------- Number of entries returned 1 ----------------------------
在本例中,域相关的数据仅在两个服务器之间被复制:
server1.example.com
和server2.example.com
。(可选)要只显示特定片段的详情,请输入
ipa topologysegment-show
命令:$ ipa topologysegment-show Suffix name: domain Segment name: server1.example.com-to-server2.example.com Segment name: server1.example.com-to-server2.example.com Left node: server1.example.com Right node: server2.example.com Connectivity: both
其他资源