2008-03-17 17:04:49 -05:00
. \" A man page for ipa-replica-manage
. \" Copyright (C) 2008 Red Hat, Inc.
2010-11-04 16:36:51 -05:00
. \"
2010-12-09 06:59:11 -06:00
. \" This program is free software; you can redistribute it and/or modify
. \" it under the terms of the GNU General Public License as published by
. \" the Free Software Foundation, either version 3 of the License, or
. \" (at your option) any later version.
2010-11-04 16:36:51 -05:00
. \"
2008-03-17 17:04:49 -05:00
. \" This program is distributed in the hope that it will be useful, but
. \" WITHOUT ANY WARRANTY; without even the implied warranty of
. \" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
. \" General Public License for more details.
2010-11-04 16:36:51 -05:00
. \"
2010-12-09 06:59:11 -06:00
. \" You should have received a copy of the GNU General Public License
. \" along with this program. If not, see <http://www.gnu.org/licenses/>.
2010-11-04 16:36:51 -05:00
. \"
2008-03-17 17:04:49 -05:00
. \" Author: Rob Crittenden <rcritten@redhat.com>
2010-11-04 16:36:51 -05:00
. \"
2008-03-17 17:04:49 -05:00
.TH "ipa-replica-manage" "1" "Mar 14 2008" "freeipa" ""
.SH "NAME"
ipa\- replica\- manage \- Manage an IPA replica
.SH "SYNOPSIS"
2010-12-21 18:40:36 -06:00
ipa\- replica\- manage [\fI OPTION\fR ]... [connect|disconnect|del|list|re-initialize|force-sync]
2008-03-17 17:04:49 -05:00
.SH "DESCRIPTION"
Manages the replication agreements of an IPA server.
2010-11-04 16:36:51 -05:00
.TP
2010-12-21 18:40:36 -06:00
\fB connect\fR [SERVER_A] <SERVER_B>
\- Adds a new replication agreement between SERVER_A/localhost and SERVER_B
2010-11-04 16:36:51 -05:00
.TP
2010-12-21 18:40:36 -06:00
\fB disconnect\fR [SERVER_A] <SERVER_B>
\- Removes a replication agreement between SERVER_A/localhost and SERVER_B
2010-11-04 16:36:51 -05:00
.TP
2010-12-21 18:40:36 -06:00
\fB del\fR <SERVER>
\- Removes all replication agreements and data about SERVER
2010-11-04 16:36:51 -05:00
.TP
2010-12-21 18:40:36 -06:00
\fB list\fR [SERVER]
\- Lists all the servers or the list of agreements of SERVER
2010-11-04 16:36:51 -05:00
.TP
2010-12-21 18:40:36 -06:00
\fB re-initialize\fR
\- Forces a full re-initialization of the IPA server retrieving data from the server specified with the --from option
.TP
\fB force-sync\fR
\- Immediately flush any data to be replicated from a server specified with the --from option
2008-03-17 17:04:49 -05:00
.SH "OPTIONS"
2010-11-04 16:36:51 -05:00
.TP
2008-03-17 17:04:49 -05:00
\fB \- H HOST\fR , \fB \- \- host\fR =\fI HOST\fR
2010-12-21 18:40:36 -06:00
The IPA server to manage.
The default is the machine on which the command is run
Not honoured by the re-initialize command.
2010-11-04 16:36:51 -05:00
.TP
2008-03-17 17:04:49 -05:00
\fB \- p DM_PASSWORD\fR , \fB \- \- password\fR =\fI DM_PASSWORD\fR
The Directory Manager password to use for authentication
2010-11-04 16:36:51 -05:00
.TP
2008-03-17 17:04:49 -05:00
\fB \- v\fR , \fB \- \- verbose\fR
Provide additional information
2008-09-30 14:06:32 -05:00
.TP
\fB \- \- winsync\fR
Specifies to create/use a Windows Sync Agreement
.TP
\fB \- \- port\fR =\fI SERVER_PORT\fR
Port number of other server (default is 636, the LDAPS port)
.TP
\fB \- \- binddn\fR =\fI ADMIN_DN\fR
2010-11-04 16:36:51 -05:00
Bind DN to use with remote server (default is cn=Directory Manager) \- Be careful to quote this value on the command line
2008-09-30 14:06:32 -05:00
.TP
2010-11-04 16:36:51 -05:00
\fB \- \- bindpw\fR =\fI ADMIN_PWD\fR
2008-09-30 14:06:32 -05:00
Password for Bind DN to use with remote server (default is the DM_PASSWORD above)
.TP
\fB \- \- cacert\fR =\fI /path/to/cacertfile\fR
2010-11-04 16:36:51 -05:00
Full path and filename of CA certificate to use with TLS/SSL to the remote server \- this CA certificate will be installed in the directory server's certificate database
2008-10-08 14:31:48 -05:00
.TP
2010-11-04 16:36:51 -05:00
\fB \- \- win\- subtree\fR =\fI cn=Users,dc=example,dc=com\fR
DN of Windows subtree containing the users you want to sync (default cn=Users,<domain suffix> \- this is typically what Windows AD uses as the default value) \- Be careful to quote this value on the command line
2008-11-24 16:20:49 -06:00
.TP
\fB \- \- passsync\fR =\fI PASSSYNC_PWD\fR
Password for the Windows PassSync user.
2010-12-21 18:40:36 -06:00
.TP
\fB \- \- from\fR =\fI SERVER\fR
The server to pull the data from, used by the re-initialize and force-sync commands.
2010-11-04 16:36:51 -05:00
.SH "EXAMPLES"
2010-12-21 18:40:36 -06:00
.TP
List all masters:
# ipa\- replica\- manage list
srv1.example.com
srv2.example.com
srv3.example.com
srv4.example.com
.TP
List a server's replication agreements.
# ipa\- replica\- manage list srv1.example.com
srv2.example.com
srv3.example.com
.TP
Re-initialize a replica:
# ipa\- replica\- manage re-initialize --from srv2.example.com
2010-11-04 16:36:51 -05:00
2010-12-21 18:40:36 -06:00
This will re\- initialize the data on the server where you execute the command, retrieving the data from the srv2.example.com replica
.TP
2010-11-04 16:36:51 -05:00
Add a new replication agreement:
2010-12-21 18:40:36 -06:00
# ipa replica\- manage connect srv2.example.com srv4.example.com
.TP
2010-11-04 16:36:51 -05:00
Remove an existing replication agreement:
2010-12-21 18:40:36 -06:00
# ipa replica\- manage disconnect srv1.example.com srv3.example.com
.TP
Completely remove a replica:
# ipa replica\- manage del srv4.example.com
.TP
Using connect/disconnect you can manage the replication topology.
2008-03-17 17:04:49 -05:00
.SH "EXIT STATUS"
2010-12-21 18:40:36 -06:00
0 if the command was successful
1 if an error occurred