Advertisement
digimer

Untitled

Dec 31st, 2013
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 KB | None | 0 0
  1. [root@an-c03n01 ~]# pcs config show
  2. Cluster Name: an-cluster-03
  3. Corosync Nodes:
  4. an-c03n01.alteeve.ca an-c03n02.alteeve.ca
  5. Pacemaker Nodes:
  6. an-c03n01.alteeve.ca an-c03n02.alteeve.ca
  7.  
  8. Resources:
  9. Resource: ClusterIP (class=ocf provider=heartbeat type=IPaddr2)
  10. Attributes: ip=192.168.122.10 cidr_netmask=32
  11. Operations: monitor interval=30s (ClusterIP-monitor-interval-30s)
  12. Resource: Website (class=ocf provider=heartbeat type=apache)
  13. Attributes: configfile=/etc/httpd/conf/httpd.conf statusurl=http://127.0.0.1/server-status
  14. Operations: monitor interval=30s (Website-monitor-interval-30s)
  15. Master: WebDataClone
  16. Meta Attrs: master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true target-role=Master
  17. Resource: WebData (class=ocf provider=linbit type=drbd)
  18. Attributes: drbd_resource=r0
  19. Operations: monitor interval=60s (WebData-monitor-60s)
  20.  
  21. Stonith Devices:
  22. Resource: fence_n01_virsh (class=stonith type=fence_virsh)
  23. Attributes: pcmk_host_list=an-c03n01.alteeve.ca ipaddr=lemass login=root passwd_script=/root/lemass.pw delay=15 port=an-c03n01
  24. Operations: monitor interval=60s (fence_n01_virsh-monitor-interval-60s)
  25. Resource: fence_n02_virsh (class=stonith type=fence_virsh)
  26. Attributes: pcmk_host_list=an-c03n02.alteeve.ca ipaddr=lemass login=root passwd_script=/root/lemass.pw port=an-c03n02
  27. Operations: monitor interval=60s (fence_n02_virsh-monitor-interval-60s)
  28. Fencing Levels:
  29.  
  30. Location Constraints:
  31. Resource: ClusterIP
  32. Enabled on: an-c03n01.alteeve.ca (score:INFINITY) (role: Started) (id:cli-prefer-ClusterIP)
  33. Resource: WebDataClone
  34. Constraint: drbd-fence-by-handler-r0-WebDataClone
  35. Rule: score=-INFINITY role=Master (id:drbd-fence-by-handler-r0-rule-WebDataClone)
  36. Expression: #uname ne an-c03n02.alteeve.ca (id:drbd-fence-by-handler-r0-expr-WebDataClone)
  37. Ordering Constraints:
  38. start ClusterIP then start Website (Mandatory) (id:order-ClusterIP-Website-mandatory)
  39. Colocation Constraints:
  40. Website with ClusterIP (INFINITY) (id:colocation-Website-ClusterIP-INFINITY)
  41.  
  42. Cluster Properties:
  43. cluster-infrastructure: corosync
  44. dc-version: 1.1.10-19.el7-368c726
  45. last-lrm-refresh: 1388124751
  46. no-quorum-policy: ignore
  47. stonith-enabled: true
  48.  
  49. ==================
  50.  
  51. [root@an-c03n01 ~]# pcs cluster status
  52. Cluster Status:
  53. Last updated: Tue Dec 31 15:31:04 2013
  54. Last change: Tue Dec 31 15:27:30 2013 via crm_attribute on an-c03n01.alteeve.ca
  55. Stack: corosync
  56. Current DC: an-c03n02.alteeve.ca (2) - partition with quorum
  57. Version: 1.1.10-19.el7-368c726
  58. 2 Nodes configured
  59. 6 Resources configured
  60.  
  61. PCSD Status:
  62. an-c03n01.alteeve.ca:
  63. an-c03n01.alteeve.ca: Online
  64. an-c03n02.alteeve.ca:
  65. an-c03n02.alteeve.ca: Online
  66.  
  67. ==================
  68.  
  69. pcs resource move WebDataClone an-c03n01.alteeve.ca --master
  70.  
  71. (syslog, node 1)
  72. Dec 31 15:31:47 an-c03n01 stonith-ng[19818]: notice: unpack_config: On loss of CCM Quorum: Ignore
  73. 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)
  74. 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)
  75.  
  76. (syslog, node 2)
  77. Dec 31 15:31:47 an-c03n02 cib[26532]: notice: cib:diff: Diff: --- 0.98.31
  78. Dec 31 15:31:47 an-c03n02 cib[26532]: notice: cib:diff: Diff: +++ 0.99.1 101be64ebd97eb0f49ca38d048bd11f0
  79. Dec 31 15:31:47 an-c03n02 cib[26532]: notice: cib:diff: -- <cib admin_epoch="0" epoch="98" num_updates="31"/>
  80. 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"/>
  81. 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 ]
  82. Dec 31 15:31:47 an-c03n02 stonith-ng[26533]: notice: unpack_config: On loss of CCM Quorum: Ignore
  83. Dec 31 15:31:47 an-c03n02 pengine[26536]: notice: unpack_config: On loss of CCM Quorum: Ignore
  84. Dec 31 15:31:47 an-c03n02 pengine[26536]: notice: process_pe_message: Calculated Transition 3: /var/lib/pacemaker/pengine/pe-input-55.bz2
  85. 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
  86. 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 ]
  87. 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)
  88. 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)
  89.  
  90. ==================
  91.  
  92. [root@an-c03n01 ~]# pcs cluster status
  93. Cluster Status:
  94. Last updated: Tue Dec 31 15:32:46 2013
  95. Last change: Tue Dec 31 15:31:47 2013 via crm_resource on an-c03n02.alteeve.ca
  96. Stack: corosync
  97. Current DC: an-c03n02.alteeve.ca (2) - partition with quorum
  98. Version: 1.1.10-19.el7-368c726
  99. 2 Nodes configured
  100. 6 Resources configured
  101.  
  102. PCSD Status:
  103. an-c03n01.alteeve.ca:
  104. an-c03n01.alteeve.ca: Online
  105. an-c03n02.alteeve.ca:
  106. an-c03n02.alteeve.ca: Online
  107.  
  108. ==================
  109.  
  110. [root@an-c03n01 ~]# pcs resource failcount show WebData
  111. No failcounts for WebData
  112. [root@an-c03n01 ~]# pcs resource failcount show WebDataClone
  113. No failcounts for WebDataClone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement