cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI - Is It Possible To Get IP Address

vishnu_pallamreddy
Contributor
0 Kudos

Hi All,

I have a small question...

When I do IPCONFIG for PI system host from CMD prompt it is showing 4 IP addresses.

like below:

Ip1(preferred)

Ip2(preferred)

Ip3(preferred)

Ip4(preferred)



Now my question is, is it possible to find the IP address when a message triggered.

I mean if I trigger one message is it possible to find on which IP address the message is going?

Ex:

I have file(nfs PI folder) to sftp scenario.

If I trigger a message is it possible to find on which IP address the message is going?

Can we get the same thing from XPI inspector?

Thanks In Advance,

Vishnu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can track based on Server node from Message Monitoring .. server nodes will be linked to IP's. What is your PI version?

vishnu_pallamreddy
Contributor
0 Kudos

Hi Ganesh,

Server node means threads?

or server nodes are different?

from message monitoring How we can find IP?

My PI box version is 7.1.

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

Are you trying to whitelist PI server at any network?.

You can do it with the HOST address or basis team will be having the IP address.

vishnu_pallamreddy
Contributor
0 Kudos

Hi Raghu,

I need IP address in runtime...

if we have 4 preferred IP addresses, how we can identify the IP adress in Run time?

and server nodes and treads are same?

former_member186851
Active Contributor
0 Kudos

Hello Vishnu,

As per my knowledge you need whitelist all the IPs, Because the message flow can happen through any server nodes from IP.

but I guess even if you whitelist with host it should work, Since host will be unique.

Why don't you try it out.

Answers (3)

Answers (3)

iaki_vila
Active Contributor
0 Kudos

Hi Vishnu,

You can do a trace.addInfo in a own UDF to trace that information: How to get XI host name & IP address in Mes... | SCN

You can add this UDF a function library and to use in the scenario that you want to check this information at runtime.

Regards.

former_member182412
Active Contributor
0 Kudos

Hi Vishnu,

You can find which server node is processed the message in message monitoring.

Based on the server node you can find out what is host name in NWA, you need to remove the last two characters from message monitoring.

Path: NWA->Operations->Stop & Start

Regards,

Praveen.

vicky20691
Active Contributor
0 Kudos

Hi Vishny,

I will tell you one simple way.

Go to nwa logs -> host:port/nwa/logs

and filter with LOGIN. whenever a message hits PI, it does with SERVICE USER and it will show you IP