ipa-csreplica-manage(1)
π ipa-csreplica-manage β manage an IPA CS replica π
okay bestie, welcome to the ipa-csreplica-manage manual page (that's the ipa-csreplica-manage(1) page from the IPA Manual Pages, mwah). this one's all about babysitting the CA replication agreements of your IPA server, but ONLY for domains sitting at domain level 0. sit down, grab a strawberry, let's go π
β¨ SYNOPSIS β¨
ipa-csreplica-manage [OPTION]...
[connect|disconnect|del|list|re-initialize|force-sync]
πΈ DESCRIPTION πΈ
So here's the tea: this tool manages the CA replication agreements of an IPA server for a domain at domain level 0. That's its whole job. It's giving very specific.
Heads up bestie π
if you wanna manage CA replication agreements in a domain at domain level 1, this is NOT the tool. Use the IPA CLI or the Web UI instead β peep ipa help topology for the extra info. iykyk.
Here's the command menu, one by one:
connect [SERVER_A] <SERVER_B>β adds a brand new replication agreement between SERVER_A/localhost and SERVER_B. Only works at domain level 0, no cap.disconnect [SERVER_A] <SERVER_B>β removes a replication agreement between SERVER_A/localhost and SERVER_B. Also only at domain level 0.del <SERVER>β removes ALL the replication agreements plus the data about SERVER. Domain level 0 only, bestie.list [SERVER]β lists all the servers, or the list of agreements of SERVER. slay.re-initializeβ forces a full re-initialization of the IPA CA server, pulling data from the server you named with the--fromoption.force-syncβ immediately flushes any data that's waiting to be replicated from a server named with the--fromoption. no waiting around π¨set-renewal-master [SERVER]β sets the CA server that handles renewal of CA subsystem certificates to SERVER. main character energy honestly π
π¦ the whole topology thing π¦
The connect and disconnect options are your tools for managing the replication topology. When a replica gets created, it's only connected to the master that created it β that's it, that's the whole starting friendship. So the connect option is how you introduce it to all the other existing replicas. social butterfly moment π
Now listen: the disconnect option cannot remove the last link of a replica. Like, you can't just leave a replica with zero friends. If you actually wanna remove a replica from the topology, you use the del option instead. periodt.
β οΈ IMPORTANT SITCH β οΈ if a replica gets deleted and then re-added within a short time-frame, then the 389-ds instance on the master that created it should be restarted before you re-install the replica. Why? because the master will have the old service principals cached, and that will make replication fail. so restart it. do not skip this. π
π OPTIONS π
-H HOST,--host=HOSTβ the IPA server you wanna manage. The default is the machine the command is run on. β οΈ Heads up: this one is not honoured by there-initializecommand. rude, but true.-p DM_PASSWORD,--password=DM_PASSWORDβ the Directory Manager password to use for authentication π-v,--verboseβ give me MORE info, extra details, the whole lore β¨-f,--forceβ ignore some types of errors. living dangerously, love that for you π--from=SERVERβ the server to pull the data from. Used by there-initializeandforce-synccommands.
π EXAMPLES π
List a server's replication agreements:
# ipa-csreplica-manage list srv1.example.com
srv2.example.com
srv3.example.com
Re-initialize a replica:
# ipa-csreplica-manage re-initialize --from srv2.example.com
This will re-initialize the data on the server where you execute the command, retrieving the data from the srv2.example.com replica. glow up via data transfer β¨
Add a new replication agreement:
# ipa-csreplica-manage connect srv2.example.com srv4.example.com
Remove an existing replication agreement:
# ipa-csreplica-manage disconnect srv1.example.com
srv3.example.com
Completely remove a replica at domain level 0:
# ipa-csreplica-manage del srv4.example.com
Completely remove a replica at domain level 1:
# ipa-replica-manage del srv4.example.com
π yes bestie, notice that at domain level 1 the command isipa-replica-manage, notipa-csreplica-manage. different tool, different vibe. don't mix them up.
And fr fr, using connect/disconnect is how you manage the replication topology. that's the whole plot π«Ά
β EXIT STATUS β
0β if the command was successful π1β if an error occurred π
and that's the whole page, bestie! this was the ipa-csreplica-manage(1) page from the IPA manual, dated Jul 14 2011. go forth and manage those replication agreements, you absolute icon ππ¦β¨π
π¦ where this page comes from
- centos-stream 10: ipa-server 4.13.4-1.el10 Β· GPL-3.0-or-later
- centos-stream 9: ipa-server 4.13.4-1.el9 Β· GPL-3.0-or-later
- fedora 43: freeipa-server 4.12.5-3.fc43 Β· GPL-3.0-or-later
- fedora 43: freeipa-server 4.13.4-2.fc43
- fedora 43: freeipa-server 4.13.4-3.fc43 Β· GPL-3.0-or-later
- fedora 44: freeipa-server 4.13.1-9.fc44 Β· GPL-3.0-or-later
- fedora 44: freeipa-server 4.13.4-2.fc44
- fedora 44: freeipa-server 4.13.4-3.fc44 Β· GPL-3.0-or-later
- Copyright (C) 2011 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms