This procedure uses the index file on am1 to update the Directory Server instance on ds2 with indexes that support Access Manager.
Copy the following file from am1 to /tmp on ds2:
/etc/opt/SUNWam/config/ldif/index.ldif
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 |
Using the Web Console, re-index the dc=pstest, dc=com suffix.
Start a Browser.
Go to the Web Console login page.
https://ds1.pstest.com:6789
The Web Console login page opens.
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.
In the DSCC main page, click the Servers tab.
Locate the link for ds2:389 and click the link.
Click the Suffix tab.
Locate the link for dc=pstest,dc=com and click the link.
Click the Indexes tab.
Locate the list of Suffix Actions and select Regenerate Indexes.
The Index Regeneration panel opens.
In the Index Regeneration panel, click Add All.
All the listed attributes move from the Available list to the Selected list.
Click OK.
The indexes are regenerated.
Wait for the regeneration process to complete and click Close.