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
网友评论