You query the values of the hot standby parameters. You can also find out which server within the cluster is currently defined as the master component (CURRENT_NODE).
You have the server authorization ParamRead, ParamCheckWrite, or ParamFull.
hss_getnodes
You receive information about the hot standby system.
hss_getnodes
OK
HS_STORAGE_DLL libhsscopy
OFFICIAL_NODE hotel_official
CURRENT_NODE genua
HS_NODE_001 genua
HS_NODE_002 parma
See also:
Example: How to Set Up a Hot Standby System
Database Administration documentation: Special Database Parameters.