Informix HDR Setting in WebSphere Application Server
来源:互联网 发布:阿里布达年代txt百度云 编辑:程序博客网 时间:2024/04/27 19:23
Background Knowledge*
What Is HDR (High Availability Data Replication)?
Two identical servers on two identical machinesPrimary server
Fully functional server
All database activity – insert/update/deletes, are performed on this instance
Automatically sends logs to secondary server
Secondary server
Read only server : allows read only query
Always in recovery mode
Receives logs from primary and replay them to keep in sync with primary
When Primary server goes down, secondary server takes over as Standard server
HDR – Key points
Benifts:
- Easy of administration and setup
- Reduced downtime using DR switchover
- Update interval
- Automatic client redirection using DBPATH
- Improved performance by using secondary as report server
- Independent of geographic location
Limitations:
- Indexes are locked when created on primary (till they are shipped to secondary)
- No Replication of Blobspace blobs (only)
- Non logged databases are not replicated
Get your feet wet: configure the HDR in WebSphere Application Server
This section will present how to set the secondary connection properties and enable HDR in Application Server.
The following connection properties are needed to set in the connection URL:
INFORMIXSERVER_SECONDARY = secondary_server;
PORTNO_SECONDARY = secondary_portnumber;
IFXHOST_SECONDARY = secondary_hostmachine;
ENABLE_HDRSWITCH = true;
To set those properties, start the WAS server, and navigate to JDBC providers > Informix JDBC Driver > Data sources > Informix JDBC Driver DataSource > Custom properties, under the Custom properties, you could set HDR properties through “New” bottom. You have to add “ifx” before each property, for example:
ifxENABLE_HDRSWITCH true
ifxPORTNO_SECONDARY 12345
ifxIFXHOST_SECONDARY hostname_of_secondary
ifxINFORMIXSERVER_SECONDARY dbserver_name_of_secondary
Now, you could start to test the failover which works for me.
Resources:
JDBC Driver Programmer's Guide (Page 2-24)
* Informix High Availability Features -- John F. Miller III
- Informix HDR Setting in WebSphere Application Server
- Hung thread detection in WebSphere Application Server
- INFORMIX---HDR
- WebSphere Application Server
- IBM WebSphere Application Server
- In Websphere Application Server 6.1 , request.getQueryString() return null.
- Cell and Node's Concepts in IBM WebSphere Application Server
- Changing the default port in WebSphere Application Server
- Informix Dynamic Server 11.50 的 HDR 环境搭建最佳实践
- 安装配置informix hdr
- INFORMIX--HDR(2)
- informix HDR基本管理
- INFORMIX HDR的配置
- INFORMIX HDR切换步骤
- WebSphere Application Server Best Practices
- WebSphere Application Server V6 备忘录
- 5.0.2 WebSphere Application Server
- 怎样卸载 WebSphere Application server
- 【IDA】分析 Windows CE 事件日志服务(一)
- pligg9.7beta的后HTML编辑器插件的安装(tinymce_2_1_1_1)(以及使用中遇到的点滴问题解决办法)
- Roller3.1的安装及“Roller遇到一个意外错误”的解决[00原创]
- 抓狂..
- 常见包依赖问题及解决
- Informix HDR Setting in WebSphere Application Server
- P2P之UDP穿透NAT的原理与实现(附源代码)
- JSF Logic: Dymanically display images and change text style
- P2P之NAT类型检测方法
- UDP套接口相关
- SIP协议概要介绍
- 二战中最无耻的十个国家:苏联第一 日本第二
- 度量衡单位换算表
- Visual Studio.NET 术语大全