<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
> Date: Wed, 13 Aug 2008 14:03:31 -0600<br>> From: rmeggins@redhat.com<br>> To: fedora-directory-users@redhat.com<br>> Subject: Re: [Fedora-directory-users] (no subject)<br><br>> I think it is mentioned in the documentation.<br>> http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Managing_Replication-Replicating-ADS-for-Failover.html<br>> "2. Install and configure the second Directory Server instance. For the <br>> second server, |server2.example.com|, use the |setup-ds.pl| command, <br>> which installs a Directory Server instance without installing a local <br>> Administration Server. "<br>> <br>> Which is what you did below anyway.  However, there is a doc bug:<br>> "ConfigFile = netscaperootdb.ldif example suffix entry"<br>> This links to an example of the suffix only, which is what you did below <br>> - the ldif only creates the suffix, not the associated database.<br>> <br>> The LDIF file should contain this:<br>> <br>> dn: cn=NetscapeRoot,cn=ldbm database,cn=plugins,cn=config<br>> objectclass: top<br>> objectclass: extensibleObject<br>> objectclass: nsBackendInstance<br>> nsslapd-suffix: o=NetscapeRoot<br>> cn: NetscapeRoot<br>> <br>> dn: cn=encrypted attribute keys,cn=NetscapeRoot,cn=ldbm <br>> database,cn=plugins,cn=config<br>> objectClass: top<br>> objectClass: extensibleObject<br>> cn: encrypted attributes keys<br>> <br>> dn: cn=encrypted attributes,cn=NetscapeRoot,cn=ldbm <br>> database,cn=plugins,cn=config<br>> objectClass: top<br>> objectClass: extensibleObject<br>> cn: encrypted attributes<br>> <br>> dn: cn="o=NetscapeRoot",cn=mapping tree,cn=config<br>> objectclass: top<br>> objectclass: extensibleObject<br>> objectclass: nsMappingTree<br>> cn: "o=NetscapeRoot"<br>> nsslapd-state: backend<br>> nsslapd-backend: NetscapeRoot<br><br><br>Great!  It fixed the issue.<br><br>I was also able to synchronize between two servers.<br><br>But, when I execute the register-ds-admin.pl (step 4), I have this:<br><br># /usr/sbin/register-ds-admin.pl<br>Beginning registration of the Directory Server<br>==============================================================================<br>The Directory Server locates its configuration file (dse.ldif) at /etc/dirsrv/slapd-ID, by default.  If you have Directory Server(s) which configuration file is put at the other location, you need to input it to register the server.<br><br>If you have such Directory Server, type the full path that stores the configuration file.<br><br>If you don't, type return.<br>[configuration directory path or return]:<br><br><br>==============================================================================<br>Candidate servers to register:<br>    /etc/dirsrv/slapd-myinstance<br><br>==============================================================================<br>Do you want to use this server as Configuration Directory Server?<br><br>Directory server identifier [myinstance]:<br><br>==============================================================================<br>The server must run as a specific user in a specific group.<br>It is strongly recommended that this user should have no privileges<br>on the computer (i.e. a non-root user).  The setup procedure<br>will give this user/group some permissions in specific paths/files<br>to perform server-specific operations.<br><br>If you have not yet created a user and group for the server,<br>create this user and group using your native operating<br>system utilities.<br><br>System User [nobody]:<br>System Group [nobody]:<br><br>==============================================================================<br>Please specify the information about your configuration directory<br>server.  The following information is required:<br>- host (fully qualified), port (non-secure or secure), suffix,<br>  protocol (ldap or ldaps) - this information should be provided in the<br>  form of an LDAP url e.g. for non-secure<br>ldap://host.example.com:389/o=NetscapeRoot<br>  or for secure<br>ldaps://host.example.com:636/o=NetscapeRoot<br>- admin ID and password<br>- admin domain<br>- a CA certificate file may be required if you choose to use ldaps and<br>  security has not yet been configured - the file must be in PEM/ASCII<br>  format - specify the absolute path and filename<br><br>Configuration directory server URL [ldap://SERVER2:389/o=NetscapeRoot]:<br>Configuration directory server admin ID [admin]:<br>Configuration directory server admin password:<br>Configuration directory server admin password (confirm):<br>Configuration directory server admin domain [DOMAIN]: DOMAIN<br><br>==============================================================================<br>The information stored in the configuration directory server can be<br>separated into different Administration Domains.  If you are managing<br>multiple software releases at the same time, or managing information<br>about multiple domains, you may use the Administration Domain to keep<br>them separate.<br><br>If you are not using administrative domains, press Enter to select the<br>default.  Otherwise, enter some descriptive, unique name for the<br>administration domain, such as the name of the organization<br>responsible for managing the domain.<br><br>Administration Domain [DOMAIN]:<br><br>==============================================================================<br>The Administration Server is separate from any of your web or application<br>servers since it listens to a different port and access to it is<br>restricted.<br><br>Pick a port number between 1024 and 65535 to run your Administration<br>Server on. You should NOT use a port number which you plan to<br>run a web or application server on, rather, select a number which you<br>will remember and which will not be used for anything else.<br><br>Administration port [9830]:<br><br>==============================================================================<br>Registering new Config DS: SERVER2<br><br>==============================================================================<br>Input the Directory Server password on the server SERVER2:<br>Error: failed to register the configuration server info to the Configuration Directory Server SERVER2.<br><br><br><br /><hr /> <a href='' target='_new'></a></body>
</html>