查看oraclerac各節點公網,私網ip信息
-----集群私網連接信息:
select * from gv$cluster_interconnects;
INST_ID NAME IP_ADDRESS IS_PUBLIC SOURCE
---------- ----- -------------------- --------- ------------------------------
1 eth1 192.168.94.11 NO Oracle Cluster Repository
2 eth1 192.168.94.12 NO Oracle Cluster Repository
-----集群節點公網,私網連接信息:
select * from x$ksxpia;
ADDR INDX INST_ID PUB_KSXPIA PICKED_KSXPIA NAME_KSXPIA IP_KSXPIA
---------------- ---------- ---------- --------------- -------------------- -------------------- ------------------------------
00002AC96F949FB8 0 1 N OCR eth1 192.168.94.11
00002AC96F949FB8 1 1 Y OCR eth0 10.80.18.252
----各節點實例,公網信息
select inst_id,utl_inaddr.get_host_address(host_name) from gv$instance;
INST_ID UTL_INADDR.GET_HOST_ADDRESS(HOST_NAME)
---------- --------------------------------------------------
1 10.80.18.252
2 10.80.18.253