Linux平臺上Oracle Rac中的TAF配置
簡介
1、實驗環境平臺資訊
--系統:
Oracle Linux 5.7
Linux 2.6.32-200.13.1.el5uek
--11g R2 RAC 11.2.0.3
2、tnsnames檔案配置(node1,node2都要設定)
cd $ORACLE_HOME/network/admin
cat tnsnames.ora
# tnsnames.ora Network Configuration File: /space/sys_software/oracle/app/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
TX9AB =
3、修改Linux平臺上的的tcp延時協議
--修改引數 net.ipv4.tcp_retries2
對該引數的解釋
--sysctl -p
4、TAF效果測試
[oracle@node1 admin]$ sqlplus sys/oracle@tx9ab as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Aug 14 01:24:52 2015
Copyright (c) 1982, 2011, Oracle.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select count(*) from v$datafile;
----------
....換個視窗切換到grid使用者
[grid@node1 ~]$ srvctl stop instance -d tx9ab -i tx9ab1 -o abort
.....換回原來視窗,在相同session中查詢
SQL> show parameter name
NAME
------------------------------------ ----------- ------------------------------
db_file_name_convert
db_name
db_unique_name
global_names