免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: liqxy
打印 上一主题 下一主题

[容灾] 关于容灾方案的选择,请高手指教。 [复制链接]

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
41 [报告]
发表于 2012-07-05 08:25 |只看该作者
59355189 发表于 2012-05-11 15:51
销售也可以帮忙的嘛,技术团队出的方法也比较好符合要求


销售的点子离实际实现其实还是挺远的,销售可以把一个烂产品吹的天花乱坠。
根据自己的容灾经验,个人觉得比较现实的两地三中心的方案还是本地两点做RAC,保证本地两点的数据完全一致。异地基于数据库日志作复制,使用SHAREPLEX或者GOLDENGATE,允许小部分数据丢失。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-18 06:20:00
42 [报告]
发表于 2012-07-05 08:34 |只看该作者
milujite 发表于 2012-07-05 08:25
销售的点子离实际实现其实还是挺远的,销售可以把一个烂产品吹的天花乱坠。
根据自己的容灾经验,个人 ...


你是在说我吗?

你在两个距离10多公里的数据中心各放一个机器做RAC的方案很高明啊,网络啊,链路啊,带宽啊什么都不考虑,你真是做技术的吗?

论坛徽章:
12
CU大牛徽章
日期:2013-09-18 15:20:4815-16赛季CBA联赛之同曦
日期:2016-02-01 20:28:25IT运维版块每日发帖之星
日期:2015-11-10 06:20:00操作系统版块每日发帖之星
日期:2015-10-28 06:20:002015亚冠之塔什干棉农
日期:2015-06-04 11:41:56丑牛
日期:2014-05-10 16:11:33技术图书徽章
日期:2013-09-23 13:25:58CU大牛徽章
日期:2013-09-18 15:21:17CU大牛徽章
日期:2013-09-18 15:21:12CU大牛徽章
日期:2013-09-18 15:21:06CU大牛徽章
日期:2013-09-18 15:20:58数据库技术版块每日发帖之星
日期:2016-02-08 06:20:00
43 [报告]
发表于 2012-07-05 09:10 |只看该作者
milujite 发表于 2012-07-05 08:25
销售的点子离实际实现其实还是挺远的,销售可以把一个烂产品吹的天花乱坠。
根据自己的容灾经验,个人 ...

extend rac这个方案你实施过么?在实施和维护中要注意哪些问题?异地第三站点有哪些要求?

论坛徽章:
0
44 [报告]
发表于 2012-07-05 14:09 |只看该作者
milujite 发表于 2012-07-05 08:25
销售的点子离实际实现其实还是挺远的,销售可以把一个烂产品吹的天花乱坠。
根据自己的容灾经验,个人 ...



你牛x,国内有人这么干过,结局很惨。最终失败告终。又是一个销售出身

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
45 [报告]
发表于 2012-07-05 15:34 |只看该作者
本帖最后由 milujite 于 2012-07-05 15:44 编辑
spook 发表于 2012-07-05 08:34
你是在说我吗?

你在两个距离10多公里的数据中心各放一个机器做RAC的方案很高明啊,网络啊,链路啊, ...


sfrac我是没做过,但是goldengate做过很多,虽然有点坑爹,但是技术上是可行的,对数据库设计者要求很高。能做的起两地三中心的,如果链路都不能搞定,用不起,还做毛容灾。直接卡车运算了

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
46 [报告]
发表于 2012-07-05 15:48 |只看该作者
本帖最后由 milujite 于 2012-07-05 15:48 编辑
wpscn 发表于 2012-07-05 14:09
你牛x,国内有人这么干过,结局很惨。最终失败告终。又是一个销售出身


能讲讲失败在哪里么?我不是销售,容灾方面经验有限,做过存储复制和GOLDENGATE等。

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-02-18 06:20:00
47 [报告]
发表于 2012-07-06 11:00 |只看该作者
milujite 发表于 2012-07-05 15:34
sfrac我是没做过,但是goldengate做过很多,虽然有点坑爹,但是技术上是可行的,对数据库设计者要求很高 ...


【根据自己的容灾经验,个人觉得比较现实的两地三中心的方案还是本地两点做RAC,保证本地两点的数据完全一致。异地基于数据库日志作复制】

哥们儿,你确认两地三中心中间的 本地双中心 和 RAC 的中的本地(local)是一个概念吗? 你用 goldengate 做的本地两点数据完全一致? 你确认你用的不是 dataguard ? 你想想为什么楼下会想到 extend RAC ……            

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
48 [报告]
发表于 2012-07-06 11:20 |只看该作者
本帖最后由 milujite 于 2012-07-06 11:33 编辑
spook 发表于 2012-07-06 11:00
【根据自己的容灾经验,个人觉得比较现实的两地三中心的方案还是本地两点做RAC,保证本地两点的数据完全 ...
我心中的方案是类似SFRAC做同城,配合GOLDENGATE做异地。你哪里看到我说goldengate能够保证数据完全一致了,有点常识的人都知道异地长距离一致不现实,goldengate的优点就是备节点可用,并且备节点能够用于查询等业务,goldengate的单位是记录,而不是数据块。我说的数据一致是指同城OK,缺点也是肯定的,数据库要调整/优化/规范。如果你认为这方案什么问题,大可说出这方案缺点在哪里,哪个方案都是肯定有缺点的,我很愿意去倾听学习。

论坛徽章:
5
荣誉会员
日期:2011-11-23 16:44:17CU大牛徽章
日期:2013-09-18 15:15:15CU大牛徽章
日期:2013-09-18 15:15:45未羊
日期:2014-02-25 14:37:19射手座
日期:2014-12-26 22:55:37
49 [报告]
发表于 2012-07-06 13:11 |只看该作者
milujite 发表于 2012-07-06 11:20
我心中的方案是类似SFRAC做同城,配合GOLDENGATE做异地。你哪里看到我说goldengate能够保证数据完全一致了, ...

最糟糕的方案,放着MAA建议不用。

论坛徽章:
7
双子座
日期:2013-09-09 15:55:31CU大牛徽章
日期:2013-09-18 15:22:06CU大牛徽章
日期:2013-09-18 15:22:20CU大牛徽章
日期:2013-09-18 15:22:26CU大牛徽章
日期:2013-09-18 15:22:31CU大牛徽章
日期:2013-09-18 15:22:37CU大牛徽章
日期:2013-09-18 15:22:46
50 [报告]
发表于 2012-07-06 14:41 |只看该作者
本帖最后由 milujite 于 2012-07-06 15:02 编辑
wolfop 发表于 2012-07-06 13:11
最糟糕的方案,放着MAA建议不用。

楼主要的是“两地三中心",MAA是一个概念,在ORACLE的数据库上的实现是下面这样?

  1. Oracle® Database High Availability Best Practices
  2. 10g Release 2 (10.2)
  3. Part Number B25159-01       

  4. Home       
  5. Book List       
  6. Index       
  7. Master Index       
  8. Contact Us

  9. Next
  10. PDF · Mobi · ePub
  11. Contents

  12. List of Figures

  13. List of Tables

  14. Title and Copyright Information

  15. Preface

  16. Audience
  17. Documentation Accessibility
  18. Related Documents
  19. Conventions
  20. 1 Introduction to High-Availability Best Practices

  21. 1.1 Oracle Database High-Availability Architecture
  22. 1.2 Oracle Database High-Availability Best Practices
  23. 1.3 Oracle Maximum Availability Architecture
  24. 1.4 Operational Best Practices
  25. 2 Configuring for High-Availability

  26. 2.1 Configuring Storage
  27. 2.1.1 Evaluate Database Performance Requirements and Storage Performance Capabilities
  28. 2.1.2 Use Automatic Storage Management (ASM) to Manage Database Files
  29. 2.1.3 Use a Simple Disk and Disk Group Configuration
  30. 2.1.4 Use Disk Multipathing Software to Protect from Path Failure
  31. 2.1.5 Use Redundancy to Protect from Disk Failure
  32. 2.1.6 Consider HARD-Compliant Storage
  33. 2.2 Configuring Oracle Database 10g
  34. 2.2.1 Requirements for High Availability
  35. 2.2.1.1 Enable ARCHIVELOG Mode
  36. 2.2.1.2 Enable Block Checksums
  37. 2.2.2 Recommendations for High Availability and Fast Recoverability
  38. 2.2.2.1 Configure the Size of Redo Log Files and Groups Appropriately
  39. 2.2.2.2 Use a Flash Recovery Area
  40. 2.2.2.3 Enable Flashback Database
  41. 2.2.2.4 Use Fast-Start Fault Recovery to Control Instance Recovery Time
  42. 2.2.2.5 Enable Database Block Checking
  43. 2.2.2.6 Set DISK_ASYNCH_IO
  44. 2.2.2.7 Set LOG_BUFFER to At Least 8 MB
  45. 2.2.2.8 Use Automatic Shared Memory Management
  46. 2.2.2.9 Increase PARALLEL_EXECUTION_MESSAGE_SIZE
  47. 2.2.2.10 Tune PARALLEL_MIN_SERVERS
  48. 2.2.2.11 Disable Parallel Recovery
  49. 2.2.3 Recommendations to Improve Manageability
  50. 2.2.3.1 Use Automatic Performance Tuning Features
  51. 2.2.3.2 Use a Server Parameter File
  52. 2.2.3.3 Use Automatic Undo Management
  53. 2.2.3.4 Use Locally Managed Tablespaces
  54. 2.2.3.5 Use Automatic Segment Space Management
  55. 2.2.3.6 Use Temporary Tablespaces and Specify a Default Temporary Tablespace
  56. 2.2.3.7 Use Resumable Space Allocation
  57. 2.2.3.8 Use Database Resource Manager
  58. 2.3 Configuring Oracle Database 10g with RAC
  59. 2.3.1 Connect to Database using Services and Virtual Internet Protocol (VIP) Address
  60. 2.3.2 Use Oracle Clusterware to Manage the Cluster and Application Availability
  61. 2.3.3 Use Client-Side and Server-Side Load Balancing
  62. 2.3.4 Mirror Oracle Cluster Registry (OCR) and Configure Multiple Voting Disks
  63. 2.3.5 Regularly Back Up OCR to Tape or Offsite
  64. 2.3.6 Verify That CRS and RAC Use Same Interconnect Network
  65. 2.3.7 Configure All Databases for Maximum Instances in the Cluster
  66. 2.4 Configuring Oracle Database 10g with Data Guard
  67. 2.4.1 Physical or Logical Standby
  68. 2.4.1.1 Benefits of a Physical Standby Database
  69. 2.4.1.2 Benefits of a Logical Standby Database
  70. 2.4.1.3 Determining Which Standby Type Is Best for Your Application
  71. 2.4.2 Data Protection Mode
  72. 2.4.3 Number of Standby Databases
  73. 2.4.4 General Configuration Best Practices for Data Guard
  74. 2.4.4.1 Enable Flashback Database for Easy Reinstantiation After Failover
  75. 2.4.4.2 Use FORCE LOGGING Mode
  76. 2.4.4.3 Use Data Guard Broker
  77. 2.4.4.4 Use a Simple, Robust Archiving Strategy and Configuration
  78. 2.4.4.5 Use Standby Redo Logs and Configure Size Appropriately
  79. 2.4.4.6 Parameter Configuration Example
  80. 2.4.5 Redo Transport Services Best Practices
  81. 2.4.5.1 Conduct Performance Assessment with Proposed Network Configuration
  82. 2.4.5.2 Best Practices for Primary Database Throughput
  83. 2.4.5.3 Best Practices for Network Configuration and Highest Network Redo Rates
  84. 2.4.6 Log Apply Services Best Practices
  85. 2.4.6.1 Redo Apply Best Practices for Physical Standby Databases
  86. 2.4.6.2 SQL Apply Best Practices for Logical Standby Databases
  87. 2.4.7 Role Transition Best Practices
  88. 2.4.7.1 Role Transition During Switchover
  89. 2.4.7.2 Role Transition During Failover
  90. 2.4.8 Maintaining a Physical Standby Database as a Clone
  91. 2.4.9 Recommendations on Protecting Data Outside of the Database
  92. 2.4.10 Assessing Data Guard Performance
  93. 2.5 Configuring Backup and Recovery
  94. 2.5.1 Use Oracle Database Features and Products
  95. 2.5.1.1 Use Recovery Manager to Back Up Database Files
  96. 2.5.1.2 Use Oracle Secure Backup
  97. 2.5.1.3 Use Restore Points
  98. 2.5.2 Configuration and Administration
  99. 2.5.2.1 Understand When to Use Backups
  100. 2.5.2.2 Determine a Backup Frequency
  101. 2.5.2.3 Use an RMAN Recovery Catalog
  102. 2.5.2.4 Enable Block Change Tracking for Incremental Backups
  103. 2.5.2.5 Enable Autobackup for Control File and Server Parameter File
  104. 2.5.3 Backup to Disk
  105. 2.5.3.1 Determine Disk Backup Methods
  106. 2.5.3.2 Create Backups in NOCATALOG Mode and RESYNC CATALOG Afterwards
  107. 2.5.3.3 Create Database Backups on Disk in the Flash Recovery Area
  108. 2.5.3.4 In a Data Guard Environment, Back Up to Flash Recovery Area on All Sites
  109. 2.5.4 Backup to Tape
  110. 2.5.4.1 Create Tape Backups from the Flash Recovery Area
  111. 2.5.4.2 Maintain Offsite Backups
  112. 2.5.5 Backup and Recovery Maintenance
  113. 2.5.5.1 Regularly Check Database Files for Corruption
  114. 2.5.5.2 Periodically Test Recovery Procedures
  115. 2.5.5.3 Regularly Backup the Recovery Catalog Database
  116. 2.6 Configuring Fast Application Failover
  117. 2.6.1 Configuring Clients for Failover
  118. 2.6.2 Client Failover in a RAC Database
  119. 2.6.3 Failover from a RAC Primary Database to a Standby Database
  120. 3 Monitoring Using Oracle Grid Control

  121. 3.1 Overview of Monitoring and Detection for High Availability
  122. 3.2 Using Oracle Grid Control for System Monitoring
  123. 3.2.1 Set Up Default Notification Rules for Each System
  124. 3.2.2 Use Database Target Views to Monitor Health, Availability, and Performance
  125. 3.2.3 Use Event Notifications to React to Metric Changes
  126. 3.2.4 Use Events to Monitor Data Guard System Availability
  127. 3.3 Managing the High-Availability Environment with Oracle Grid Control
  128. 3.3.1 Check Oracle Grid Control Policy Violations
  129. 3.3.2 Use Oracle Grid Control to Manage Oracle Patches and Maintain System Baselines
  130. 3.3.3 Use Oracle Grid Control to Manage Data Guard Targets
  131. 4 Managing Outages

  132. 4.1 Outage Overview
  133. 4.1.1 Unscheduled Outages
  134. 4.1.1.1 Managing Unscheduled Outages on the Primary Site
  135. 4.1.1.2 Managing Unscheduled Outages on the Secondary Site
  136. 4.1.2 Scheduled Outages
  137. 4.1.2.1 Managing Scheduled Outages on the Primary Site
  138. 4.1.2.2 Managing Scheduled Outages on the Secondary Site
  139. 4.1.2.3 Preparing for Scheduled Outages on the Secondary Site
  140. 4.2 Recovering from Unscheduled Outages
  141. 4.2.1 Complete Site Failover
  142. 4.2.1.1 When to Use Complete Site Failover
  143. 4.2.1.2 Best Practices for Complete Site Failover
  144. 4.2.1.3 Repair Solution
  145. 4.2.2 Database Failover with a Standby Database
  146. 4.2.2.1 When To Perform a Data Guard Failover
  147. 4.2.2.2 Best Practices for Implementing Data Guard Failover
  148. 4.2.3 Database Switchover with a Standby Database
  149. 4.2.3.1 When to Perform a Data Guard Switchover
  150. 4.2.3.2 Best Practices for Implementing Data Guard Switchover
  151. 4.2.4 RAC Recovery for Unscheduled Outages
  152. 4.2.4.1 Automatic Instance Recovery for Failed Instances
  153. 4.2.4.2 Automatic Service Relocation
  154. 4.2.4.3 Oracle Cluster Registry
  155. 4.2.5 Application Failover
  156. 4.2.6 ASM Recovery After Disk and Storage Failures
  157. 4.2.6.1 ASM Instance Failure
  158. 4.2.6.2 ASM Disk Failure
  159. 4.2.6.3 Data Area Disk Group Failure
  160. 4.2.6.4 Flash Recovery Area Disk Group Failure
  161. 4.2.7 Recovering from Data Corruption (Data Failures)
  162. 4.2.7.1 Use Data Guard to Recover From Data Corruption and Data Failure
  163. 4.2.7.2 Use RMAN Block Media Recovery
  164. 4.2.7.3 Use RMAN Data File Media Recovery
  165. 4.2.7.4 Re-Create Objects Manually
  166. 4.2.8 Recovering from Human Error
  167. 4.2.8.1 Resolving Table Inconsistencies
  168. 4.2.8.2 Resolving Row and Transaction Inconsistencies
  169. 4.2.8.3 Resolving Database-Wide Inconsistencies
  170. 4.3 Restoring Fault Tolerance
  171. 4.3.1 Restoring Failed Nodes or Instances in a RAC Cluster
  172. 4.3.1.1 Recovering Service Availability
  173. 4.3.1.2 Considerations for Client Connections After Restoring a RAC Instance
  174. 4.3.2 Restoring a Standby Database After a Failover
  175. 4.3.2.1 Restoring a Standby Database After a Fast-Start Failover
  176. 4.3.2.2 Reinstating a Standby Database Using Enterprise Manager After a Failover
  177. 4.3.3 Restoring ASM Disk Groups after a Failure
  178. 4.3.4 Restoring Fault Tolerance After Planned Downtime on Secondary Site or Clusterwide Outage
  179. 4.3.5 Restoring Fault Tolerance After a Standby Database Data Failure
  180. 4.3.6 Restoring Fault Tolerance After the Production Database Was Opened Resetlogs
  181. 4.3.7 Restoring Fault Tolerance After Dual Failures
  182. 4.4 Eliminating or Reducing Downtime for Scheduled Outages
  183. 4.4.1 Storage Maintenance
  184. 4.4.1.1 Migrating to ASM Storage
  185. 4.4.1.2 Adding and Removing Storage
  186. 4.4.2 RAC Database Patches
  187. 4.4.2.1 Best Practices To Minimize Downtime
  188. 4.4.3 Database Upgrades
  189. 4.4.3.1 Database Upgrade Assistant
  190. 4.4.3.2 Data Guard SQL Apply (Logical Standby)
  191. 4.4.3.3 Oracle Streams
  192. 4.4.3.4 Transportable Tablespaces
  193. 4.4.4 Database Platform or Location Migration
  194. 4.4.4.1 Transportable Database
  195. 4.4.4.2 Oracle Streams
  196. 4.4.4.3 Oracle Data Pump
  197. 4.4.4.4 Transportable Tablespaces
  198. 4.4.4.5 Data Guard Redo Apply (Physical Standby Database)
  199. 4.4.5 Online Database and Application Upgrades
  200. 4.4.6 Database Object Reorganization
  201. 4.4.7 System Maintenance
  202. 5 Migrating to an MAA Environment

  203. 5.1 Overview of Migrating to MAA
  204. 5.2 Migrating to RAC from a Single Instance
  205. 5.3 Adding a Data Guard Configuration to a RAC Primary
  206. A Database SPFILE and Oracle Net Configuration File Samples

  207. A.1 SPFILE Samples
  208. A.2 Oracle Net Configuration Files
  209. A.2.1 SQLNET.ORA Example for All Hosts Using Dynamic Instance Registration
  210. A.2.2 LISTENER.ORA Example for All Hosts Using Dynamic Instance Registration
  211. A.2.3 TNSNAMES.ORA Example for All Hosts Using Dynamic Instance Registration
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP