We have two app servers and one database. I have just finished setup Pega 7.3.1 and am trying to register SMA from prsysmgmt console. I logged in to app1 node and added app1 for PRPC Primary URL. Then, I logged in to app2 node and tried to add app 2 but SMA complains the node is already added. I guess this is because we have only one database although we have two app servers, but is it possible to monitor app1 and app2 somehow by SMA? If so, how should I add it?
Yes two app servers have different name. Let's say one is appserver1 and the other is appserver2, then my question is if it is possible to add appserver1 and appserver2 that use the same database. My colleague said it complained "the node is already added". Is that because database is just one? Can't we add two nodes just because two app servers have distinct servers?
In SMA you can add as many remote nodes as you want as long as you give them different names but you can only have at most a single local node.
Here local means same JVM and not same host. This is because you can't have more than one PRPC application running per JVM instance.
So in your case, assuming you have 2 nodes with two JVMs, with PRPC and SMA deployed on each instance of JVM, then each instance of SMA will have a local PRPC node (same JVM) and a remote one (remote JVM).
This means that the second node that fails to register must be correctly defined as remote node.
In this case, given that apparently you are running JBoss EAP 7, you need to use a JMX Service URL using the new syntax for the jboss-remoting protocol.
In JBoss EAP 7.x the remoting infrastructure moved to the HTTP protocol. As such the connection string to use with JBoss EAP 7 is the following:
Thanks, I take your response as it is possible to add two nodes in my scenario. I am sorry to paste wrong screenshot but we use Tomcat, not JBOSS (My local machine is running on JBOSS, so I pasted wrong image). Below is my client environment representation:
So each host has the same version of JDK installed. In this case, I assume we have two nodes with two JVM. Am I right? If so, could you please again, the screenshot of SMA addition with Tomcat by remote method?