Advertisement
Guest User

PacemakerConfig

a guest
Sep 6th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. Cluster Name: webcluster
  2. Corosync Nodes:
  3. node1 node2
  4. Pacemaker Nodes:
  5. node1 node2
  6.  
  7. Resources:
  8. Resource: Cluster_VIP (class=ocf provider=heartbeat type=IPaddr2)
  9. Attributes: ip=10.0.2.200 cidr_netmask=24
  10. Operations: start interval=0s timeout=20s (Cluster_VIP-start-interval-0s)
  11. stop interval=0s timeout=20s (Cluster_VIP-stop-interval-0s)
  12. monitor interval=10s (Cluster_VIP-monitor-interval-10s)
  13. Master: ClusterDBclone
  14. Meta Attrs: master-max=1 master-node=1 clone-max=2 clone-node-max=1 notify=true
  15. Resource: ClusterDB (class=ocf provider=linbit type=drbd)
  16. Attributes: drbd_resource=clusterdb
  17. Operations: start interval=0s timeout=240 (ClusterDB-start-interval-0s)
  18. promote interval=0s timeout=90 (ClusterDB-promote-interval-0s)
  19. demote interval=0s timeout=90 (ClusterDB-demote-interval-0s)
  20. stop interval=0s timeout=100 (ClusterDB-stop-interval-0s)
  21. monitor interval=60s (ClusterDB-monitor-interval-60s)
  22. Resource: ClusterFS (class=ocf provider=heartbeat type=Filesystem)
  23. Attributes: device=/dev/drbd/by-res/clusterdb directory=/data fstype=ext4
  24. Operations: start interval=0s timeout=60 (ClusterFS-start-interval-0s)
  25. stop interval=0s timeout=60 (ClusterFS-stop-interval-0s)
  26. monitor interval=20 timeout=40 (ClusterFS-monitor-interval-20)
  27. Resource: WebSite (class=ocf provider=heartbeat type=apache)
  28. Attributes: configfile=/etc/httpd/conf/httpd.conf statusurl=http://localhost/server-status
  29. Operations: start interval=0s timeout=40s (WebSite-start-interval-0s)
  30. stop interval=0s timeout=60s (WebSite-stop-interval-0s)
  31. monitor interval=1min (WebSite-monitor-interval-1min)
  32.  
  33. Stonith Devices:
  34. Fencing Levels:
  35.  
  36. Location Constraints:
  37. Ordering Constraints:
  38. promote ClusterDBclone then start ClusterFS (kind:Mandatory) (id:order-ClusterDBclone-ClusterFS-mandatory)
  39. Colocation Constraints:
  40. ClusterFS with ClusterDBclone (score:INFINITY) (with-rsc-role:Master) (id:colocation-ClusterFS-ClusterDBclone-INFINITY)
  41. WebSite with Cluster_VIP (score:INFINITY) (id:colocation-WebSite-Cluster_VIP-INFINITY)
  42. ClusterFS with ClusterDBclone (score:INFINITY) (id:colocation-ClusterFS-ClusterDBclone-INFINITY-1)
  43. Cluster_VIP with ClusterDBclone (score:INFINITY) (id:colocation-Cluster_VIP-ClusterDBclone-INFINITY)
  44.  
  45. Resources Defaults:
  46. No defaults set
  47. Operations Defaults:
  48. No defaults set
  49.  
  50. Cluster Properties:
  51. cluster-infrastructure: cman
  52. dc-version: 1.1.14-8.el6_8.1-70404b0
  53. have-watchdog: false
  54. no-quorum-policy: ignore
  55. stonith-enabled: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement