Cluster Name: cluster_tp Corosync Nodes: hanode1 hanode2 hanode3 Pacemaker Nodes: hanode1 hanode2 hanode3 Resources: Master: pgsql-ha Meta Attrs: master-max=1 master-node-max=1 clone-max=3 clone-node-max=1 notify=true Resource: pgsqld (class=ocf provider=heartbeat type=pgsqlms) Attributes: bindir=/usr/pgsql-9.3/bin pgdata=/var/lib/pgsql/9.3/data primary_node=hanode3 Operations: start interval=0s timeout=60s (pgsqld-start-interval-0s) stop interval=0s timeout=60s (pgsqld-stop-interval-0s) reload interval=0s timeout=20s (pgsqld-reload-interval-0s) promote interval=0s timeout=30s (pgsqld-promote-interval-0s) demote interval=0s timeout=120s (pgsqld-demote-interval-0s) monitor interval=9 role=Master (pgsqld-monitor-interval-9) monitor interval=10 role=Slave (pgsqld-monitor-interval-10) notify interval=0s timeout=60s (pgsqld-notify-interval-0s) meta-data interval=0s timeout=5s (pgsqld-meta-data-interval-0s) validate-all interval=0s timeout=5s (pgsqld-validate-all-interval-0s) Resource: pgsql-master-ip (class=ocf provider=heartbeat type=IPaddr2) Attributes: ip=192.168.200.150 cidr_netmask=24 Operations: start interval=0s timeout=20s (pgsql-master-ip-start-interval-0s) stop interval=0s timeout=20s (pgsql-master-ip-stop-interval-0s) monitor interval=10s (pgsql-master-ip-monitor-interval-10s) Stonith Devices: Resource: fence_vm_hanode1 (class=stonith type=fence_virsh) Attributes: pcmk_host_check=static-list pcmk_host_list=hanode1 ipaddr=192.168.200.1 login=ioguix port=hanode1 action=reboot identity_file=/root/.ssh/id_rsa login_timeout=15 Operations: monitor interval=60s (fence_vm_hanode1-monitor-interval-60s) Resource: fence_vm_hanode2 (class=stonith type=fence_virsh) Attributes: pcmk_host_check=static-list pcmk_host_list=hanode2 ipaddr=192.168.200.1 login=ioguix port=hanode2 action=reboot identity_file=/root/.ssh/id_rsa login_timeout=15 Operations: monitor interval=60s (fence_vm_hanode2-monitor-interval-60s) Resource: fence_vm_hanode3 (class=stonith type=fence_virsh) Attributes: pcmk_host_check=static-list pcmk_host_list=hanode3 ipaddr=192.168.200.1 login=ioguix port=hanode3 action=reboot identity_file=/root/.ssh/id_rsa login_timeout=15 Operations: monitor interval=60s (fence_vm_hanode3-monitor-interval-60s) Fencing Levels: Location Constraints: Resource: fence_vm_hanode1 Disabled on: hanode1 (score:-INFINITY) (id:location-fence_vm_hanode1-hanode1--INFINITY) Resource: fence_vm_hanode2 Disabled on: hanode2 (score:-INFINITY) (id:location-fence_vm_hanode2-hanode2--INFINITY) Resource: fence_vm_hanode3 Disabled on: hanode3 (score:-INFINITY) (id:location-fence_vm_hanode3-hanode3--INFINITY) Resource: pgsql-ha Enabled on: srv1 (score:1) (id:location-pgsql-ha-srv1-1) Ordering Constraints: promote pgsql-ha then start pgsql-master-ip (kind:Mandatory) (non-symmetrical) (id:order-pgsql-ha-pgsql-master-ip-mandatory) demote pgsql-ha then stop pgsql-master-ip (kind:Mandatory) (non-symmetrical) (id:order-pgsql-ha-pgsql-master-ip-mandatory-1) Colocation Constraints: pgsql-master-ip with pgsql-ha (score:INFINITY) (rsc-role:Started) (with-rsc-role:Master) (id:colocation-pgsql-master-ip-pgsql-ha-INFINITY) Resources Defaults: migration-threshold: 5 resource-stickiness: 10 Operations Defaults: No defaults set Cluster Properties: cluster-infrastructure: corosync cluster-name: cluster_tp dc-version: 1.1.13-10.el7_2.2-44eb2dd have-watchdog: false last-lrm-refresh: 1462312405 maintenance-mode: false no-quorum-policy: ignore Node Attributes: hanode1: master-pgsqld=1001 hanode2: master-pgsqld=1