1 / 7

7. Oracle networking

7. Oracle networking. Cấu hình cho listener : Oracle Listener là một chương trình liên tục lắng nghe các yêu cầu kết nối với CSDL Oracle. Để Oracle Listener biết cấu hình hệ thống, Oracle Listener sẽ đọc cấu hình trong thư mục: $ORACLE_HOME/network/admin

liseli
Télécharger la présentation

7. Oracle networking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 7. Oracle networking • Cấu hình cho listener : Oracle Listener là một chương trình liên tục lắng nghe các yêu cầu kết nối với CSDL Oracle. Để Oracle Listener biết cấu hình hệ thống, Oracle Listener sẽ đọc cấu hình trong thư mục: $ORACLE_HOME/network/admin • /u01/app/oracle/product/10.1.0.2.0/network/admin/listener.ora • Files /etc/hosts listener.ora tnsname.ora

  2. listener.ora CPA A • # listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0.2.0/network/admin/listener.ora • # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = AMSS) (ORACLE_HOME = /u01/app/oracle/product/10.1.0.2.0) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server11)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = server12)(PORT = 1522)) ) ) )

  3. listener.ora CPA B • # listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0.2.0/network/admin/listener.ora • # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = AMSS) (ORACLE_HOME = /u01/app/oracle/product/10.1.0.2.0) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server21)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = server22)(PORT = 1522)) ) ) )

  4. tnsname.ora # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0.2.0/network/admin/tnsnames.ora # Generated by Oracle configuration tools. AMSS2 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server22)(PORT = 1522)) ) (CONNECT_DATA = (SID = AMSS) (SERVER = DEDICATED) ) ) AMSS1 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server12)(PORT = 1522)) ) (CONNECT_DATA = (SID = AMSS) (SERVER = DEDICATED) ) )

  5. tnsname.ora tiếp AMSS = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server12)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = AMSS) ) )

  6. 8. Oracle replication • SERVER B • SQL>update global_name set global_name = ‘AMSS2.WORLD’ • SERVER A ( MASTER SITE ) • SQL>update global_name set global_name = ‘AMSS1.WORLD’ run script SQL>@replicate SQL>@addrepjtable

  7. Oracle replication monitor • $oemapp console

More Related