Installation guide
Using Silent Instance Creation
80 Netscape Directory Server Installation Guide • December 2003
Because all instances of Directory Server under a server root use the same
Administration Server, the instance creation process does not install
Administration Server binaries; you cannot create two instances of Administration
Server in one server root.
Having multiple instances in a single server root is useful for testing and for when
one host is used for multiple purposes. Keep in mind that each Directory Server
instance must be assigned a different port number and server identifier.
The
ds_create program, which is located in the serverRoot/bin/slapd/admin/bin
directory, enables you to create additional instances of Directory Server under a
server root. You may want to use this program when you already have Directory
Server installed and just want to create additional instances of the server from the
command line.
To create a new instance of Directory Server, run this command from the
serverRoot/bin/slapd/admin/bin directory:
ds_create -f filename
where filename is the silent instance creation file, which must be similar to the file
used with the
setup program (see “Preparing Silent Installation Files” on page 68)
except that the file must only contain the following two sections, and these sections
do not take Components directive.
•
[Genaral]
• [slapd]
Here’s a sample file for instance creation:
[General]
FullMachineName= testDir.example.com
ServerRoot= /usr/netscape/servers
AdminDomain= example.com
ConfigDirectoryAdminID= admin
ConfigDirectoryAdminPwd= secretPwd01
ConfigDirectoryLdapURL=
ldap://testDir.example.com:389/o=NetscapeRoot
UserDirectoryAdminID= admin
UserDirectoryAdminPwd= secretPwd02
UserDirectoryLdapURL=
ldap://testDir.example.com:389/dc=europe,dc=example,dc=com
[slapd]
ServerPort= 389
ServerIdentifier= instance02
RootDN= cn=Directory Manager
RootDNPwd= DirMgrPwd
Suffix= dc=europe,dc=example,dc=com