Sun Java System Reference Configuration Series: Portal Service on Application Server Cluster

ProcedureTo Update the Directory Indexes

This procedure uses the index file on am1 to update the Directory Server instance on ds2 with indexes that support Access Manager.

  1. Copy the following file from am1 to /tmp on ds2:

    /etc/opt/SUNWam/config/ldif/index.ldif

  2. Add the indexes to the Directory Server instance on ds2.

    # ldapmodify -D "cn=Directory Manager" -c -a -h ds2 -p 389 -f /tmp/index.ldif

    When prompted, type the directory-manager-password.

    The response should resemble the following:


    adding new entry cn=nsroledn,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config ldap_add: Already exists
    adding new entry cn=memberof,cn=index,cn=pstest, 
        cn=ldbm database, cn=plugins,cn=config
    adding new entry cn=iplanet-am-static-group-dn,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=iplanet-am-static-group-dn,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=iplanet-am-modifiable-by,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=iplanet-am-user-federation-info-key,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=sunxmlkeyvalue,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=o,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=ou,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=sunPreferredDomain,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=associatedDomain,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
    adding new entry cn=sunOrganizationAlias,cn=index,cn=pstest,
        cn=ldbm database,cn=plugins,cn=config
  3. Using the Web Console, re-index the dc=pstest, dc=com suffix.

    1. Start a Browser.

    2. Go to the Web Console login page.

      https://ds1.pstest.com:6789

      The Web Console login page opens.

    3. Log in to the Web Console by typing the following values and clicking Login.

      Input Field 

      Value 

      User ID 

      root

      password 

      root-password

      The DSCC main page in Web Console opens.

    4. In the DSCC main page, click the Servers tab.

    5. Locate the link for ds2:389 and click the link.

    6. Click the Suffix tab.

    7. Locate the link for dc=pstest,dc=com and click the link.

    8. Click the Indexes tab.

    9. Locate the list of Suffix Actions and select Regenerate Indexes.

      The Index Regeneration panel opens.

    10. In the Index Regeneration panel, click Add All.

      All the listed attributes move from the Available list to the Selected list.

    11. Click OK.

      The indexes are regenerated.

    12. Wait for the regeneration process to complete and click Close.