Oracle
 sql >> Teknologi Basis Data >  >> RDS >> Oracle

Memeriksa informasi Jaringan dan IP Oracle RAC

1. Menampilkan konfigurasi pemindaian saat ini

$ srvctl config scan
SCAN name: exadata-pscan1, Network: 1
Subnet IPv4: 192.168.16.0/255.255.255.0/bondeth0, static
Subnet IPv6:
SCAN 0 IPv4 VIP: 192.168.16.43
SCAN VIP is enabled.
SCAN VIP is individually enabled on nodes:
SCAN VIP is individually disabled on nodes:
SCAN 1 IPv4 VIP: 192.168.16.41
SCAN VIP is enabled.
SCAN VIP is individually enabled on nodes:
SCAN VIP is individually disabled on nodes:
SCAN 2 IPv4 VIP: 192.168.16.42
SCAN VIP is enabled.
SCAN VIP is individually enabled on nodes:
SCAN VIP is individually disabled on nodes:

2. Dapatkan informasi tentang catatan DNS SCAN.

$ nslookup exadata-pscan1
Server: 192.168.16.20
Address: 192.168.16.20#53

Name: exadata-pscan1
Address: 192.168.16.41
Name: exadata-pscan1
Address: 192.168.16.42
Name: exadata-pscan1
Address: 192.168.16.43

Dimana:192.168.16.41, 192.168.16.42 e 192.168.16.43 adalah IP SCAN

3. Tampilkan Nama Cluster

$./olsnodes -c
exadata-pclu1

4) Menampilkan nama PUBLIC dan VIP Node.

$ cd /u01/app/12.1.0.2/grid/bin/
$ ./olsnodes -n -i
exadatadm01vm011exadata01vm01-vip
exadatadm02vm012exadata02vm01-vip

$./srvctl config nodeapps -a
Network 1 exists
Subnet IPv4: 192.168.16.0/255.255.255.0/bondeth0, static
Subnet IPv6:
Ping Targets:
Network is enabled
Network is individually enabled on nodes:
Network is individually disabled on nodes:
VIP exists: network number 1, hosting node exadatadm01vm01
VIP Name: exadata01vm01-vip
VIP IPv4 Address: 192.168.16.46
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
VIP exists: network number 1, hosting node exadatadm02vm01
VIP Name: exadata02vm01-vip
VIP IPv4 Address: 192.168.16.47
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:

5) Menampilkan informasi IP Pribadi

$./olsnodes -n -i -l -p
exadatadm01vm011172.16.2.63exadata01vm01-vip

Informasi jaringan publik dan pribadi disimpan di Oracle Cluster Registry (OCR).

$./oifcfg getif
bondeth0 192.168.16.0 global public
ib0 172.16.0.0 global cluster_interconnect

“cluster_interconnect” — Antarmuka Pribadi di Oracle Clusterware

Perintah iflist menanyakan sistem operasi untuk menemukan antarmuka jaringan mana yang ada pada node ini.
Perintah iflist menunjukkan antarmuka yang tersedia yang dapat Anda konfigurasikan dengan “setif”.

-p parameter menampilkan jenis antarmuka yang dapat PRIVATE, PUBLIC atau UNKNOWN
-n termasuk subnet mask

$ ./oifcfg iflist -p -n
eth0 192.168.1.0 PRIVATE 255.255.255.0
bondeth0 192.168.16.0 PRIVATE 255.255.255.0
bondeth1 10.70.156.0 PRIVATE 255.255.255.0
ib0 172.16.0.0 PRIVATE 255.255.252.0
ib0 169.254.0.0 UNKNOWN 255.255.0.0
ib1 172.16.0.0 PRIVATE 255.255.252.0

6) Konfigurasi antarmuka jaringan

$ ifconfig |grep 192.168*
Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
inet addr:192.168.16.44 Bcast:192.168.16.255 Mask:255.255.255.0
inet addr:192.168.16.46 Bcast:192.168.16.255 Mask:255.255.255.0
inet addr:192.168.16.41 Bcast:192.168.16.255 Mask:255.255.255.0
inet addr:192.168.16.42 Bcast:192.168.16.255 Mask:255.255.255.0
inet addr:192.168.1.82 Bcast:192.168.1.255 Mask:255.255.255.0

Dimana:

192.168.16.44 – Alamat IP Data
192.168.16.46 – Alamat IP Virtual (VIP)
192.168.16.41 – Alamat IP SCAN
192.168.16.42 – Alamat IP SCAN
192.168.1.82 – Alamat IP manajemen

Referensi

Panduan Administrasi dan Penerapan Clusterware. Tersedia di:https://docs.Oracle.com/cd/B28359_01/rac.111/b28255/oifcfg.htm


  1. Database
  2.   
  3. Mysql
  4.   
  5. Oracle
  6.   
  7. Sqlserver
  8.   
  9. PostgreSQL
  10.   
  11. Access
  12.   
  13. SQLite
  14.   
  15. MariaDB
  1. Perubahan Oracle Ace

  2. Bagaimana Mendapatkan BLOB dari File di PL/SQL?

  3. cara mengatur kolom kenaikan otomatis dengan pengembang sql

  4. 2 Fungsi yang Mengembalikan Bulan dari Tanggal di Oracle

  5. 2 Cara Mengembalikan Baris yang Hanya Mengandung Karakter Alfanumerik di Oracle