register-ds-admin.pl (8) - Linux Manuals
register-ds-admin.pl: Registers Directory Server instances with an Admin Server
NAME
register-ds-admin.pl - Registers Directory Server instances with an Admin Server
SYNOPSIS
register-ds-admin.pl [--options] -- [args]DESCRIPTION
Registers existing Directory Server instances with an existing Admin Server. This command does the set up necessary for the use of the Console to manage the Directory Server instances you are registering. You can register local Directory Server instances with a local Configuration Directory Server/Admin Server. You can also create an Admin Server and register standalone instances with it. You can register remote Directory Server instances to the local Admin Server, as well as register local Directory Server instances with a remote Admin Server - this allows a single Console/Admin Server to manage all the Directory Servers in your network.
Use this command with the --update option after an upgrade to refresh
Can be run in interactive mode with different levels of verbosity, or
in silent mode with parameters supplied in a .inf format file or
on the command line.
For all options, you can also use the short name e.g. -h, -d, etc.
For the -d argument, specifying it more than once will increase the debug
level e.g. -ddddd
args:
You can supply default .inf data in this format:
e.g.
or
Values passed in this manner will override values in an .inf file given with
the -f argument.
The .inf file use three directives depending on what you want to do: [General], [admin], and [register].
The [admin] section is only needed if an Admin Server needs to be installed on the local system.
Here is an example of creating an Admin Server, and turning a standalone Directory Server instance into
a configuration instance. In this case we need the [General], [admin], and [register] directives
Here is an example of an .inf file that registers two local Directory Server
instances (slapi-replica, slapd-instance2) with the local Configuration
Directory Server (slapd-localhost).
This example will add the slapd-replica instance to the local configuration server. Then this
server's configuration to added to the remote configuration server on ldap.redhat.com
The [register] directive parameter descriptions:
OPTIONS
A summary of options is included below:
Silent Mode (.inf file)
FullMachineName= localhost.localdomain
SuiteSpotUserID= dirsrv
SuiteSpotGroup= dirsrv
AdminDomain= redhat.com
ConfigDirectoryAdminID= admin
ConfigDirectoryAdminPwd= admin
ConfigDirectoryLdapURL= ldap://localhost.localdomain:389/o=NetscapeRoot
[admin]
Port= 9830
ServerIpAddress= 127.0.0.1
ServerAdminID= admin
ServerAdminPwd= password
[register]
configinst= slapd-localhost::cn=directory manager::password
FullMachineName= localhost.localdomain
SuiteSpotUserID= dirsrv
SuiteSpotGroup= dirsrv
AdminDomain= redhat.com
ConfigDirectoryAdminID= admin
ConfigDirectoryAdminPwd= admin
ConfigDirectoryLdapURL= ldap://localhost.localdomain:389/o=NetscapeRoot
[register]
configinst= slapd-localhost::cn=directory manager::password
localinst= slapd-instance2::cn=directory manager::password
localinst= slapd-replica::cn=directory manager::password
[General]
FullMachineName= localhost.localdomain
SuiteSpotUserID= dirsrv
SuiteSpotGroup= dirsrv
AdminDomain= redhat.com
ConfigDirectoryAdminID= admin
ConfigDirectoryAdminPwd= admin
ConfigDirectoryLdapURL= ldap://localhost.localdomain:389/o=NetscapeRoot
[register]
configinst= slapd-localhost::cn=directory manager::password
localinst= slapd-replica::cn=directory manager::password
localcertdir= /etc/dirsrv/slapd-localhost
remotehost= ldap.redhat.com
remoteport= 636
remotebinddn= cn=directory manager
remotebindpw= password
admindomain= redhat.com
admindn= uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot
adminpw= password
destination= remote
BIND_DN = The root DN, usually ``cn=directory manager'', for the local configuration server.
PASSWORD = the root DN password.
remote = Registers the local server with the remote configuration server.
AUTHOR
register-ds-admin.pl was written by the 389 Project.
REPORTING BUGS
Report bugs to http://bugzilla.redhat.com.
COPYRIGHT
Copyright © 2010 Red Hat, Inc.
This is free software. You may redistribute copies of it under the terms of
the Directory Server license found in the LICENSE file of this
software distribution. This license is essentially the GNU General Public
License version 2 with an exception for plug-in distribution.