Question
Pai G
IN
Last activity: 16 Oct 2018 12:03 EDT
How to install multi node instance for Pega 7.2.2
Hi,
We have our bench environment with two server nodes. How shall I install Pega 7.2.2 with multi node option using single Database so that both nodes are always in sync and also if one node goes down application should always run on other node? (Ex. similar to a windows cluster?)
Regards,
Manju.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi Majunath,
You have to install the PRPC application say in database1, then you can configure this application in both the servers lets say server1(tomcat port is 8086) and server2(tomcat port is 8087).
Note: The tomcat server related ports will be configured in tomcat/conf/server.xml file.
Now the datasource configuration has to be provided in tomcat/conf/context.xml file in both server1 and server2 with same datasource information.
Kindly look into the "Setting up the application server" section in this installation document over here.
Hope this is clear to you.
Regards
Mahesh
Pegasystems Inc.
IN
Hi,
During PRPC installation, it is not related to multinode. You can straight away install PRPC with a database configured.
Later you need to bring up 2 JVM s (i.e no. of nodes, as per your requirement), which points to the same db.
In order to serve, even in the failure of one of the node, you need to configure LoadBalancer.
And anyways, nodes will be in sync, because the system pulse agent will be running by default on all the nodes.
Pai G
IN
Thanks for your quick response Haritha. Do you mean to say, I need to install standalone installs on 2 nodes pointing to same DB and then configure on LB?
I tried to install PRPC on 1 node, and it was successful. However, when I tried to install on 2nd node by pointing to the same DB, it gave me the error as below.
The error message says that the tables already exists and also the schema needs to be cleaned. Can you let me know what to do next?
Also, how/where do I check if system pulse agent is running?
Pegasystems Inc.
IN
Hi,
Once you have installed prpc pointing to lets say database1, and you have configured the app server pointing to same db with port no. 7222.
In order to have a multinode environment, you need to set up an other app server, pointing to same db, but with different port. You need not install the prpc again.
You can check if the systempulse agent is running or not, by launching SMA and checking the Agents .
Pai G
IN
hi,
I am using MSSQL server as DB and Apache Tomcat 8.5.11 for App server. I have configured sqljdbc connection string with port 3181 to connect to DB in setupDatabase.properties file. Other than this, I did not configure any port manually when installing PRPC (not 7222) as well. Where do I change the port config?
Regards,
Manju.
Pegasystems Inc.
IN
Hi,
So you are done with the database setup with the rules of PRPC.
So the next step is, to set up the Application Server (assuming you have already download the required tomcat version) , for which you need to edit the server.xml and config.xml appropriately.
Later with the configured port, you need to hit the url servername:portno. and upload the prweb.war file provided as part of distribution file of PRPC.
In case you need the multinode environment, configure an other tomcat server, similar to as said above , but with a different portno.
Accepted Solution
Pegasystems Inc.
US
Hi Majunath,
You have to install the PRPC application say in database1, then you can configure this application in both the servers lets say server1(tomcat port is 8086) and server2(tomcat port is 8087).
Note: The tomcat server related ports will be configured in tomcat/conf/server.xml file.
Now the datasource configuration has to be provided in tomcat/conf/context.xml file in both server1 and server2 with same datasource information.
Kindly look into the "Setting up the application server" section in this installation document over here.
Hope this is clear to you.
Regards
Mahesh
Pai G
IN
Hi Mahesh,
Thanks for detailed explanation. This surely helps. A follow up question here. We have enabled SSL connection for additional security and use the https port (443). Hence I have to use the same port for both the nodes in server.xml file. I did this and it is not showing up node 2 in SMA. Is there any other way to configure this using the same ports for tomcat?
Regards,
Manju
Pegasystems Inc.
US
Hi Manju,
I am bit confused with your configuration in the two servers, could you please share the Connector tag configuration from server.xml of your https of both the nodes? So that it can be more clear to understand.
Thanks
Mahesh
Pegasystems Inc.
US
Hi Manju,
If you want to use the same port 443 for both the servers then the 2 servers should be in the different machines because in the same machine the same port can't be used for two servers. Is this your question is about?
Regards
Mahesh
Pai G
IN
Thanks a lot Mahesh for answering my questions. I was able to install two nodes with same https port info in server.xml file. However, when I check the system settings in the platform, it does not show me the actual node name. Both Node host and Node Description shows the node id names. I changed the description to host names for each node id and saved it. But it still shows the node id's. Do you know how to change it?
Also, I have another question on SMA. I added node 1 with by selecting Local JVM Connection from the dropdown under "Please select whether SMA is connecting locally or a remove PRPC server". How to add node 2? When I selected Remote Connection or Local JVM connection, I am getting connection timed out error. Can you please help me on this?
Accenture Technology Solutions Oy
IN
Hi Mahesh
We have installed Pega 7.1.5 on a tomcat instance on server XYZ running on HTTP port 18080.
We have now setup another tomcat instance on the same server XYZ running on HTTP port 28080, on this instance we deployed the prweb.war/prsysmgmt.war and prhelp.war and in the tomcat context.xml configured the datasource to connect to same Database as instance 1.
Now when I am trying to add the new instance as SMA Node I am unable to do so and getting the error "This node is already added , please enter another node. "
While adding the node I am giving
Node Name: different to 1st node
PRPC Primary URL and PRPC Diagonistic URL: http://XYZ:28080/prweb/PRServlet please note the second instacne is running on port 28080
Hi Mahesh
We have installed Pega 7.1.5 on a tomcat instance on server XYZ running on HTTP port 18080.
We have now setup another tomcat instance on the same server XYZ running on HTTP port 28080, on this instance we deployed the prweb.war/prsysmgmt.war and prhelp.war and in the tomcat context.xml configured the datasource to connect to same Database as instance 1.
Now when I am trying to add the new instance as SMA Node I am unable to do so and getting the error "This node is already added , please enter another node. "
While adding the node I am giving
Node Name: different to 1st node
PRPC Primary URL and PRPC Diagonistic URL: http://XYZ:28080/prweb/PRServlet please note the second instacne is running on port 28080
Please select whether the SMA is connecting locally or to a remote PRPC server: Local JVM Connection -SMA is installed on PRPC server
Anything that I am missing ?
Pegasystems Inc.
IN
PEG
PL
If you want to have https and use the same URL(port) then you need to have load balancer. and in that you need to route it to separate ports on different servers.
Accenture
SG
Hi, I encountered the same error that table pr4_base exists as I'm trying to do a 2nd instance installation of pega prpc.
My current environment has an existing web/app/db tier and pega has been running for several months. I'm now trying to add a 2nd note for HA on another server but am unable to proceed any further.
I've read confusing replies that the 2nd instance of PRPC installation is not required while some says to install PRPC but change the DB2 port number. But will changing the port number of the Db create a new instance of the database table?