Red Hat Directory Server B.08.00 for HP-UX Release Notes and Supplemental Instructions

“Configuring the Autostart Option” (page 29)
“Tuning Database Performance (page 29)
Configuring the Autostart Option
By default, Red Hat Directory Server 8.0 configures the autostart options for the Directory Server
and Administration Server daemons so they automatically start at system startup. If SSL is
enabled for a Directory Server instance, the autostart feature skips that instance because the
daemon prompts for the SSL key password.
For information about SSL, see “Managing SSL” in the Red Hat Directory Server 8.0 Administrator's
Guide.
Disabling the Autostart Option
To disable the autostart option for the Directory Server or Administration Server, follow these
steps:
1. To disable the autostart option for the Directory Server, edit the
/etc/rc.config.d/Rhds-ds file and set RHDS_DIRECTORY to 0.
2. To disable the autostart option for the Administration Server, edit the
/etc/rc.config.d/Rhds-adm file and set RHDS_ADMIN to 0.
Tuning Database Performance
Three major parameters affect Directory Server performance: nsslapd-dbcachesize,
nsslapd-cachememsize and nsslapd-cachesize. Chapter 14, "Tuning Directory Server
Performance" in the Red Hat Directory Server 8.0 Administrator's Guide contains detailed information
about how to configure these parameters. In addition, the Red Hat Directory Server 7.1 for HP-UX11i
v2 Integrity System Performance Tuning and Sizing Guidelines contain detailed information about
sizing and performance tuning guidelines.
For Red Hat Directory Server 8.0, you must configure the Maximum Cache Size parameter,
nsslapd-dbcachesize, in combination with the Memory Available for Cache parameter,
nsslapd-cachememsize. If not, you might experience serious degradation in database
performance.
The following are the recommended settings for these parameters to tune the Directory Server
for better performance on an HP-UX system.
NOTE: The recommendations made in this section are based on Directory Service processes
that are tuned to use only one heap arena. For more information, see “Heap Arenas” (page 30).
nsslapd-cachesize
The parameter nsslapd-cachesize corresponds to the Maximum Entries in Cache
label on the Directory Server Console screen.
The default setting for the nsslapd-cachesize parameter (-l for unlimited) is appropriate.
nsslapd-dbcachesize and nsslapd-cachememsize
The parameter nsslapd-dbcachesize corresponds to the Maximum Cache Size label
on the Directory Server Console screen. The parameter nsslapd-cachememsize
corresponds to the Maximum Entries in Cache label.
Tune the nsslapd-dbcachesize parameter and the nsslapd-cachememsize parameter
values to a maximum combined value that is less than or equal to the maximum data segment
size (maxdsiz or maxdsiz_64bit) for each user process. Set the nsslapd-dbcachesize
and nsslapd-cachememsize parameters using the Directory Server Console.
Use the following formula to keep the maximum combined size less than or equal to the
maximum data segment size:
Post-Configuration Tasks 29