Chapter 4. Silent Installation and Instance Creation
4.2. Using Silent Instance Creation
If you have Directory Server installed in a server root, you can create additional instances of Directory
Server under the same server root without having to run the setup program. You can create additional
instances of the server either by using Red Hat Console or from the command-line.
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
program, which is located in the
ds_create
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 commandline.
To
create
a
new
ServerRoot/bin/slapd/admin/bin
ds_create -f filename
Where filename is the silent instance creation file, which must be similar to the file used with the
setup program (refer to Section 4.1.2 Preparing Silent Installation Files) except that the file must only
contain the following two sections:
•
[General]
•
[slapd]
These sections do not take the
Here's a sample file for instance creation. The
You need to remove the
[General]
FullMachineName= testDir.example.com
ServerRoot= /opt/redhat-ds/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
SlapdConfigForMC= No
UseExistingMC= Yes
UseExistingUG= No
SecurityOn= No
UseReplication= No
AddSampleEntries= No
InstallLdifFile= suggest
AddOrgEntries= Yes
instance
of
Directory
directory:
directive.
Components
and make that one single line.
\
serverRoot/bin/slapd/admin/bin
Server,
run
is inserted to break the line for printing purposes.
\
this
command
from
41
directory,
the
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 and is the answer not in the manual?
Questions and answers