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 rac10g ha配置 (zt)Web
- rose ha 配置ROS
- HDFS HA 配置學習
- HA叢集heartbeat配置--NginxNginx
- weblogic配置SSLWeb
- 【Weblogic】Weblogic安裝以及域配置Web
- Hadoop雙namenode配置搭建(HA)Hadoop
- weblogic配置httpsWebHTTP
- Weblogic NodeManager 的配置使用Web
- weblogic 9.X 配置Web
- HDFS High Availability(HA)高可用配置AI
- [Linux7] HA Package Yum源配置LinuxPackage
- oracle RAC的客戶端HA配置薦Oracle客戶端
- weblogic8.1叢集配置Web
- Weblogic10 叢集配置Web
- Openstack的HA解決方案【mysql叢集配置】MySql
- Redis安裝及HA(High Availability)配置RedisAI
- ROSE HA,想說愛你不容易——為ROSE HA配置IP資源的LocalFailoverROSAI
- 如何設定weblogic的nodemanger配置Web
- weblogic配置JDBC資料來源WebJDBC
- weblogic XA 事務配置問題Web
- weblogic中 JMS 的配置問題Web
- WebLogic的安裝和配置(轉)Web
- Weblogic 多機群集配置關鍵Web
- PostgreSQLlibpqmulti-host配置與簡單HA實現SQL
- Weblogic資料來源配置文件Web
- Weblogic 10.3.6叢集配置手冊Web
- HTTPS訪問:weblogic下配置SSLHTTPWeb
- Weblogic和eclipse安裝和配置WebEclipse
- 在centos5.4上配置weblogic(二)CentOSWeb
- Apache實現weblogic叢集配置(轉)ApacheWeb
- WebLogic NodeManager 配置檔案nodemanager.propertiesWeb
- Kubernetes安裝之一:HA-高可用配置
- 實戰生產環境vCenter HA配置(VCSA6.5)
- 第06講:Flink 叢集安裝部署和 HA 配置
- weblogic GridLink資料來源配置Web
- weblogic軟體安裝與配置部署大全Web
- 在weblogic上配置資料來源薦Web