This chapter describes increasing Netscape Application Server resources, which can increase application performance.
Adding and Tuning Java Server and C++ Server Processes
Adjusting the Number of Threads for a Process
Adjusting the Restart Option of the Administrative Server
Implementing a Multi-Process, Single-Threaded Environment
Configuring Directory Server Failover
On the NAS Administrator toolbar, click the General button to open the General window.
In the left pane of the General window, select the NAS machine where you want to add the KJS process.
From the File menu, choose New, then Process.
The Add Process dialog box appears.
In the Process drop-down box, choose KJS or KCS.
In the Port Number text box, specify an unused port number where the additional process will run.
Click OK to dismiss the dialog box.
If this process is to be used in a single-threaded environment, perform the following steps:
Click the process in the left pane of the General window.
In the right pane of the window, set the Default Minimum and Default Maximum Threads to 1.
Click the Apply Changes button to save your changes.
In the left pane of the General window, select the server whose number of threads you want to adjust.
In the Default Minimum Threads text box, enter the minimum number of threads available for the Java Server (KJS), C++ Server (KCS), and Executive Server (KXS) processes of the selected NAS machine.
In the Default Maximum Threads text box, enter the maximum number of threads available for the KJS, KCS, and KXS processes of the selected NAS machine.
Click Apply Changes to save your changes.
In the left pane of the General window, select the process whose number of threads you want to adjust.
In the Default Minimum Threads text box, enter the minimum number of threads available for that process.
These settings override the default settings set at the server level.
In the Default Maximum Threads text box, enter the maximum number of threads available for that process.
In the left pane of the General window, select the NAS machine whose you Administrative Server restart option you want to adjust.
In the right pane of the General window, in the Maximum Number of Restarts text field, enter the new value.
Add KJS or KCS processes.
See Adding and Tuning Java Server and C++ Server Processes.
Adjust the request threads allocated for those processes to 1.
See Adjusting the Number of Threads for a Process.
cn=Global, cn=nasconfig, cn=NAScluster, o=NetscapeRoot
NAS install directory/manual/en/slapd/ag/replicat.htm
In the General window, click the LDAP tab to display the following screen:
Each Directory Server associated with your NAS machine appears in the window.
To add a secondary Directory Server, click the Add button.
The following dialog box appears:
Enter the new server's information.
Click OK.