you can login to secondary master using admin console be changing in 3 different places
1. /opt/fedora-ds/admin-serv/config/adm.conf
2. /opt/fedora-ds/shared/config/dbswitch.conf
edit an entry under the configuration directory server under the suffice 0=netscaperoot
The entry can be found by first doing the following ldapsearch:
#ldapsearch -x -b o=netscaperoot -D "cn=Directory Manager" -w password "nsDirectoryURL=*"
It would return similar to below
dn: cn=UserDirectory, ou=Global Preferences, ou=localdomain, o=NetscapeRoot
Copy the above dn: and create an ldif file with below contents
dn: cn=UserDirectory, ou=Global Preferences, ou=localdomain, o=NetscapeRoot //Comment, Replace this line with your result of ldapsearch query
changetype: modify
replace: nsDirectoryURL
nsDirectoryURL: ldap://<secondary-master-ip/hostname/fqdn/>:port/suffix
You can refer the below link
http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt#How_to_change_the_user.2Fgroup_LDAP_server
Regards
Niranjan
Restart the admin console
#/opt/fedora-ds/stop-admin
#/opt/fedora-ds/start-admin
Then you can login to secondary master using adminconsole.
On 8/17/07, Anderson, Cary
<Cary_Anderson@xxxxxxxxxxxxxx> wrote:
Satish,
I installed the second ldap master on server2. I also created a
netscapeRoot database on server2 in order to replicate it from the
master on server1.
I did not create an instance from the console.
Cary Anderson, Systems Software Specialist
UNIX/Linux Services
Information Technology Services Branch
Technology Services & Support Division / Data Center Section
System Software & Storage Infrastructure
fCalPERS
Phone: (916) 795-2588
Fax: (916) 795-2424
-----Original Message-----
From: fedora-directory-users-bounces@xxxxxxxxxx
[mailto: fedora-directory-users-bounces@xxxxxxxxxx] On Behalf Of Satish
Chetty
Sent: Thursday, August 16, 2007 11:58 AM
To: General discussion list for the Fedora Directory server project.
Subject: Re: Admin Console Problems
Cary,
Where is the second master? Same machine? How did you create the
2nd
Master? Did you 'create an instance' from the console?
-Satish.
Anderson, Cary wrote:
> I have setup 2 Master LDAP servers. During the setup I configured the
> second master to be a part of an existing configuration directory.
>
> When both masters are up, I can launch the console just fine from
> either server. When I take down the master on server1 and attempt to
> bring up the console from server2, I get the message that it cannot
> contact the master on server1. and asks if I want to start the server
> on server1.
>
> I want to be able to launch the console from server2 when server1 is
> down. Anyone know how to set this up?
>
> I have confirmed that the adm-serv is running on server2 and I am
> running ./startconsole -a http://server2:5555 from server2 when I get
> the message cannot connect to server1.
>
> Thanks
>
> Cary Anderson, Systems Software Specialist
> UNIX/Linux Services
> Information Technology Services Branch
> Technology Services & Support Division / Data Center Section System
> Software & Storage Infrastructure fCalPERS
> Phone: (916) 795-2588
> Fax: (916) 795-2424
>
>
>
> --
> Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
--
Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users
--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users