In this procedure, you create a Directory Server instance named am-users for storing user data on Directory Server 1. The new instance uses the ports for non-root users: 1489 for LDAP and 1736 for LDAPS. This instance will be populated with user information in Chapter 7, Configuring an Access Manager Realm for User Authentication.
By default, Directory Server always creates a secure LDAP port when creating an instance. We do not use this port.
As a root user, log in to the DirectoryServer–1 host machine.
Run dsadm create to create a user data instance called am-users.
# cd /var/opt/mps/serverroot/ds6/bin # ./dsadm create -p 1489 -P 1736 /var/opt/mps/am-users Choose the Directory Manager password: d1rm4n4ger Confirm the Directory Manager password: d1rm4n4ger Use 'dsadm start /var/opt/mps/am-users' to start the instance |
Run dsadm start to start the instance.
# ./dsadm start /var/opt/mps/am-users Server started: pid=10381 |
Run netstat to verify that the new instance is up and running.
# netstat -an | grep 1489 .1489 *.* 0 0 49152 0 LISTEN |
Run ldapsearch to verify that you can read the root Directory Server entry (DSE) of the new instance.
# ldapsearch -h DirectoryServer-1.example.com -p 1489 -b "" -s base "(objectclass=*)" version: 1 dn: objectClass: top ... supportedLDAPVersion: 3 vendorname: Sun Microsystems, Inc. vendorVersion: Sun-Java(tm)-System-Directory/6.0 ... |