[Fedora-directory-users] Configuration Directory Question

Richard Megginson rmeggins at redhat.com
Thu Jul 26 17:59:56 UTC 2007


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 at redhat.com
> > To: fedora-directory-users at 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 at redhat.com
> > > > To: fedora-directory-users at 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 at 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 at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20070726/a2c6ef84/attachment.bin>


More information about the 389-users mailing list