Question
Tata Consultancy Services Limited
GB
Last activity: 22 Mar 2017 3:23 EDT
How to get IP address of Pega Application Server ?
Hi Everyone,
I have a requirement to pass the current machine IP address and Pega Application Server IP address to external database system.
I got the current machine IP address from "pxRequestor.pxReqRemoteAddr".
Where can I find the Pega Application Server IP address ? Please Advice.
Thanks for your Help.
Regards,
Guhan.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Tata Consultancy Services Limited
GB
Dear Aditya,
Thanks a lot for your reply.
pyclusteraddress in pr_sys_statusnodes doesnt have the correct ip address of application server where pyindexeraddress of same table has the correct application server ip address. But the port number part (XX.XX.XX.XX:YYYY) is wrong in pyindexeraddress.
Hi,
I moved this question to the Pega Product Support space as it is a PRPC question.
Thanks
Wayne
Pegasystems Inc.
IN
Have you checked pxReqServer property on pxRequestor page ?
Pegasystems Inc.
IN
pzReqServer will give only the server name.
Pegasystems Inc.
IN
We can get requestor host IP address by pxReqRemoteAddr ,pxReqRemoteHost , not sure if we real dump IP address of PRPC server.
Pegasystems Inc.
IN
Kindly check pxtenantid, if it can help you ( in multi-tenant system)
What Malav suggested should provide you the information. There is another way, if you know the system node id, you can query the pr_sys_statusnodes table to get the value of pyclusteraddress column.
Accepted Solution
Tata Consultancy Services Limited
GB
Dear Aditya,
Thanks a lot for your reply.
pyclusteraddress in pr_sys_statusnodes doesnt have the correct ip address of application server where pyindexeraddress of same table has the correct application server ip address. But the port number part (XX.XX.XX.XX:YYYY) is wrong in pyindexeraddress.
-
Preethi Ageer
State of Maine
US
Awesome,Thanks ..This is what i was searching for ..
huawei
CN
Where can i find pr_sys_statusnodes ? I get the same problem.
Pegasystems Inc.
IN
You can find the pr_sys_statusnodes table in the DATA schema.
Updated: 13 Jan 2016 3:00 EST
Tata Consultancy Services Limited
GB
Dear Arvind,
Thanks for your reply. Unfortunately we couldn't use pxtenantid, which is not applicable for our case.