Previous Contents Index Next |
iPlanet Process Manager 6.0 (SP2) Process Adminstrator’s and Business Manager’s Guide |
Chapter 4 Managing Clusters
Process Manager Version 6.0 Service Pack 2 associates a configuration directory, a corporate user directory, a relational database, one or more iPlanet Web Servers and one or more iPlanet Application Servers into a cluster. Applications are deployed to a cluster and are copied to all iPlanet Application Servers in the cluster. All applications in a cluster access the same set of shared components: database, directories, and application servers.
Each iPlanet Application Server that is part of Process Manager is associated with one and only one particular cluster. When designers deploy a new application, they must identify which cluster it belongs to. Process Manager replicates all applications across all application servers in a cluster and the administrator can manage all applications from any Process Administrator in the cluster.
This chapter describes these topics:
About Clusters
Creating a Cluster
Joining an Existing Cluster
Managing a ClusterAbout Clusters
A cluster associates these components:
an LDAP-compliant corporate user directory
a relational database
an LDAP-compliant configuration directory
one or more iPlanet Application Servers, each with its own Process AdministratorThe initial cluster includes one iPlanet Application Server. Later you can join additional application servers to an existing cluster as needed. Note that each application server can only belong to one cluster, and you must have a cluster available in order to use Process Manager.
Each Process Manager-enabled application server has its Process Administrator. You can use any Process Administrator and get the same view of a cluster because all applications are fully replicated to all application servers in a cluster.
As the Process Manager administrator, you can perform these tasks that relate to clusters:
Create a new cluster.
Join your iPlanet Application Server to an existing cluster.
Change cluster information.
View the Process Administrator logs.
Remove your iPlanet Application Server from a cluster.
Delete a cluster.Creating a Cluster
You administer Process Manager through the Process Administrator interface on an Enterprise Server. The first time you access Process Administrator's home page after installing Process Manager, Process Administrator detects that this iPlanet Application Server is not yet associated with any cluster and immediately prompts you to create or join a cluster.
To create a cluster, follow these steps:
Launch your web browser.
Go to your local Process Administrator's home page athttp://
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 4-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
Click Create Cluster when you are done.
corporate users and groups directory
configuration directory
database information
mail server information
event user information
Copy the lines from the onscreen messages and paste them into the
- 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.
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 theserverRoot
/builder
folder by default.
Once you've completed these steps, designers can deploy applications to a cluster.
New Cluster Information
The administrator must provide information about a new cluster. The only general restriction is that you cannot use double quotation marks (").
Figure 4-2    The Create Cluster page
General Cluster Information
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.The display name you choose for your cluster. (Optional)
A more meaningful description of the cluster. (Optional)
Figure 4-3    The directory information sections
For further information on Directory Server terminology, see LDAP Terms.
Corporate User Directory Information
The full host name for your corporate user directory. For example,
corporate.airius.com
.The port number for this directory. This defaults to 389 if you are using a Netscape Directory Server.
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.(Optional) A valid user ID for a user of this directory. Leave this blank if Process Manager will be accessing the corporate directory as an anonymous user, which is the default. This allows read-only access.
(Optional) The password for this directory user. Leave this blank if Process Manager will be accessing the corporate directory as an anonymous user.
Figure 4-4    The configuration directory information section
Configuration Directory Information
The full host name for the Directory Server that you plan to use for your cluster and application configuration. For example,
netscape.mcom.com
.The port number for this directory, which defaults to 389 because this is a Netscape Directory Server.
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.The password for this directory user.
Figure 4-5    The database information section
Database Information
Select the type of database you are using from the drop-down list. The choices are Informix, Oracle and Sybase.
The database server name that you used when you installed the database. This field need only be filled when using a native driver. Leave this field blank when using a third party driver. See Databases for more information about databases.
For Oracle, leave this field blank. For Informix and Sybase, use the name for the database that Process Administrator should use for creating tables and views. Note: On Informix and Sybase, this database must already exist.
For third party drivers only. The name of the driver that was used while configuring a third party driver. Leave this field blank when using a native driver. You configure a third party driver using the jdbcsetup utility. For more information see, "Configuring a Third Party Database Driver" in Chapter 6 "Databases."
For third party drivers only. The URL that specifies the subprotocol (the database connectivity mechanism), the database and list of properties. Leave this field blank when using a native driver. The format of the database URL is specific to each driver. (Check the database manufacturer's documentation for the database-specific URL format.)
The user ID for a valid user for this database. The user must have enough privileges to create tables and views. This field is required when using a native driver. This field is optional when using a third party driver. For third party drivers, the User ID can be part of the Database URL. (Check the database manufacturer's documentation for the database-specific URL format.)
The password for this database user. The user must have enough privileges to create tables and write to them. This field is required when using a native driver. This field is optional when using a third party driver. For third party drivers, the Password can be part of the Database URL. (Check the database manufacturer's documentation for the database-specific URL format.)
If you are using Sybase on Windows NT, be sure that your DSQuery system environment is set to point to the correct sybase database server. If not, you will not be able to connect to the database.
Figure 4-6    The mail server information section
Mail Server Information
(Optional) The mail server associated with the cluster.
(Optional) The mail server port.
(Optional) The reply-to address that appears on notifications sent to users by Process Manager applications. This address could be set to the Process Manager administrator's email address, so that the administrator would be the one handling any notification replies users send.
Figure 4-7    The database information section
Event User Information
Process Manager uses a timer event to expire work items and execute expiration handler scripts of process instances. The timer event is a feature provided by the Application Server. The timer event is created during the creation of the cluster. It is executed every two minutes and makes a HTTP POST to one of the Process Manager servlets every time it executes. Since the servlets are protected, the timer event has to make a POST with a valid user name and password. This user name should be an existing user in the corporate directory.
The password for the event user
What Happens at Cluster Creation
When you create a new cluster, Process Administrator performs these operations:
creates entries in the configuration directory
creates database tables
creates a cluster definition file (PMExtensionManager.properties
) in your local Process Manager folder, atserverRoot
/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 thepreferences.ini
file.Joining an Existing Cluster
The initial cluster includes one iPlanet Application Server, but you can add additional servers at any time. Whenever you access Process Administrator for the first time from a new application server, Process Administrator checks which cluster that server belongs to. If it is not associated with a cluster, you are prompted to create a cluster or join one of the clusters that already exists.
To join an existing cluster, follow these steps:
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
Click Join Cluster when you are done.
the cluster's configuration directory
This operation creates a cluster definition file in the Process Manager folder on your local machine, at
serverRoot
/bpm/PMExtensionManager.propertiesExisting 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 4-8    The Join Cluster page
General Cluster Information
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.Configuration Directory Information
The full host name for the Directory Server you plan to use for your cluster and application configuration. For example,
sample.airius.com
.The port number for this directory, which defaults to 389 because this is a Netscape Directory Server.
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.The password for this directory user.
What Happens at Cluster Joining
When you join an existing cluster, Process Administrator performs this operation:
creates a file,
PMExtensionManager.properties
, on the iPlanet Application Server machineManaging a Cluster
Process Administrator provides a main Cluster Management page at the Cluster Management tab.
This section includes these topics:
Changing Cluster Information
Accessing Directory Server Information
Viewing the Process Administrator Logs
Unjoining From a Cluster
Deleting a Cluster
Figure 4-9    The Cluster Management page
Changing Cluster Information
As server administrator, you can change some cluster information. You can change the cluster's name and description and you can change which corporate user directory you include in the cluster You cannot switch to use a different configuration directory or database in this cluster.
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)
Click Apply Changes when you are done.
database (password only)
Figure 4-10    The Change Cluster Information page
New Cluster Information
The administrator can modify the following information about an existing cluster. The only general restriction is that you cannot use double quotation marks (").
The user-defined display name for the cluster.
The server name for the corporate user directory.
The port number for the corporate user directory. This defaults to 389 for Netscape Directory Servers.
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.
(Optional) The user ID for a user of this directory server. Leave this blank if Process Manager will be accessing the corporate directory as an anonymous user.
(Optional) The password for this directory user. Leave this blank if Process Manager will be accessing the corporate directory as an anonymous user.
The mail server associated with the cluster.
The reply-to address that appears on notifications sent to users by Process Manager applications. This address could be set to the Process Manager administrator's email address, so that the administrator would be the one handling any notification replies users send.
This the password for the timer event user.
Accessing Directory Server Information
You can access Directory Server information by clicking one of the LDAP directory links on the Cluster Management page.
Viewing the Process Administrator Logs
You can view the Process Administrator logs by clicking the View Logs button.
Figure 4-11    A sample Process Administrator's log
If Process Administrator is not available, you can access the Process Administrator logs (
error.html
,info.html
, andsecurity.html
) at this location:
serverRoot
/bpm/admin/logsUnjoining 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.
To unjoin an application server from a cluster, follow these steps:
Go to Process Administrator's home page at
http://
yourServer
/Administrator.apm
.
Click the Cluster Management tab.
Scroll down on the Cluster Information page.
Click the "Unjoin from Cluster" button.After you unjoin the server from its cluster, the next time you access Process Administrator, you will be prompted to create or join a cluster.
When you unjoin a server from a cluster, Process Administrator performs these operations:
removes that server's entry from the configuration directory
deletes thePMExtensionManager.properties
file from the server's file systemDeleting a Cluster
You can delete a cluster that you no longer need. When you delete a cluster, Process Administrator deletes the cluster entry in the configuration directory and deletes the local application server copy of the
PMExtensionManager.properties
file. You can also choose to delete the database tables.
To delete a cluster, follow these steps:
Go to Process Administrator's home page at
http://
yourServer
/Administrator.apm
.
Click the Cluster Management tab.
Scroll down on the Cluster Information page.
Click Delete Cluster. This displays the Delete Cluster page.
You can choose to delete the application data for all cluster applications, which also deletes the application-specific database tables. This is not recoverable. If you are not sure whether you want to do this, even for an old unused cluster, first archive the application data. For details, see the section Exporting and Deleting Data.
Figure 4-12    The Delete a Cluster page
If you want to keep the application data, select the "Keep the data in the database" radio button.
Click Delete Cluster to delete the cluster (and your user data if you chose that option).
- If you want to delete the application data, select the "Delete the data in the database" radio button.
If you try to delete a cluster that still has other active servers running, Process Administrator first removes the other servers, then it removes your local server and deletes the cluster. Note that this also removes the
PMExtensionManager.properties
file from your local server, so the next time you try to access Process Administrator, you are "initializing" it again and you will have to create a new cluster.
Copyright © 2001 Sun Microsystems, Inc.
Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.