当前位置:网站首页>Practice of business level disaster recovery switching drill
Practice of business level disaster recovery switching drill
2022-06-23 21:54:00 【Dengyiyue】
Business disaster recovery is the most complex scenario among all disaster recovery scenarios , Business applications involved 、 middleware 、 Database and underlying computing 、 Storage 、 Network and other resources . In terms of cloud business disaster recovery, the whole disaster recovery covers IaaS、PaaS、SaaS layer . After the disaster recovery plan is confirmed and implemented , It is necessary to carry out disaster recovery switching drill . The following mainly introduces the process and specific operation details of the disaster recovery switching drill .
One 、 Ensure that all relevant application level middleware components in the standby zone are deployed .
First, assume that the entire disaster recovery switching scenario is conducted in Guangzhou District 4 and District 6 , The fourth district is the main district 、 Zone 6 is the standby zone . Set up an application deployment environment in zone 6 without starting the business . Then according to the four zones and six zones 1 Than 1 To deploy mysql、kafka、ES、redis、MQ And so on .
Two 、 simulation 4 Zone fault
Batch stop with script 4 Application level middleware components of the zone , If necessary , You can stop the network . After observation , Send the whole 4 Zone related applications , The middleware components are all stopped , also 4 The network from District 6 to District 6 is also blocked .
3、 ... and 、 Perform the switching steps of the entire business disaster recovery
1、 Application inlet traffic switching . On the disaster recovery switching platform , Point the system client traffic to zone 6 .
matters needing attention :① Ensure that the traffic switching takes effect ;② Observe whether the overall system flow is affected after switching .
2、 Database component switching .
Specific steps :
① The old master database in zone 4 is set to read-only status
② Check that the synchronization is complete , Set to read / write status ;
③ datax modify , All four areas will be job Set to not running state , Open the disaster recovery area job;
④ Backup scripts enable checking ;
⑤ perform ip Switch .
Precautions for disaster recovery :
① You need to ensure that the four zone master database is set to read-only status , Ensure data consistency .
② Pay attention to whether the data synchronization is normal .
3、 Middleware component domain name switching
Specific steps :
① kafka The traffic of the component is switched to the six zone node . After cutting , Message read from the client / Write Whether to go to zone 6 normally .
② redis Switch to the Sixth District of Guangzhou , Perform application request domain name switching . Take the initiative failover. After switching , Observe whether the switching is normal , Whether the flow is normal .
③ MQ Switch to the Sixth District of Guangzhou , You need to turn off before switching 4 The node of the zone .
④ Spare area cancel start-up , Synchronize the data in the database to ES.
Four 、 Perform the development platform switching steps
Introduce the traffic on the customer side into the standby area 6 From the middle of the district , Observe whether the entire link request is normal , Whether each middleware operates correctly , Whether data synchronization ensures consistency .
边栏推荐
- How do API gateways set up dynamic routing? What are the benefits of dynamic routing?
- Prometheus primary body test
- Teacher lihongyi from National Taiwan University - grade Descent 2
- How do I install the API gateway? What should I pay attention to?
- CAD图在线Web测量工具代码实现(测量距离、面积、角度等)
- Is PMP necessary?
- [proteus simulation] lcd1602+ds1307 key setting simple clock
- Framework not well mastered? Byte technology Daniel refined analysis notes take you to learn systematically
- How to realize batch generation of serial number QR code
- [same origin policy - cross domain issues]
猜你喜欢

Leetcode must review six lintcode (28348455116385)

北大、加州伯克利大學等聯合| Domain-Adaptive Text Classification with Structured Knowledge from Unlabeled Data(基於未標記數據的結構化知識的領域自適應文本分類)

Experiment 5 module, package and Library

北大、加州伯克利大学等联合| Domain-Adaptive Text Classification with Structured Knowledge from Unlabeled Data(基于未标记数据的结构化知识的领域自适应文本分类)

Sending network request in wechat applet

Intel openvino tool suite advanced course & experiment operation record and learning summary

《阿里云天池大赛赛题解析》——O2O优惠卷预测

Data visualization: summer without watermelon is not summer

CAD图在线Web测量工具代码实现(测量距离、面积、角度等)

使用 Provider 改造屎一样的代码,代码量降低了2/3!
随机推荐
Go bubbling, cocktail, quick, insert sort
北大、加州伯克利大學等聯合| Domain-Adaptive Text Classification with Structured Knowledge from Unlabeled Data(基於未標記數據的結構化知識的領域自適應文本分類)
Redis encapsulation instance
Completely open source and permanently free, this markdown editor is really fragrant!
How API gateway extends the importance of gateway extension
The most common usage scenarios for redis
How do API gateways set up dynamic routing? What are the benefits of dynamic routing?
Introduction to scikit learn machine learning practice
HDLBits->Circuits->Arithmetic Circuitd->3-bit binary adder
Lighthouse open source application practice: snipe it
Cloud database smooth disassembly scheme
万字长文!一文搞懂InheritedWidget 局部刷新机制
University of North China, Berkeley University of California, etc. | Domain Adaptive Text Classification with structural Knowledge from unlabeled data
Teacher lihongyi from National Taiwan University - grade Descent 2
Installation and use of Minio
Analysis of a series a e-commerce app docommandnative
How to improve the content quality of short video, these four elements must be achieved
Data visualization: summer without watermelon is not summer
CMU博士论文 | 通过记忆的元强化学习,118页pdf
What is the gold content of PMP certificate