How to find ipaddress and hostname of the TPA node and HSN node

Database

How to find ipaddress and hostname of the TPA node and HSN node

Hello Experts,

I have list of hostname and i wanted to find that whether those node are TPA node or standby node. 

Could you please tell me in what way we can find out ?

Regards,

sachin