View the Public and Private ip addresses of each node in the oraclerac

Source: Internet
Author: User

View the Public and Private ip addresses of each node in the oraclerac
----- Cluster private network connection information:
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


----- Public network and private network connection information of cluster nodes:
Select * from x $ ksxpia;
Addr indx INST_ID PUB_KSXPIA PICKED_KSXPIA NAME_KSXPIA IP_KSXPIA
-------------------------------------------------------------------------------------------------------------------------
20172ac96f949fb8 0 1 n ocr eth1 192.168.94.11
20172ac96f949fb8 1 1 y ocr eth0 10.80.18.252



---- Node instances and Public Network Information
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.