楼主: kuaileshizhe200

[原创] oracle dataguard主库不能用时,如何自动切换到备库

[复制链接]
论坛徽章:
122
现任管理团队成员
日期:2011-05-07 01:45:08
11#
发表于 2015-7-13 15:05 | 只看该作者
kuaileshizhe200 发表于 2015-7-13 14:50
failover连接这个基本明白,关键是主备库的监控,以及何时具体的角色切换?oracle还有一项技术stream,也 ...

--关键是主备库的监控,以及何时具体的角色切换?

这是你要确定的规则,怎么可能有正确答案呢?

使用道具 举报

回复
论坛徽章:
16
2014年新春福章
日期:2014-02-18 16:43:09目光如炬
日期:2015-08-16 22:00:00目光如炬
日期:2015-08-16 22:00:00慢羊羊
日期:2015-06-26 10:52:05目光如炬
日期:2015-05-25 17:35:22目光如炬
日期:2015-05-25 17:34:42火眼金睛
日期:2015-05-25 15:24:12懒羊羊
日期:2015-03-20 14:42:42itpub13周年纪念徽章
日期:2014-10-08 15:15:25itpub13周年纪念徽章
日期:2014-10-08 15:15:25
12#
 楼主| 发表于 2015-7-13 15:06 | 只看该作者
zergduan 发表于 2015-7-13 14:58
stream 在9i的时候测试过,当时都是bug,后来就没再用过,现在他已经被gg给取代了,我身边没有人愿意用它 ...

也看了一下,stream没多人用,原来是不太稳定。GoldenGate这个软件没用过,具体价格也不便宜吧?稳定性怎么样?

使用道具 举报

回复
论坛徽章:
16
2014年新春福章
日期:2014-02-18 16:43:09目光如炬
日期:2015-08-16 22:00:00目光如炬
日期:2015-08-16 22:00:00慢羊羊
日期:2015-06-26 10:52:05目光如炬
日期:2015-05-25 17:35:22目光如炬
日期:2015-05-25 17:34:42火眼金睛
日期:2015-05-25 15:24:12懒羊羊
日期:2015-03-20 14:42:42itpub13周年纪念徽章
日期:2014-10-08 15:15:25itpub13周年纪念徽章
日期:2014-10-08 15:15:25
13#
 楼主| 发表于 2015-7-13 15:10 | 只看该作者
zergduan 发表于 2015-7-13 15:05
--关键是主备库的监控,以及何时具体的角色切换?

这是你要确定的规则,怎么可能有正确答案呢?

基本上也有个思路了,细节上再考虑一下。多谢。

使用道具 举报

回复
论坛徽章:
122
现任管理团队成员
日期:2011-05-07 01:45:08
14#
发表于 2015-7-13 15:15 | 只看该作者
kuaileshizhe200 发表于 2015-7-13 15:06
也看了一下,stream没多人用,原来是不太稳定。GoldenGate这个软件没用过,具体价格也不便宜吧?稳定性怎 ...

软件价格这东西,你要去找oracle的代理去谈,没有固定的价格(因为有不同的折扣)~

使用道具 举报

回复
论坛徽章:
16
2014年新春福章
日期:2014-02-18 16:43:09目光如炬
日期:2015-08-16 22:00:00目光如炬
日期:2015-08-16 22:00:00慢羊羊
日期:2015-06-26 10:52:05目光如炬
日期:2015-05-25 17:35:22目光如炬
日期:2015-05-25 17:34:42火眼金睛
日期:2015-05-25 15:24:12懒羊羊
日期:2015-03-20 14:42:42itpub13周年纪念徽章
日期:2014-10-08 15:15:25itpub13周年纪念徽章
日期:2014-10-08 15:15:25
15#
 楼主| 发表于 2015-7-13 15:22 | 只看该作者
zergduan 发表于 2015-7-13 15:15
软件价格这东西,你要去找oracle的代理去谈,没有固定的价格(因为有不同的折扣)~

多谢zergduan这么细心的解答!

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
16#
发表于 2015-7-16 03:19 | 只看该作者
We have lots of standby databases but never implement Data Guard Broker. The added layer of complexity that comes with its functionality is not worth it. We never need automatic failover/switchover anyway. We believe, if the primary site is so unusable, human intervention is absolutely needed. We'd rather do manual failover/switchover if the primary can't be brought online for the users.

I have two scripts that monitor the data guard environment:

http://yong321.freeshell.org/ora ... nitoringScripts.txt

one installed on the primary and the other on the standby. They're independent and serve different purposes.

We evaluated GoldenGate. It works as expected. But it's way too expensive, even after heavy discount. I think Oracle could make more money overall if the price were lower.

使用道具 举报

回复
论坛徽章:
16
2014年新春福章
日期:2014-02-18 16:43:09目光如炬
日期:2015-08-16 22:00:00目光如炬
日期:2015-08-16 22:00:00慢羊羊
日期:2015-06-26 10:52:05目光如炬
日期:2015-05-25 17:35:22目光如炬
日期:2015-05-25 17:34:42火眼金睛
日期:2015-05-25 15:24:12懒羊羊
日期:2015-03-20 14:42:42itpub13周年纪念徽章
日期:2014-10-08 15:15:25itpub13周年纪念徽章
日期:2014-10-08 15:15:25
17#
 楼主| 发表于 2015-7-16 17:16 | 只看该作者
Yong Huang 发表于 2015-7-16 03:19
We have lots of standby databases but never implement Data Guard Broker. The added layer of complexi ...

多谢版主的热心,我好好看一下,有什么不明白的再请教你。

使用道具 举报

回复
论坛徽章:
122
现任管理团队成员
日期:2011-05-07 01:45:08
18#
发表于 2015-7-16 18:32 来自手机 | 只看该作者
Yong Huang 发表于 2015-7-16 03:19
We have lots of standby databases but never implement Data Guard Broker. The added layer of complexi ...

有时候安装broker是无奈的选择,如果想用grid control管理dg的数据库就必须要安装broker。许多公司希望统一管理监控所有数据库,就难免要用grid control。

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
19#
发表于 2015-7-16 21:51 | 只看该作者
> 用grid control管理dg的数据库就必须要安装broker

Can I have a reference to that statement? We use Grid Control to monitor all databases including multiple data guard environments. But we never use Broker.

使用道具 举报

回复
论坛徽章:
16
2014年新春福章
日期:2014-02-18 16:43:09目光如炬
日期:2015-08-16 22:00:00目光如炬
日期:2015-08-16 22:00:00慢羊羊
日期:2015-06-26 10:52:05目光如炬
日期:2015-05-25 17:35:22目光如炬
日期:2015-05-25 17:34:42火眼金睛
日期:2015-05-25 15:24:12懒羊羊
日期:2015-03-20 14:42:42itpub13周年纪念徽章
日期:2014-10-08 15:15:25itpub13周年纪念徽章
日期:2014-10-08 15:15:25
20#
 楼主| 发表于 2015-7-17 09:04 | 只看该作者
zergduan 发表于 2015-7-16 18:32
有时候安装broker是无奈的选择,如果想用grid control管理dg的数据库就必须要安装broker。许多公司希望统 ...

中国国情免费才受欢迎,broker好像还需要付费吧,很少见有人用

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表