root@ipa-test-65-191:/var/log/dirsrv/slapd-YYDEVOPS-COM# ipactl start
Existing service file detected!
Assuming stale, cleaning and proceeding
Starting Directory Service
Failed to read data from service file: Failed to get list of services to probe status!
Configured hostname 'ipa-test-65-191.hiido.host.yydevops.com' does not match any
master server in LDAP:
ipa-test-65-190.hiido.host.yydevops.com
Shutting down
my topology A<->B
A (CA)
B (replica)
ssh A
root@ipa-test-65-190:/home/liangrui# ipa-replica-manage list
ipa-test-65-190.hiido.host.yydevops.com: master
ipa-test-65-191.hiido.host.yydevops.com: master
root@ipa-test-65-190:/home/liangrui# ipa-replica-manage del
ipa-test-65-191.hiido.host.yydevops.com
Checking connectivity in topology suffix 'ca'
'ipa-test-65-191.hiido.host.yydevops.com' is not a part of topology suffix
'ca'
Not checking connectivity
Checking connectivity in topology suffix 'domain'
Skipping replication agreement deletion check for suffix 'ca'
Checking for deleted segments in suffix 'domain'
Agreements deleted
root@ipa-test-65-190:/home/liangrui# ipa-replica-manage list
ipa-test-65-190.hiido.host.yydevops.com: master
ssh B
root@ipa-test-65-191:/home/liangrui# ipactl status
Directory Service: STOPPED
Directory Service must be running in order to obtain status of other services
ipa: INFO: The ipactl command was successful
root@ipa-test-65-191:/home/liangrui# ipactl start
Existing service file detected!
Assuming stale, cleaning and proceeding
Starting Directory Service
Failed to read data from service file: Failed to get list of services to probe status!
Configured hostname 'ipa-test-65-191.hiido.host.yydevops.com' does not match any
master server in LDAP:
ipa-test-65-190.hiido.host.yydevops.com
Shutting down
root@ipa-test-65-191:/home/liangrui# ipa-replica-install
ipa.ipapython.install.cli.install_tool(Replica): ERROR IPA server is already configured
on this system.
If you want to reinstall the IPA server, please uninstall it first using
'ipa-server-install --uninstall'.
ipa.ipapython.install.cli.install_tool(Replica): ERROR The ipa-replica-install command
failed. See /var/log/ipareplica-install.log for more information
ssh A
root@ipa-test-65-190:/home/liangrui# ipa hostgroup-add-member ipaservers --hosts
ipa-test-65-191.hiido.host.yydevops.com
Host-group: ipaservers
Description: IPA server hosts
Member hosts:
ipa-test-65-190.hiido.host.yydevops.com,
ipa-test-65-191.hiido.host.yydevops.com
-------------------------
Number of members added 1
-------------------------
root@ipa-test-65-190:/home/liangrui# ipa topologysegment-add
--leftnode=ipa-test-65-191.hiido.host.yydevops.com
--rightnode=ipa-test-65-190.hiido.host.yydevops.com
Suffix name: domain
Segment name
[
ipa-test-65-191.hiido.host.yydevops.com-to-ipa-test-65-190.hiido.host.yyd...]:
ipa: ERROR: invalid 'leftnode': left node is not a topology node:
ipa-test-65-191.hiido.host.yydevops.com
Why is service B unavailable after copy B is deleted and cannot be restored?Is this a
normal phenomenon?How to recover?
Request big guy guidance, thank you!