Deployment Example 1: Access Manager 7.1 Load Balancing, Distributed Authentication UI, and Session Failover

ProcedureTo Create a User Data Instance for Directory Server 2

In this procedure, you create a Directory Server instance named am-users for storing user data on Directory Server 2. 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.


Note –

By default, Directory Server always creates a secure LDAP port when creating an instance. We do not use this port.


  1. As a root user, log in to the DirectoryServer–2 host machine.

  2. 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
  3. Run dsadm start to start the instance.


    # ./dsadm start /var/opt/mps/am-users
    
    Server started: pid=10381
  4. Run netstat to verify that the new instance is up and running.


    # netstat -an | grep 1489
    
    .1489		*.*		0		0  49152		0 LISTEN
  5. Run ldapsearch to verify that you can read the root DSE of the new instance.


    # ldapsearch -h DirectoryServer-2.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
    ...