Maintaining Directory Databases

nsslapd-readonly: on

NOTE

By default, the name of the database created at installation time is userRoot.

2.2.1.3. Placing the Entire Directory Server in Read-Only Mode

If the Directory Server maintains more than one database and all databases need to be placed in read-only mode, this can be done in a single operation.

WARNING

This operation also makes the Directory Server configuration read-only; therefore, you cannot update the server configuration, enable or disable plug-ins, or even restart the Directory Server while it is in read-only mode. Once read-only mode is enabled, it cannot cannot be undone from the Console; you must modify the configuration files.

NOTE

If Directory Server contains replicas, do not use read-only mode because it will disable replication.

To put the Directory Server in read-only mode, do the following:

1.In the Directory Server Console, select the Configuration tab, and then select the top entry in the navigation tree in the left pane.

2.Select the Settings tab in the right pane.

3.Select the Make Entire Server Read-Only checkbox.

4.Click Save, and then restart the server.

2.2.2. Deleting a Database

Deleting a database deletes the configuration information and entries for that database only, not

63

Page 83
Image 83
HP UX Red Hat Direry Server Software manual Deleting a Database, Placing the Entire Directory Server in Read-Only Mode