Chapter 10. Managing Indexes
334
10.3.2.2. Running the db2index.pl Script
After deleting an indexing entry or some of the index types from an indexing entry, run the
db2index.pl
script to generate the new set of indexes to be maintained by the Directory Server.
Once you run the script, the new set of indexes is active for any new data you add to your directory
and any existing data in your directory.
To run the
db2index.pl
Perl script, do the following:
1. Open the Directory Server instance directory.
2
cd /usr/lib/dirsrv/slapd-
instance_name
2. Run the
db2index.pl
Perl script. For example:
db2index.pl-D "cn=Directory Manager" -w password -n Example1
For more information about using the
db2index.pl
Perl script, refer to
Directory Server
Configuration, Command, and File Reference
.
Table 10.6, “db2index Options”
describes the
db2index.pl
options used in the examples:
Option
Description
-D
Specifies the DN of the administrative user.
-w
Specifies the password of the administrative
user.
-n
Specifies the name of the database into which
you are importing the data.
Table 10.6. db2index Options
10.3.3. Deleting Browsing Indexes from the Server Console
To delete a browsing index through the Directory Server Console, do the following:
1. Select the
Directory
tab.
2. Select the entry from which to delete the index in the navigation tree, and select
Delete Browsing
Index
from the
Object
menu.
Alternatively, select and right-click the entry of the index to delete in the navigation tree, and then
choose
Delete Browsing Index
from the pop-up menu.
3. A
Delete Browsing Index
dialog box appears asking you to confirm the deletion of the index.
Click
Yes
.
4. The
Delete Browsing Index
dialog box appears displaying the status of the index deletion.
10.3.4. Deleting Browsing Indexes from the Command-Line
Deleting a browsing index or virtual list view (VLV) index from the command-line involves two steps:
1. Using the
ldapdelete
to delete browsing index entries or edit existing browsing index entries
(
Section 10.3.4.1, “Deleting a Browsing Index Entry”
).
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...