当前位置:网站首页>CRM configuration item command notes
CRM configuration item command notes
2022-07-25 18:59:00 【Zhang Heng wants to lose weight】
mysql Set up monitoring node1# Do the following :
(
primitive: // Define the commands used by a resource Define a name mysqldrbd Resources for
op monitor role=Master // Specify monitoring master
timeout: // Timeout time
interval: // Define the monitoring interval
master-max=1: // Definitions appear at most 1 Main resources
master-node-max=1: // The primary resource can only appear on one node at a time
clone-max=2: // Define up to two clone resources
clone-node-max: // Defined on each node can only start 1 Clone resources
ms // Define a master-slave type ( Nodes in the cluster can only have one running master resource , Others are used as backup )
notify=true // Whether to notify other copies when a new copy is added
colocation: // Resource binding constraints , Bundle different resources together as a logical whole . When it fails as a whole, it will migrate as a whole . The following parties : Definition mystore And ms_mysqldrbd The master node of is running on the same node
order: // Constraint order , Limit the starting sequence of resource services ; The following parties : Define start first ms_mysqldrbd Restart mystore.
commit // Submit and write the changed information CIB
quit // sign out crm Interactive mode
)
crm configure
primitive mysqldrbd ocf:linbit:drbd params drbd_resource=mysql op start timeout=240s op stop timeout=100s op monitor role=Master interval=20s timeout=30s op monitor role=Slave interval=30s timeout=30s
ms ms_mysqldrbd mysqldrbd meta master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true
primitive mystore ocf:heartbeat:Filesystem params device=/dev/drbd1 directory=/mydata fstype=ext4 op start timeout=60s op stop timeout=60s
colocation mystore_with_ms_mysqldrbd inf: mystore ms_mysqldrbd:Master
order mystore_after_ms_mysqldrbd mandatory: ms_mysqldrbd:promote mystore:start
primitive mysql lsb:mysql
colocation mysql_with_mystore inf: mysql mystore
order mysql_after_mystore mandatory: mystore mysql
colocation vip_with_ms_mysqldrbd inf: ms_mysqldrbd:Master virtual_public_ip
commit
quit
边栏推荐
- ES6 implements the observer mode through proxy and reflection
- 接口自动化测试平台FasterRunner系列(二)- 功能模块
- Typescript对象代理器Proxy使用
- 浅析IM即时通讯开发出现上网卡顿?网络掉线?
- Alibaba cloud technology expert Qin long: reliability assurance is a must - how to carry out chaos engineering on the cloud?
- GDB help
- 终极套娃 2.0 | 云原生交付的封装
- The difference between PHP equal to = = and identity equal to = = =
- What is national debt reverse repurchase? Is it safe?
- [open source project] stm32c8t6 + ADC signal acquisition + OLED waveform display
猜你喜欢

Alibaba cloud technology expert Qin long: reliability assurance is a must - how to carry out chaos engineering on the cloud?

How high are the young people in this class for "ugly things"?

对迁移学习中域适应的理解和3种技术的介绍

Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist

基础乐理--配置和弦

Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud

韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯

The Yellow Crane Tower has a super shocking perspective. You've never seen such a VR panorama!

How to create an effective help document?

进程间的通信(管道通信)
随机推荐
对迁移学习中域适应的理解和3种技术的介绍
阿里云技术专家郝晨栋:云上可观测能力——问题的发现与定位实践
SQL 实现 Excel 的10个常用功能,附面试原题
Microsoft azure and Analysys jointly released the report "Enterprise Cloud native platform driven digital transformation"
Yarn 安装与使用教程[通俗易懂]
PHP 中的跨站请求伪造
乐理基础 调式
Cross Site Request Forgery in PHP
HTTP缓存通天篇,可能有你想要的
阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践
The difference between QT exec and show
Qtimgui compilation
Software testing process (mind map)
F5:企业数字化转型所需六大能力
ThreadLocal夺命11连问
PyQt5单击QTableView垂直表头verticalHeader获取行数据以及单击单元格获取行数据操作
srec_cat 常用参数的使用
Youwei low code: use resolutions
基础乐理--配置和弦
浏览器内核有几种,浏览器版本过低怎么升级