Thanks for your patience - and apoloiges for that rookie typo error.Fixed that and retried a few times but still to no avail - new instance is created and running ok but doesn't show up in the admin console. Where does the admin server get this list of servers etc from (and will that info help me!?).If I install an instance on server2 and point it towards the config instance on server1 as part of the setup script then it does appear in the console and all is well in my DS world...Seems only to cause problems when I'm trying to create a new data instance (using ds_newinst.pl) on the server1 when the config instance (created during install/setup) is already there. If there were an option to create a new instance via the console and specify a separate configuration directory it'd be easy...presumably!Is this the normal way to do this? Kind regards,James> Date: Thu, 26 Jul 2007 10:03:28 -0600> From: rmeggins@redhat.com> To: fedora-directory-users@redhat.com> Subject: Re: [Fedora-directory-users] Configuration Directory Question> > James Deuchar wrote:> > Thanks for the swift response - size depends on the success of the > > project - am tempted to go with external config directory assuming I > > can get it working...> >> > I tried to the procedure I listed below i.e. installed the RPM, ran > > setup to create a 'dsconfig' instance on port 5555.> >> > Then I created a master.inf file for inputing into the ds_newinst.pl > > script:> >> > [General]> > FullMachineName= server1.jamesd.com> > SuiteSpotUserID= ldap> > ServerRoot= /opt/fedora-ds> > ConfigDirectoryAdminID= admin> > ConfigDirectoryAdminPwd= blah> > ConfigDirectoryLdapURL= ldap://server1.jamesd.com:5555/o=NetscapeRoot> > AdminDomain= jamesd.com> >> > [slapd]> > ServerPort= 389> > ServerIdentifier= master01> > Suffix= dc=jamesd,dc=com> > RootDN= cn=Directory Manager> > RootDNPwd= blah> > UserExistingMC=1> This should be "UseExistingMC" not "User"> >> > When I ran that it seemed to work - instance called master01 was > > created and is running.> >> > When running the console though, it's not listed - only the > > Administration Server and 'dsconfig' Directory Server instance.> >> > How can I make the master01 instance appear in the admin console and > > also verify that master01 is using dsconfig to stores is configuration > > data?> >> > Thanks again> >> >> > > Date: Thu, 26 Jul 2007 09:33:37 -0600> > > From: rmeggins@redhat.com> > > To: fedora-directory-users@redhat.com> > > Subject: Re: [Fedora-directory-users] Configuration Directory Question> > >> > > James Deuchar wrote:> > > > Hi,> > > >> > > > I've got a what I thought was a relatively simple DS setup with two> > > > master DS servers doing master-master replication. In the future> > > > slaves may be added into the equation.> > > >> > > > Initially I installed both servers the same - as standalone DS' each> > > > with it's own admin server and 'in-house' o=NetscapeRoot > > configuration> > > > directory.> > > >> > > > Reading some of the Redhat docs on 'Configuration decisions' it talks> > > > about having the configuration directory in a separate directory> > > > instance - based on what I've seen from the DS setup script this> > > > implies supplying those details during the install of the real DS> > > > instances that will contain the data.> > > >> > > > Is my understanding correct? Does this mean I should be installing an> > > > independent configuration directory on both masters and setup> > > > replication between them to provide a redundant configuration> > > > directory alongside the redundant data directories?> > > For small deployments, you can have your config DS and data DS be > > the same.> > > >> > > > If so is the install procedure reasonable?:> > > >> > > > - install fedora RPM on server 1> > > > - Run setup script to create server 1 config directory> > > > - Run ds_newinst.pl to create data directory on the same server> > > > pointing it to the local config directory during setup> > > > - Repeat on server 2> > > > - Setup replication on data masters and on config directories> > > Sure.> > > >> > > > Many thanks!> > > >> > > > > > ------------------------------------------------------------------------> > > > Are you the Quizmaster? Play BrainBattle with a friend now!> > > > http://specials.uk.msn.com/brainbattle> > > > > > ------------------------------------------------------------------------> > > >> > > > --> > > > Fedora-directory-users mailing list> > > > Fedora-directory-users@redhat.com> > > > https://www.redhat.com/mailman/listinfo/fedora-directory-users%3E > > >> > >> >> > ------------------------------------------------------------------------> > Email straight to your blog, upload jokes, photos and more. Windows > > Live Spaces, it's FREE! > > http://specials.uk.msn.com/spaces/default.aspx%20> > ------------------------------------------------------------------------> >> > --> > Fedora-directory-users mailing list> > Fedora-directory-users@redhat.com> > https://www.redhat.com/mailman/listinfo/fedora-directory-users%3E > > _________________________________________________________________ Celeb spotting – Play CelebMashup and win cool prizes https://www.celebmashup.com/index2.html
James Deuchar wrote:
Thanks for your patience - and apoloiges for that rookie typo error.
Fixed that and retried a few times but still to no avail - new instance is created and running ok but doesn't show up in the admin console. Where does the admin server get this list of servers etc from (and will that info help me!?).
/opt/fedora-ds/shared/config/dbswitch.conf points to only one config DS at a time. There is no provision for multiple active config DS or automatic failover.
If I install an instance on server2 and point it towards the config instance on server1 as part of the setup script then it does appear in the console and all is well in my DS world...
Seems only to cause problems when I'm trying to create a new data instance (using ds_newinst.pl) on the server1 when the config instance (created during install/setup) is already there. If there were an option to create a new instance via the console and specify a separate configuration directory it'd be easy...presumably!
Is this the normal way to do this?
Kind regards,
James
Date: Thu, 26 Jul 2007 10:03:28 -0600 From: rmeggins@redhat.com To: fedora-directory-users@redhat.com Subject: Re: [Fedora-directory-users] Configuration Directory Question
James Deuchar wrote:
Thanks for the swift response - size depends on the success of the project - am tempted to go with external config directory assuming I can get it working...
I tried to the procedure I listed below i.e. installed the RPM, ran setup to create a 'dsconfig' instance on port 5555.
Then I created a master.inf file for inputing into the ds_newinst.pl script:
[General] FullMachineName= server1.jamesd.com SuiteSpotUserID= ldap ServerRoot= /opt/fedora-ds ConfigDirectoryAdminID= admin ConfigDirectoryAdminPwd= blah ConfigDirectoryLdapURL= ldap://server1.jamesd.com:5555/o=NetscapeRoot AdminDomain= jamesd.com
[slapd] ServerPort= 389 ServerIdentifier= master01 Suffix= dc=jamesd,dc=com RootDN= cn=Directory Manager RootDNPwd= blah UserExistingMC=1
This should be "UseExistingMC" not "User"
When I ran that it seemed to work - instance called master01 was created and is running.
When running the console though, it's not listed - only the Administration Server and 'dsconfig' Directory Server instance.
How can I make the master01 instance appear in the admin console and also verify that master01 is using dsconfig to stores is
configuration
data?
Thanks again
Date: Thu, 26 Jul 2007 09:33:37 -0600 From: rmeggins@redhat.com To: fedora-directory-users@redhat.com Subject: Re: [Fedora-directory-users] Configuration Directory
Question
James Deuchar wrote:
Hi,
I've got a what I thought was a relatively simple DS setup
with two
master DS servers doing master-master replication. In the future slaves may be added into the equation.
Initially I installed both servers the same - as standalone
DS' each
with it's own admin server and 'in-house' o=NetscapeRoot
configuration
directory.
Reading some of the Redhat docs on 'Configuration decisions'
it talks
about having the configuration directory in a separate directory instance - based on what I've seen from the DS setup script this implies supplying those details during the install of the real DS instances that will contain the data.
Is my understanding correct? Does this mean I should be
installing an
independent configuration directory on both masters and setup replication between them to provide a redundant configuration directory alongside the redundant data directories?
For small deployments, you can have your config DS and data DS be
the same.
If so is the install procedure reasonable?:
- install fedora RPM on server 1
- Run setup script to create server 1 config directory
- Run ds_newinst.pl to create data directory on the same server
pointing it to the local config directory during setup
- Repeat on server 2
- Setup replication on data masters and on config directories
Sure.
Many thanks!
Are you the Quizmaster? Play BrainBattle with a friend now! http://specials.uk.msn.com/brainbattle
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Email straight to your blog, upload jokes, photos and more. Windows Live Spaces, it's FREE! http://specials.uk.msn.com/spaces/default.aspx%20
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
The future of MSN Messenger! Windows Live Messenger
http://imagine-msn.com/messenger/launch/en-GB/
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
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
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.
This information is stored in a couple of places. The first is in the file /opt/fedora-ds/shared/config/dbswitch.conf. I think it is also stored under o=NetscapeRoot somewhere, but I can't remember where. But you at least have to edit dbswitch.conf and restart the admin server on each machine.
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@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
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@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
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@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] 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: [Fedora-directory-users] 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@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
hi cary
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_cha...
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@calpers.ca.gov 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@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] 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: [Fedora-directory-users] 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@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
389-users@lists.fedoraproject.org