Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@an-c03n01 ~]# pcs config show
- Cluster Name: an-cluster-03
- Corosync Nodes:
- an-c03n01.alteeve.ca an-c03n02.alteeve.ca
- Pacemaker Nodes:
- an-c03n01.alteeve.ca an-c03n02.alteeve.ca
- Resources:
- Resource: ClusterIP (class=ocf provider=heartbeat type=IPaddr2)
- Attributes: ip=192.168.122.10 cidr_netmask=32
- Operations: monitor interval=30s (ClusterIP-monitor-interval-30s)
- Resource: Website (class=ocf provider=heartbeat type=apache)
- Attributes: configfile=/etc/httpd/conf/httpd.conf statusurl=http://127.0.0.1/server-status
- Operations: monitor interval=30s (Website-monitor-interval-30s)
- Master: WebDataClone
- Meta Attrs: master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true target-role=Master
- Resource: WebData (class=ocf provider=linbit type=drbd)
- Attributes: drbd_resource=r0
- Operations: monitor interval=60s (WebData-monitor-60s)
- Stonith Devices:
- Resource: fence_n01_virsh (class=stonith type=fence_virsh)
- Attributes: pcmk_host_list=an-c03n01.alteeve.ca ipaddr=lemass login=root passwd_script=/root/lemass.pw delay=15 port=an-c03n01
- Operations: monitor interval=60s (fence_n01_virsh-monitor-interval-60s)
- Resource: fence_n02_virsh (class=stonith type=fence_virsh)
- Attributes: pcmk_host_list=an-c03n02.alteeve.ca ipaddr=lemass login=root passwd_script=/root/lemass.pw port=an-c03n02
- Operations: monitor interval=60s (fence_n02_virsh-monitor-interval-60s)
- Fencing Levels:
- Location Constraints:
- Resource: ClusterIP
- Enabled on: an-c03n01.alteeve.ca (score:INFINITY) (role: Started) (id:cli-prefer-ClusterIP)
- Resource: WebDataClone
- Constraint: drbd-fence-by-handler-r0-WebDataClone
- Rule: score=-INFINITY role=Master (id:drbd-fence-by-handler-r0-rule-WebDataClone)
- Expression: #uname ne an-c03n02.alteeve.ca (id:drbd-fence-by-handler-r0-expr-WebDataClone)
- Ordering Constraints:
- start ClusterIP then start Website (Mandatory) (id:order-ClusterIP-Website-mandatory)
- Colocation Constraints:
- Website with ClusterIP (INFINITY) (id:colocation-Website-ClusterIP-INFINITY)
- Cluster Properties:
- cluster-infrastructure: corosync
- dc-version: 1.1.10-19.el7-368c726
- last-lrm-refresh: 1388124751
- no-quorum-policy: ignore
- stonith-enabled: true
- ==================
- [root@an-c03n01 ~]# pcs cluster status
- Cluster Status:
- Last updated: Tue Dec 31 15:31:04 2013
- Last change: Tue Dec 31 15:27:30 2013 via crm_attribute on an-c03n01.alteeve.ca
- Stack: corosync
- Current DC: an-c03n02.alteeve.ca (2) - partition with quorum
- Version: 1.1.10-19.el7-368c726
- 2 Nodes configured
- 6 Resources configured
- PCSD Status:
- an-c03n01.alteeve.ca:
- an-c03n01.alteeve.ca: Online
- an-c03n02.alteeve.ca:
- an-c03n02.alteeve.ca: Online
- ==================
- pcs resource move WebDataClone an-c03n01.alteeve.ca --master
- (syslog, node 1)
- Dec 31 15:31:47 an-c03n01 stonith-ng[19818]: notice: unpack_config: On loss of CCM Quorum: Ignore
- Dec 31 15:31:47 an-c03n01 stonith-ng[19818]: notice: stonith_device_register: Device 'fence_n01_virsh' already existed in device list (2 active devices)
- Dec 31 15:31:47 an-c03n01 stonith-ng[19818]: notice: stonith_device_register: Added 'fence_n02_virsh' to the device list (2 active devices)
- (syslog, node 2)
- Dec 31 15:31:47 an-c03n02 cib[26532]: notice: cib:diff: Diff: --- 0.98.31
- Dec 31 15:31:47 an-c03n02 cib[26532]: notice: cib:diff: Diff: +++ 0.99.1 101be64ebd97eb0f49ca38d048bd11f0
- Dec 31 15:31:47 an-c03n02 cib[26532]: notice: cib:diff: -- <cib admin_epoch="0" epoch="98" num_updates="31"/>
- Dec 31 15:31:47 an-c03n02 cib[26532]: notice: cib:diff: ++ <rsc_location id="cli-prefer-WebDataClone" rsc="WebDataClone" role="Master" node="an-c03n01.alteeve.ca" score="INFINITY"/>
- Dec 31 15:31:47 an-c03n02 crmd[26537]: notice: do_state_transition: State transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_FSA_INTERNAL origin=abort_transition_graph ]
- Dec 31 15:31:47 an-c03n02 stonith-ng[26533]: notice: unpack_config: On loss of CCM Quorum: Ignore
- Dec 31 15:31:47 an-c03n02 pengine[26536]: notice: unpack_config: On loss of CCM Quorum: Ignore
- Dec 31 15:31:47 an-c03n02 pengine[26536]: notice: process_pe_message: Calculated Transition 3: /var/lib/pacemaker/pengine/pe-input-55.bz2
- Dec 31 15:31:47 an-c03n02 crmd[26537]: notice: run_graph: Transition 3 (Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=/var/lib/pacemaker/pengine/pe-input-55.bz2): Complete
- Dec 31 15:31:47 an-c03n02 crmd[26537]: notice: do_state_transition: State transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS cause=C_FSA_INTERNAL origin=notify_crmd ]
- Dec 31 15:31:47 an-c03n02 stonith-ng[26533]: notice: stonith_device_register: Added 'fence_n01_virsh' to the device list (2 active devices)
- Dec 31 15:31:47 an-c03n02 stonith-ng[26533]: notice: stonith_device_register: Device 'fence_n02_virsh' already existed in device list (2 active devices)
- ==================
- [root@an-c03n01 ~]# pcs cluster status
- Cluster Status:
- Last updated: Tue Dec 31 15:32:46 2013
- Last change: Tue Dec 31 15:31:47 2013 via crm_resource on an-c03n02.alteeve.ca
- Stack: corosync
- Current DC: an-c03n02.alteeve.ca (2) - partition with quorum
- Version: 1.1.10-19.el7-368c726
- 2 Nodes configured
- 6 Resources configured
- PCSD Status:
- an-c03n01.alteeve.ca:
- an-c03n01.alteeve.ca: Online
- an-c03n02.alteeve.ca:
- an-c03n02.alteeve.ca: Online
- ==================
- [root@an-c03n01 ~]# pcs resource failcount show WebData
- No failcounts for WebData
- [root@an-c03n01 ~]# pcs resource failcount show WebDataClone
- No failcounts for WebDataClone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement