[root@monnod01 cluster]# pcs status Cluster name: ha-zenoss-cluster Stack: corosync Current DC: monquor (version 1.1.15-11.el7_3.2-e174ec8) - partition with quorum Last updated: Tue Mar 14 15:40:32 2017 Last change: Tue Mar 14 15:03:46 2017 by root via crm_attribute on monnod02 3 nodes and 9 resources configured Online: [ monnod01 monnod02 monquor ] Full list of resources: ClusterIP (ocf::heartbeat:IPaddr2): Started monnod01 Master/Slave Set: drbd-demo-resource-clone [drbd-demo-resource] Masters: [ monnod01 ] Stopped: [ monquor ] db-data (ocf::heartbeat:Filesystem): Started monnod01 vcenter-fence (stonith:fence_vmware_soap): Started monquor pgsql_service (ocf::heartbeat:pgsql): Started monnod01 vcenter-fence-monquor (stonith:fence_vmware_soap): Started monnod02 vcenter-fence-monnod1 (stonith:fence_vmware_soap): Started monnod02 vcenter-fence-monnod2 (stonith:fence_vmware_soap): Started monnod01 Daemon Status: corosync: active/disabled pacemaker: active/disabled pcsd: active/enabled [root@monnod01 cluster]# [root@monnod01 cluster]# pcs resource --full Resource: ClusterIP (class=ocf provider=heartbeat type=IPaddr2) Attributes: ip=212.113.69.90 cidr_netmask=26 Operations: start interval=0s timeout=20s (ClusterIP-start-interval-0s) stop interval=0s timeout=20s (ClusterIP-stop-interval-0s) monitor interval=5s (ClusterIP-monitor-interval-5s) Master: drbd-demo-resource-clone Meta Attrs: master-node-max=1 clone-max=2 notify=true master-max=1 clone-node-max=1 Resource: drbd-demo-resource (class=ocf provider=linbit type=drbd) Attributes: drbd_resource=drbd-demo Operations: start interval=0s timeout=240 (drbd-demo-resource-start-interval-0s) promote interval=0s timeout=90 (drbd-demo-resource-promote-interval-0s) demote interval=0s timeout=90 (drbd-demo-resource-demote-interval-0s) stop interval=0s timeout=100 (drbd-demo-resource-stop-interval-0s) monitor interval=10s (drbd-demo-resource-monitor-interval-10s) Resource: db-data (class=ocf provider=heartbeat type=Filesystem) Attributes: device=/dev/drbd0 directory=/var/lib/pgsql fstype=ext4 options=noatime Operations: start interval=0s timeout=60 (db-data-start-interval-0s) stop interval=0s timeout=60 (db-data-stop-interval-0s) monitor interval=20 timeout=40 (db-data-monitor-interval-20) Resource: pgsql_service (class=ocf provider=heartbeat type=pgsql) Attributes: pgctl=/usr/pgsql-9.4/bin/pg_ctl psql=/usr/bin/psql pgdata=/var/lib/pgsql/9.4/data/ Operations: start interval=0s timeout=120 (pgsql_service-start-interval-0s) stop interval=0s timeout=120 (pgsql_service-stop-interval-0s) promote interval=0s timeout=120 (pgsql_service-promote-interval-0s) demote interval=0s timeout=120 (pgsql_service-demote-interval-0s) monitor interval=10 timeout=10 (pgsql_service-monitor-interval-10) [root@monnod01 cluster]# [root@monnod01 cluster]# pcs constraint Location Constraints: Resource: ClusterIP Enabled on: monnod01 (score:0) Enabled on: monnod02 (score:0) Resource: db-data Enabled on: monnod01 (score:0) Enabled on: monnod02 (score:0) Resource: drbd-demo-resource-clone Enabled on: monnod01 (score:INFINITY) Enabled on: monnod02 (score:INFINITY) Resource: pgsql_service Enabled on: monnod01 (score:0) Enabled on: monnod02 (score:0) Resource: vcenter-fence Enabled on: monquor (score:0) Resource: vcenter-fence-monnod1 Enabled on: monnod02 (score:0) Resource: vcenter-fence-monnod2 Enabled on: monnod01 (score:0) Resource: vcenter-fence-monquor Enabled on: monnod01 (score:0) Enabled on: monnod02 (score:0) Ordering Constraints: promote drbd-demo-resource-clone then start db-data (kind:Mandatory) start db-data then start pgsql_service (kind:Mandatory) Colocation Constraints: drbd-demo-resource-clone with ClusterIP (score:INFINITY) db-data with drbd-demo-resource-clone (score:INFINITY) (with-rsc-role:Master) pgsql_service with db-data (score:INFINITY) Ticket Constraints: [root@monnod01 cluster]#