Thursday, April 14, 2011

Application messaging troubleshooting : endless ping node

It’s really common to use a small configuration for environments such as DEMO, SYS or even for development databases to avoid the server to be overloaded within useless processes. But doing so, you should be sure it is not set too small otherwise you could have some issues when setting the messaging up.
Here’s an example of a common issue a Peoplesoft DBA might be face to.
I’m working here on the PSOVM CRM 9.1 based on Peopletools 8.50.09. Of course, it is assuming the Pub/Sub service has been set to “Yes” as shown below:
AppMsg_Endlessping_027

Checking the local node for proper configuration (user and password must be set) :
 AppMsg_Endlessping_003
So far, so good.
Now, let’s configure the gateway. For initial configuration, load the connector first :
AppMsg_Endlessping_010 
AppMsg_Endlessping_011
And try to ping the gateway to confirm it works :
AppMsg_Endlessping_012
AppMsg_Endlessping_013
Now, let’s configure the node in the gateway :
AppMsg_Endlessping_014
Default user id is “administrator”, default password is “password”.
AppMsg_Endlessping_015
AppMsg_Endlessping_016
Now try to ping that new added node :
AppMsg_Endlessping_017
AppMsg_Endlessping_018
It will process endlessly until reaching the timeout.
AppMsg_Endlessping_020
Note that there’s no error messages in any log files, nothing to help.
Having a look into the configuration file, psappsrv.cfg, PSAPPSRV has only 1 min. instance :
AppMsg_Endlessping_001
Change it to a minimum of 2 :
 AppMsg_Endlessping_019
Reconfigure and restart the application server :
AppMsg_Endlessping_021 
AppMsg_Endlessping_022
Note there’s now 2 processes PSAPPSRV.

Coming back in the front end application, trying again to ping the local node within the gateway configuration as previously failed :
AppMsg_Endlessping_023
Few seconds later, it is successful :
AppMsg_Endlessping_024

So, when you want to work within the messaging, always set at least 2 as a minimum instances for PSAPPSRV process in the configuration file.

As a side note, if you fill a wrong Peopletools release as shown below, it will fail but that time with a clear explanation (Integration Gateway: PeopleSoftTargetConnector - invalid PeopleTools release). So, be sure about the correctness  of the release until the patch level :
AppMsg_Endlessping_025
AppMsg_Endlessping_026

Nicolas.

No comments: