Installation guide
iv
19 Using Pramati Server NodeCreator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Using NodeCreator with Command line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Using NodeCreator with XMLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Using - configuration flag for custom node configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Cluster Configuration using NodeCreator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Usage Objective. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Configuring J2EE Server Cluster using NodeCreator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Creating LB Node using NodeCreator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
20 Creating Pramati Server Clusters Using XMLs . . . . . . . . . . . . . . . . . . . . . . . . 89
Cluster Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Uploading Configuration to DB when DB is used for Configuration Persistence. . . . 90
Creating a Cluster Instance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Setting up a J2EE Cluster. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
J2EE Cluster Node Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Advanced Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Setting up Web Replication and Persistence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Setting up EJB Persistence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Updating cluster configuration using XML (when DB is used for configuration). . . . 95
Configuring J2EE Server Cluster using XMLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Deploying an application on Cluster node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Configuring J2EE Server Cluster using NodeCreator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
21 Configuring Message Server Cluster Using XML . . . . . . . . . . . . . . . . . . . . . 99
Configuring Message Server Cluster using XML. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Setting up an HA Message Server Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100
Starting Message Server node from Command line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
22 Configuring JMS Adapters in J2EE Servers . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Sample Configuration for JMS Adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
23 Configuring Pramati Server For Firewalls . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
HTTP tunneling (Port Filtering firewalls) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Configuring client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Configuring RMI Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106
Working with NAT firewalls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .106
Default Socket Factory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
Configuring Server for firewalls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
Hosting Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
All installations on the host machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Pramati Web Container in DMZ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Third-party HTTP server configured with Pramati Server . . . . . . . . . . . . . . . . . . . . . . . . .108
Third-party HTTP server and Servlet engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
24 Upgrading Pramati Server License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Reading the Current License Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Upgrading license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Upgrading License at Server Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
25 Migrating from Pramati Server 3.0 to Pramati Server 4.1. . . . . . . . .111
Starting the Servers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111
Starting J2EE Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111