Table 3-5 [admin] directives (continued)

Directive

Description

Required Example

ServerAdminPwd

Specifies the password for

No

 

the Administration Server

 

 

user.

 

 

 

 

ServerIpAddress

Specifies the IP address on

No

 

which the Administration

 

 

Server will listen. Use this

 

 

directive if you are

 

 

installing on a

 

 

multi-homed system and

 

 

you do not want to use the

 

 

first IP address for the

 

 

Administration Server.

 

 

 

 

3.6.7.3 Sample setup files

This section provides examples of setup files, one for a custom installation and one for a typical setup. These can be used as templates for silent setup. If you have many Directory Server instances to set up, when you create the first instance, you can run the setup script interactively with the -koption, which saves the setup file after the installation. You can then use variations of this setup file for silent set up of subsequent instances, defining a unique instance name and port number for each run (and if setting up Directory Server on another system, defining the host name).

Example 3-1includes a setup file for a custom installation.

Example 3-1 Example of setup file for a custom installation

[General]

 

FullMachineName=

ldap.example.com

SuiteSpotUserID=

www

SuiteSpotGroup=

other

AdminDomain=

example.com

ConfigDirectoryAdminID=

admin

ConfigDirectoryAdminPwd=

Admin123

ConfigDirectoryLdapURL=

ldap://ldap.example.com:389/o=NetscapeRoot

[slapd]

 

SlapdConfigForMC=

Yes

UseExistingMC=

No

ServerPort=

389

ServerIdentifier=

example

Suffix=

dc=example,dc=com

RootDN=

cn=directory manager

RootDNPwd=

Secret123

InstallLdifFile=

suggest

AddOrgEntries=

Yes

[admin]

 

SysUser=

www

Port=

9830

ServerIpAddress=

192.0.2.25

ServerAdminID=

admin

ServerAdminPwd=

Admin123

 

 

Example 3-2includes a setup file for registering the instance with a configuration directory server setup, which is the typical setup.

34 Setting up HP-UX Directory Server