weblogic rac10g 配置ha
How-To Configure and Use Oracle Real Application Clusters (RAC) with Oracle WebLogic Server 10.3
http://www.oracle.com/technology/products/weblogic/howto/rac/index.html
[@more@]How-To Configure and Use Oracle Real Application Clusters (RAC) with Oracle WebLogic Server 10.3
要點
伺服器端tnsnames.ora
HASERVICE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = apemrac1-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = apemrac2-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = MYHASERVICE.apemrac.au.oracle.com)
)
)
test.sh
#!/bin/sh
count=0
while [ $count -lt 5 ] # Set up a loop control
do # Begin the loop
count=`expr $count + 1` # Increment the counter
sqlplus -s juser/juser@HASERVICE @test.sql
done
test.sql
col "Instance" format a20
col "Host" format a20
col "Service Name" format a20
select sys_context('userenv', 'instance_name') "Instance",
sys_context('userenv', 'server_host') "Host",
sys_context('userenv', 'service_name') "Service Name"
from dual
/
exit;
Creating the required Data Sources
Create Data Source #1 for first Node
Here let’s connect to the first instance in our RAC node that will be "orcl1" with an URL as following example.
jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = apemrac1-vip)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = MYHASERVICE.apemrac.au.oracle.com) (INSTANCE_NAME = orcl1))) |
Create data Source #2 for second Node
Repeat the steps above but this time select the second node in the RAC cluster. This data source will be called "Node2DS" and once again be targeted to the managed server "lemon"
jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = apemrac2-vip)(PORT = 1521)) |
Create the Multi Data Source
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/271063/viewspace-1029704/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- weblogic配置httpsWebHTTP
- Hadoop雙namenode配置搭建(HA)Hadoop
- HDFS High Availability(HA)高可用配置AI
- 如何設定weblogic的nodemanger配置Web
- weblogic GridLink資料來源配置Web
- weblogic配置JDBC資料來源WebJDBC
- Weblogic資料來源配置文件Web
- Kubernetes安裝之一:HA-高可用配置
- PostgreSQLlibpqmulti-host配置與簡單HA實現SQL
- weblogic軟體安裝與配置部署大全Web
- 第06講:Flink 叢集安裝部署和 HA 配置
- 實戰生產環境vCenter HA配置(VCSA6.5)
- weblogic執行緒池引數調優配置方法Web執行緒
- 【ha知識兩問】ha軟體是什麼?ha軟體用途有哪些?
- zabbix active 動作配置(當weblogic服務存在問題,執行指令碼重啟weblogic服務)Web指令碼
- mysql-HAMySql
- Hacking weblogicWeb
- HA執行流程
- RocketMQ彈性HAMQ
- 4.6 HA的概念
- docker_weblogicDockerWeb
- Weblogic日誌Web
- High Availability (HA) in SQL ServerAISQLServer
- Weblogic11G叢集管理伺服器控制所有被管配置Web伺服器
- weblogic 受管理服務與nodemanger節點之間連線的配置Web
- weblogic 漏洞復現Web
- weblogic修改時區Web
- PostgreSQL DBA(120) - pgAdmin(HA with Patroni)SQL
- HA分散式叢集搭建分散式
- 2023年ha軟體採購就選Skybility HA!6大優勢看這裡!
- Vulhub WebLogic漏洞復現Web
- weblogic常用命令Web
- weblogic ssrf漏洞復現Web
- WebLogic - HTTP Session Subsystem MessagesWebHTTPSession
- Hadoop-HA節點介紹Hadoop
- 【Hadoop】SNN與HA的區別Hadoop
- Pfsense HA(高可用性群集)
- VulnHub靶場學習_HA: Chakravyuh
- Hadoop HA叢集簡單搭建Hadoop