After installing the binaries, create an instance of Directory Server 1 named am-config on the DirectoryServer–1 host machine. The instance uses the default ports for non-root users: 1389 for LDAP and 1636 for LDAPS. It will be populated with Access Manager configuration data in To Configure Access Manager 1.
By default, Directory Server always creates a secure LDAP port when creating an instance. We do not use this port.
This procedure assumes you have just completed To Install Directory Server 1.
As a root user on the DirectoryServer–1 host machine, run dsadm create to create the instance.
# cd /var/opt/mps/serverroot/ds6/bin # ./dsadm create -p 1389 -P 1636 /var/opt/mps/am-config Choose the Directory Manager password: d1rm4n4ger Confirm the Directory Manager password: d1rm4n4ger use 'dsadm start /var/opt/mps/am-config' to start the instance |
Run dsadm start to start the instance.
# ./dsadm start /var/opt/mps/am-config Server started: pid=10381 |
Run netstat to verify that the new instance is up and running.
# netstat -an | grep 1389 .1389 *.* 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 1389 -b "" -s base "(objectclass=*)" version: 1 dn: objectClass: top ... supportedLDAPVersion: 3 vendorname: Sun Microsystems, Inc. vendorVersion: Sun-Java(tm)-System-Directory/6.0 ... |