pacemaker nginx高可用

2017-05-16  本文已影响53人  真徐小白

crm配置命令:

configure primitive NGINX_VIP ocf:heartbeat:IPaddr2 params ip=192.168.8.170 nic=eth1 op monitor interval=1s timeout=20s on-fail=restart
configure primitive NGINX_WEB ocf:heartbeat:nginx op monitor interval=3s timeout=30s op start interval=0 timeout=60s op stop interval=0 timeout=60s
configure group WEB_CLUSTER NGINX_VIP  NGINX_WEB
configure order WEB_CLUSTER_SERVICE_ORDER mandatory: NGINX_VIP NGINX_WEB
上一篇 下一篇

猜你喜欢

热点阅读