Oracle10g RAC, 客戶端登陸,偶爾報 ORA-12535, 急!
Linux AS4.0 64bit
Oracle10g 10.2.0.1 RAC OCFS2
資料庫名稱tpc
每個節點有兩個public nic , 一個private nic .
------------------------------------------------
1. 引數檔案中Listener相關的引數 (兩個節點)
SQL> show parameter listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string LOCAL_TPC
remote_listener string LISTENERS_TPC
其中 LOCAL_TPC 會在後面的每個節點 tnsnames.ora 中設定。
---------------------------------------------------
2. hosts :
gnd-rac01$cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.155.4.95 gnd-rac01 # public nic1
172.20.1.19 gnd-rac01 # public nic2 --- VIP統一網段
10.1.0.1 gnd-pri01 # private nic
172.20.1.29 gnd-vip01 # VIP
10.155.4.96 gnd-rac02
172.20.1.18 gnd-rac02
10.1.0.2 gnd-pri02
172.20.1.28 gnd-vip02
不過在安裝CRS的時候 public nic 10.155.4.95 (96) 被設定為Do Not Use . VIP使用的是 172.20 段的.
而且vipca的時候選擇的也是 172.20 的這塊public nic .
---------------------------------------------------
3. 節點1的tnsnames.ora 及listener.ora 設定 。
TPC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc2)
)
)
TPC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc1)
)
)
TPC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
)
)
LISTENERS_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
)
# LOCAL_TPC 對應spfile中的local_listener . 自己加入的。 [節點1]
LOCAL_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.19)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
)
節點1 監聽:
LISTENER_GND-RAC01 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
---------------------------------------------------
4. 節點 2 的tnsnames.ora 及listener.ora 設定 。
TPC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc2)
)
)
TPC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc1)
)
)
TPC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
)
)
LISTENERS_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
)
# LOCAL_TPC 對應spfile中的local_listener . 自己加入的。 [節點2]
LOCAL_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.18)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
)
節點2 監聽:
LISTENER_GND-RAC02 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
[ 本帖最後由 tolywang 於 2007-12-14 18:31 編輯 ]
Oracle10g 10.2.0.1 RAC OCFS2
資料庫名稱tpc
每個節點有兩個public nic , 一個private nic .
------------------------------------------------
1. 引數檔案中Listener相關的引數 (兩個節點)
SQL> show parameter listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string LOCAL_TPC
remote_listener string LISTENERS_TPC
其中 LOCAL_TPC 會在後面的每個節點 tnsnames.ora 中設定。
---------------------------------------------------
2. hosts :
gnd-rac01$cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.155.4.95 gnd-rac01 # public nic1
172.20.1.19 gnd-rac01 # public nic2 --- VIP統一網段
10.1.0.1 gnd-pri01 # private nic
172.20.1.29 gnd-vip01 # VIP
10.155.4.96 gnd-rac02
172.20.1.18 gnd-rac02
10.1.0.2 gnd-pri02
172.20.1.28 gnd-vip02
不過在安裝CRS的時候 public nic 10.155.4.95 (96) 被設定為Do Not Use . VIP使用的是 172.20 段的.
而且vipca的時候選擇的也是 172.20 的這塊public nic .
---------------------------------------------------
3. 節點1的tnsnames.ora 及listener.ora 設定 。
TPC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc2)
)
)
TPC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc1)
)
)
TPC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
)
)
LISTENERS_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
)
# LOCAL_TPC 對應spfile中的local_listener . 自己加入的。 [節點1]
LOCAL_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.19)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
)
節點1 監聽:
LISTENER_GND-RAC01 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
---------------------------------------------------
4. 節點 2 的tnsnames.ora 及listener.ora 設定 。
TPC2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc2)
)
)
TPC1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
(INSTANCE_NAME = tpc1)
)
)
TPC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = tpc)
)
)
LISTENERS_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.29)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.95)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
)
# LOCAL_TPC 對應spfile中的local_listener . 自己加入的。 [節點2]
LOCAL_TPC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.18)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521))
)
節點2 監聽:
LISTENER_GND-RAC02 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.1.28)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.155.4.96)(PORT = 1521)(IP = FIRST))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
[ 本帖最後由 tolywang 於 2007-12-14 18:31 編輯 ]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-127532/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle10g RAC, 客戶端登陸,偶爾報 ORA-12535 -- 問題解決 (防火牆問題)Oracle客戶端防火牆
- oracle 10g rac 客戶端連線偶爾報ORA-12535錯誤Oracle 10g客戶端
- 改造CAS單點登入 --- 自定義登陸頁面(客戶端)客戶端
- 客戶端登陸logout操作,事務回滾客戶端Go
- RAC禁止某個客戶端登入資料庫客戶端資料庫
- Oracle10g RAC - 客戶端,Server端tnsnames.ora及監聽設定Oracle客戶端Server
- 虛擬平臺客戶端無法登陸問題記錄客戶端
- 客戶端連線RAC報ora-12545客戶端
- ora-01031錯誤(在客戶端以SYS使用者登陸報錯)客戶端
- Git客戶端工具:SourceTree for Mac v4.1.5中文免登陸版Git客戶端Mac
- Oracle RAC 客戶端負載均衡配置Oracle客戶端負載
- oracle RAC的客戶端HA配置薦Oracle客戶端
- SourceTree for Mac(Git客戶端工具) v4.1.0(237)中文免登陸版MacGit客戶端
- 關於ProFTP v1.2.9客戶端退出登陸顯示資訊的求教(轉)FTP客戶端
- GitHub Windows客戶端無法登入GithubWindows客戶端
- [轉]redhat AS 5安裝ORACLE10g客戶端RedhatOracle客戶端
- MySQL命令列登陸,遠端登陸MySQLMySql命令列
- 急!!jsp可以啟動客戶端應用程式嗎?JS客戶端
- Redis從客戶端登入伺服器Redis客戶端伺服器
- 構造CAS客戶端的登入Servlet客戶端Servlet
- Oracle 10g RAC客戶端配置監聽Oracle 10g客戶端
- Oracle RAC 客戶端故障轉移(failover) TAFOracle客戶端AI
- FineReport:任意時刻只允許在一個客戶端登陸賬號的外掛客戶端
- 水煮八《——客戶端以sysdba登入設定客戶端
- 使用Oracle客戶端wallet實現匿名登入Oracle客戶端
- epic登入一直轉圈怎麼辦 快速解決epic客戶端無法登陸的問題客戶端
- Oracle RAC啟動CRS報錯:登陸許可權問題Oracle
- CAS SSO單點登入客戶端環境搭建客戶端
- Oracle10g Grid Control客戶端的安裝Oracle客戶端
- rsync 客戶端同步的時候報錯客戶端
- 10G新特性:使用客戶端WALLET不用使用者名稱和密碼登陸遠端資料庫客戶端密碼資料庫
- dubbo客戶端客戶端
- Pulsar客戶端客戶端
- mqtt 客戶端MQQT客戶端
- Steam客戶端無法登入怎麼辦 新裝w10系統steam客戶端登不上去怎麼解決客戶端
- Oracle RAC 客戶端FAILOVER LOADBALANCE特性的配置方法Oracle客戶端AI
- 客戶端,服務端客戶端服務端
- 服務端,客戶端服務端客戶端