在tnsnames.ora中新增:(host ip皆為vip)
rac =
(description =
(address = (protocol = tcp)(host = 192.168.10.221)(port = 1521))
(address = (protocol = tcp)(host = 192.168.10.222)(port = 1521))
(load_balance = yes)
(connect_data =
(server = dedicated)
(service_name = rac.world)
))listeners_rac =
(address_list =
(address = (protocol = tcp)(host = 192.168.10.221)(port = 1521))
(address = (protocol = tcp)(host = 192.168.10.222)(port = 1521))
)rac2 =
(description =
(address = (protocol = tcp)(host = 192.168.10.222)(port = 1521))
(connect_data =
(server = dedicated)
(service_name = rac.world)
(instance_name = rac2)
))rac1 =
(description =
(address = (protocol = tcp)(host = 192.168.10.221)(port = 1521))
(connect_data =
(server = dedicated)
(service_name = rac.world)
(instance_name = rac1)
))
在hosts中新增
各節點的ip及hostname,否則可能出現連不上伺服器或找不到物件的錯誤
PLSQL連線遠端oracle
今天需要用到oracle資料庫,所以學習了一下用plsql訪問資料庫,結果出現各種問題,下面將具體的安裝步驟記錄下來,以便日後檢視 1 首先,安裝32位的oracle客戶端,此處必須是32位的,64位的話會報錯。安裝oracle客戶端時,直接選擇 管理員 模式安裝。2 oracle客戶端安裝成功後,...
plsql如何連線oracle
2.配置作業系統環境變數 nls lang simplified chinese china.zhs16gbk tns admin c oracleclient 3.進入instantclient 10 2資料夾,新建乙個network資料夾,並在network資料夾下新建admin資料夾,在adm...
PL SQL遠端連線oracle
pl sql遠端連線oracle伺服器出現ora 12541 tns 無監聽 出現12541錯誤 無監聽程式 時可修改orahome product 10.2.0 db 1 network admin listener.ora檔案 listener description list descript...