Chapter 3 Clusters Netscape Application Server: Process Automation Edition (PAE) associates a configuration directory, a corporate user directory, a relational database, an Enterprise Server and one or more Netscape Application Servers into a cluster. Applications are deployed to a cluster and are copied to all Netscape Application Servers in the cluster. All applications in a cluster access the same set of shared components: database, directories, and Netscape Application Servers. Each Netscape Application Server that is part of PAE is associated with one and only one particular cluster. When designers deploy a new application, they must identify which cluster it belongs to. PAE replicates all applications across all Netscape Application Servers in a cluster and the administrator can manage all applications from any Process Administrator in the cluster.
Netscape Application Server: Process Automation Edition (PAE) associates a configuration directory, a corporate user directory, a relational database, an Enterprise Server and one or more Netscape Application Servers into a cluster. Applications are deployed to a cluster and are copied to all Netscape Application Servers in the cluster. All applications in a cluster access the same set of shared components: database, directories, and Netscape Application Servers.
About Clusters
Creating a Cluster
Joining an Existing Cluster
Managing a Cluster
an LDAP-compliant corporate user directory
a relational database
an LDAP-compliant configuration directory
one or more Netscape Application Servers, each with its own Process Administrator
Create a new cluster.
Join your Netscape Application Server to an existing cluster.
Change cluster information.
View the Process Administrator logs.
Remove your Netscape Application Server from a cluster.
Delete a cluster.
To create a cluster, follow these steps:
Launch your web browser.
Go to your local Process Administrator's home page at
http://yourServer/Administrator.apm
This initializes Process Administrator and displays the Create or Join Cluster page. This step may take longer the first time you initialize Process Administrator after installing or restarting your server.
Figure 3.1    The Create or Join Cluster page
Click the "Create a New Cluster" link. This displays the Create Cluster page.
Enter information about these components (For details, see the next section, New Cluster Information):
cluster
corporate users and groups directory
configuration directory
database information
mail server information
Click Create Cluster when you are done.
A series of diagnostic messages are displayed onscreen as the cluster is created. The last few lines contain instructions for modifying the Process Builder preferences.ini file.
Copy the lines from the onscreen messages and paste them into the preferences.ini file. This file identifies to the Process Builder which Directory Server to use as the corporate user directory and where one or more clusters are located in the configuration directory. You need to do this before a designer can access this cluster from Process Builder.
The Process Builder's preferences.ini file is located in the Process Builder root folder. This is the serverRoot/builder folder by default.
Figure 3.2    The Create Cluster page
Cluster DN. The full distinguished name for your cluster. That is, the directory path for the cluster data. For example, cn=PM Cluster, o=NetscapeRoot. For more information about what LDAP attributes to enter here, see Directory Server Terms and Attributes.
Cluster Display Name. The display name you choose for your cluster. (Optional)
Description. A more meaningful description of the cluster. (Optional)
Figure 3.3    The directory information sections
Host Name. The full host name for your corporate user directory. For example, corporate.airius.com.
Port Number. The port number for this directory. This defaults to 389 if you are using a Netscape Directory Server.
Base DN. The base distinguished name for the directory. For example, o=mcom.com. For more information about what LDAP attributes to enter here, see Directory Server Terms and Attributes.
Bind DN. (Optional) A valid user ID for a user of this directory. Leave this blank if PAE will be accessing the corporate directory as an anonymous user, which is the default. This allows read-only access.
Bind Password. (Optional) The password for this directory user. Leave this blank if PAE will be accessing the corporate directory as an anonymous user.
Figure 3.4    The configuration directory information section
Host Name. The full host name for the Directory Server that you plan to use for your cluster and application configuration. For example, netscape.mcom.com.
Port Number. The port number for this directory, which defaults to 389 because this is a Netscape Directory Server.
Bind DN. A valid user ID for a user of this directory. This user must have full Directory Server privileges. For example, the installation default is cn=Directory Manager. For more information about what LDAP attributes to enter here, see Directory Server Terms and Attributes.
Bind Password. The password for this directory user.
Figure 3.5    The database information section
Database Server Type. The type of database you are using from the drop-down list. The choices are Oracle and Sybase.
Database Server Identifier. The database server name that you used when you installed the database. See Databases for more information about databases.
Database. For Oracle, leave this blank. For Sybase, use the name for the database that Process Administrator should use for creating tables and views. Note: On Sybase, this database must already exist.
User ID. The user ID for a valid user for this database. The user must have enough privileges to create tables and write to them.
Password. The password for this database user.
Figure 3.6    The mail server information section Mail Server Information
Figure 3.6    The mail server information section
SMTP Server. (Optional) The mail server associated with the cluster.
SMTP Port. (Optional) The mail server port.
SMTP Reply To. (Optional) The reply-to address that appears on notifications sent to users by PAE applications. This address could be set to the PAE administrator's email address, so that the administrator would be the one handling any notification replies users send.
creates entries in the configuration directory
creates database tables
creates a cluster definition file (PMExtensionManager.properties) in your local PAE folder, at serverRoot/bpm. This file stores the machine name, port number, bind DN, and bind password for the configuration directory.
displays the URLs for the cluster and the corporate user directory so you or the designer can paste these lines into the preferences.ini file.
Go to your local Process Administrator's home page at http://yourServer/Administrator.apm. This displays the Create or Join Cluster page.
Click the "Join an Existing Cluster" link. This displays the Join Cluster page.
Enter information about these components (For details, see the next section, Existing Cluster Information):
the cluster you want to join
the cluster's configuration directory
Click Join Cluster when you are done.
serverRoot/bpm/PMExtensionManager.properties
Existing Cluster Information The administrator must provide this information about an existing cluster. The only general restriction is that you cannot use double quotation marks (").
Figure 3.7    The Join Cluster page
Cluster DN. The full distinguished name for your cluster. This is the directory path for the cluster data. For example, you could enter cn=PM Cluster, o=airius.com. For more information about what LDAP attributes to enter here, see Directory Server Terms and Attributes.
Host Name. The full host name for the Directory Server you plan to use for your cluster and application configuration. For example, sample.airius.com.
Bind DN. A valid user ID for a user of this directory. This user must have full Directory Server privileges. For example, you could enter cn=Directory Manager. For more information about what LDAP attributes to enter here, see Directory Server Terms and Attributes.
creates a file, PMExtensionManager.properties, on the Netscape Application Server machine
registers one AppLogic for each application in the existing cluster with Netscape Application Server
Changing Cluster Information
Accessing Directory Server Information
Viewing the Process Administrator Logs
Unjoining From a Cluster
Deleting a Cluster Figure 3.8    The Cluster Management page
Figure 3.8    The Cluster Management page
You must also change the corporate directory on your Enterprise Server to match that of the LDAP URL. You can change this in the dbswitch.conf file.
To change a cluster's information, follow these steps:
Go to Process Administrator's home page at http://yourServer/Administrator.apm.
Click the Cluster Management tab.
Click the Change Cluster Information button. This displays the Change Cluster page.
You can enter information about these cluster components (For details, see the next section, New Cluster Information):
cluster (name, description, and directory server information)
database (password only)
Click Apply Changes when you are done. Figure 3.9    The Change Cluster Information page
Figure 3.9    The Change Cluster Information page
Cluster Name. The user-defined display name for the cluster.
Cluster Description. Text describing the cluster.
User Directory Host Name. The server name for the corporate user directory.
User Directory Port. The port number for the corporate user directory. This defaults to 389 for Netscape Directory Servers.
User Directory Base DN. The directory suffix (or "base DN") for the corporate user directory. For more information about what LDAP attributes to enter here, see Directory Server Terms and Attributes.
User Directory Bind DN. (Optional) The user ID for a user of this directory server. Leave this blank if PAE will be accessing the corporate directory as an anonymous user.
User Directory Bind Password. (Optional) The password for this directory user. Leave this blank if PAE will be accessing the corporate directory as an anonymous user.
Database Password. The database user's password.
SMTP Server Host. The mail server associated with the cluster.
SMTP Server Port. The mail server port.
SMTP Reply To. The reply-to address that appears on notifications sent to users by PAE applications. This address could be set to the PAE administrator's email address, so that the administrator would be the one handling any notification replies users send.
Figure 3.10    A sample Process Administrator's log
serverRoot/bpm/admin/logs
Unjoining From a Cluster You can unjoin an application server from a cluster. This revises the entries in the configuration directory and removes the applications that are stored on that server machine.
Scroll down on the Cluster Information page.
Click the "Unjoin from Cluster" button.
removes that server's entry from the configuration directory
deletes the PMExtensionManager.properties file from the server's file system
Click Delete Cluster. This displays the Delete Cluster page.
Figure 3.11    The Delete a Cluster page
If you want to keep the application data, select the "Keep the data in the database" radio button.
If you want to delete the application data, select the "Delete the data in the database" radio button.
Click Delete Cluster to delete the cluster (and your user data if you chose that option).