|
|
ed0026 |
commit d226cf1f6b3f46863a6cf07dab9a11fbdd89d6f3
|
|
|
ed0026 |
Author: Andrew Beekhof <andrew@beekhof.net>
|
|
|
ed0026 |
Date: Fri Aug 2 13:44:34 2013 +1000
|
|
|
ed0026 |
|
|
|
ed0026 |
Test: PE: Do not allow colocation with blocked clone instances
|
|
|
ed0026 |
|
|
|
ed0026 |
diff --git a/pengine/regression.sh b/pengine/regression.sh
|
|
|
ed0026 |
index 6ab0b8a..aa7d43d 100755
|
|
|
ed0026 |
--- a/pengine/regression.sh
|
|
|
ed0026 |
+++ b/pengine/regression.sh
|
|
|
ed0026 |
@@ -316,6 +316,7 @@ do_test bug-lf-2574 "Avoid clone shuffle"
|
|
|
ed0026 |
do_test bug-lf-2581 "Avoid group restart due to unrelated clone (re)start"
|
|
|
ed0026 |
do_test bug-cl-5168 "Don't shuffle clones"
|
|
|
ed0026 |
do_test bug-cl-5170 "Prevent clone from starting with on-fail=block"
|
|
|
ed0026 |
+do_test clone-fail-block-colocation "Move colocated group when failed clone has on-fail=block"
|
|
|
ed0026 |
|
|
|
ed0026 |
echo ""
|
|
|
ed0026 |
do_test master-0 "Stopped -> Slave"
|
|
|
ed0026 |
diff --git a/pengine/test10/bug-cl-5170.dot b/pengine/test10/bug-cl-5170.dot
|
|
|
ed0026 |
index 93a63d5..ca63383 100644
|
|
|
ed0026 |
--- a/pengine/test10/bug-cl-5170.dot
|
|
|
ed0026 |
+++ b/pengine/test10/bug-cl-5170.dot
|
|
|
ed0026 |
@@ -1,32 +1,15 @@
|
|
|
ed0026 |
digraph "g" {
|
|
|
ed0026 |
"all_stopped" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
-"ip_mgmt_monitor_10000 TCS-2" [ style=dashed color="red" fontcolor="black"]
|
|
|
ed0026 |
-"ip_mgmt_start_0 TCS-2" -> "ip_mgmt_monitor_10000 TCS-2" [ style = dashed]
|
|
|
ed0026 |
-"ip_mgmt_start_0 TCS-2" -> "svc_running_0" [ style = dashed]
|
|
|
ed0026 |
-"ip_mgmt_start_0 TCS-2" [ style=dashed color="red" fontcolor="black"]
|
|
|
ed0026 |
"ip_mgmt_stop_0 TCS-2" -> "all_stopped" [ style = bold]
|
|
|
ed0026 |
-"ip_mgmt_stop_0 TCS-2" -> "ip_mgmt_start_0 TCS-2" [ style = dashed]
|
|
|
ed0026 |
"ip_mgmt_stop_0 TCS-2" -> "ip_trf_stop_0 TCS-2" [ style = bold]
|
|
|
ed0026 |
"ip_mgmt_stop_0 TCS-2" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
"ip_mgmt_stop_0 TCS-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
-"ip_trf_monitor_10000 TCS-2" [ style=dashed color="red" fontcolor="black"]
|
|
|
ed0026 |
-"ip_trf_start_0 TCS-2" -> "ip_mgmt_start_0 TCS-2" [ style = dashed]
|
|
|
ed0026 |
-"ip_trf_start_0 TCS-2" -> "ip_trf_monitor_10000 TCS-2" [ style = dashed]
|
|
|
ed0026 |
-"ip_trf_start_0 TCS-2" -> "svc_running_0" [ style = dashed]
|
|
|
ed0026 |
-"ip_trf_start_0 TCS-2" [ style=dashed color="red" fontcolor="black"]
|
|
|
ed0026 |
"ip_trf_stop_0 TCS-2" -> "all_stopped" [ style = bold]
|
|
|
ed0026 |
-"ip_trf_stop_0 TCS-2" -> "ip_trf_start_0 TCS-2" [ style = dashed]
|
|
|
ed0026 |
"ip_trf_stop_0 TCS-2" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
"ip_trf_stop_0 TCS-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
-"svc_running_0" [ style=dashed color="red" fontcolor="orange"]
|
|
|
ed0026 |
-"svc_start_0" -> "ip_mgmt_start_0 TCS-2" [ style = dashed]
|
|
|
ed0026 |
-"svc_start_0" -> "ip_trf_start_0 TCS-2" [ style = dashed]
|
|
|
ed0026 |
-"svc_start_0" -> "svc_running_0" [ style = dashed]
|
|
|
ed0026 |
-"svc_start_0" [ style=dashed color="red" fontcolor="orange"]
|
|
|
ed0026 |
"svc_stop_0" -> "ip_mgmt_stop_0 TCS-2" [ style = bold]
|
|
|
ed0026 |
"svc_stop_0" -> "ip_trf_stop_0 TCS-2" [ style = bold]
|
|
|
ed0026 |
"svc_stop_0" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
"svc_stop_0" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
-"svc_stopped_0" -> "svc_start_0" [ style = dashed]
|
|
|
ed0026 |
"svc_stopped_0" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
}
|
|
|
ed0026 |
diff --git a/pengine/test10/bug-cl-5170.exp b/pengine/test10/bug-cl-5170.exp
|
|
|
ed0026 |
index cef2020..39c8469 100644
|
|
|
ed0026 |
--- a/pengine/test10/bug-cl-5170.exp
|
|
|
ed0026 |
+++ b/pengine/test10/bug-cl-5170.exp
|
|
|
ed0026 |
@@ -1,7 +1,7 @@
|
|
|
ed0026 |
<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" batch-limit="30" transition_id="0">
|
|
|
ed0026 |
<synapse id="0">
|
|
|
ed0026 |
<action_set>
|
|
|
ed0026 |
- <pseudo_event id="14" operation="stopped" operation_key="svc_stopped_0">
|
|
|
ed0026 |
+ <pseudo_event id="12" operation="stopped" operation_key="svc_stopped_0">
|
|
|
ed0026 |
<attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
</pseudo_event>
|
|
|
ed0026 |
</action_set>
|
|
|
ed0026 |
@@ -10,16 +10,16 @@
|
|
|
ed0026 |
<rsc_op id="7" operation="stop" operation_key="ip_trf_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
<trigger>
|
|
|
ed0026 |
- <rsc_op id="9" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
+ <rsc_op id="8" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
<trigger>
|
|
|
ed0026 |
- <pseudo_event id="13" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ <pseudo_event id="11" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
</inputs>
|
|
|
ed0026 |
</synapse>
|
|
|
ed0026 |
<synapse id="1">
|
|
|
ed0026 |
<action_set>
|
|
|
ed0026 |
- <pseudo_event id="13" operation="stop" operation_key="svc_stop_0">
|
|
|
ed0026 |
+ <pseudo_event id="11" operation="stop" operation_key="svc_stop_0">
|
|
|
ed0026 |
<attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
</pseudo_event>
|
|
|
ed0026 |
</action_set>
|
|
|
ed0026 |
@@ -34,23 +34,23 @@
|
|
|
ed0026 |
</action_set>
|
|
|
ed0026 |
<inputs>
|
|
|
ed0026 |
<trigger>
|
|
|
ed0026 |
- <rsc_op id="9" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
+ <rsc_op id="8" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
<trigger>
|
|
|
ed0026 |
- <pseudo_event id="13" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ <pseudo_event id="11" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
</inputs>
|
|
|
ed0026 |
</synapse>
|
|
|
ed0026 |
<synapse id="3">
|
|
|
ed0026 |
<action_set>
|
|
|
ed0026 |
- <rsc_op id="9" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2">
|
|
|
ed0026 |
+ <rsc_op id="8" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2">
|
|
|
ed0026 |
<primitive id="ip_mgmt" class="ocf" provider="heartbeat" type="IPaddr2"/>
|
|
|
ed0026 |
<attributes CRM_meta_timeout="20000" broadcast="172.20.1.51" crm_feature_set="3.0.7" iflabel="ha" ip="172.20.1.51" nic="bond0"/>
|
|
|
ed0026 |
</rsc_op>
|
|
|
ed0026 |
</action_set>
|
|
|
ed0026 |
<inputs>
|
|
|
ed0026 |
<trigger>
|
|
|
ed0026 |
- <pseudo_event id="13" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ <pseudo_event id="11" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
</inputs>
|
|
|
ed0026 |
</synapse>
|
|
|
ed0026 |
@@ -65,7 +65,7 @@
|
|
|
ed0026 |
<rsc_op id="7" operation="stop" operation_key="ip_trf_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
<trigger>
|
|
|
ed0026 |
- <rsc_op id="9" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
+ <rsc_op id="8" operation="stop" operation_key="ip_mgmt_stop_0" on_node="TCS-2" on_node_uuid="TCS-2"/>
|
|
|
ed0026 |
</trigger>
|
|
|
ed0026 |
</inputs>
|
|
|
ed0026 |
</synapse>
|
|
|
ed0026 |
diff --git a/pengine/test10/bug-cl-5170.scores b/pengine/test10/bug-cl-5170.scores
|
|
|
ed0026 |
index 26daf48..ed9815a 100644
|
|
|
ed0026 |
--- a/pengine/test10/bug-cl-5170.scores
|
|
|
ed0026 |
+++ b/pengine/test10/bug-cl-5170.scores
|
|
|
ed0026 |
@@ -16,6 +16,6 @@ native_color: d_tomcat_nms:0 allocation score on TCS-2: INFINITY
|
|
|
ed0026 |
native_color: d_tomcat_nms:1 allocation score on TCS-1: -INFINITY
|
|
|
ed0026 |
native_color: d_tomcat_nms:1 allocation score on TCS-2: -INFINITY
|
|
|
ed0026 |
native_color: ip_mgmt allocation score on TCS-1: -INFINITY
|
|
|
ed0026 |
-native_color: ip_mgmt allocation score on TCS-2: 0
|
|
|
ed0026 |
+native_color: ip_mgmt allocation score on TCS-2: -INFINITY
|
|
|
ed0026 |
native_color: ip_trf allocation score on TCS-1: -INFINITY
|
|
|
ed0026 |
-native_color: ip_trf allocation score on TCS-2: 0
|
|
|
ed0026 |
+native_color: ip_trf allocation score on TCS-2: -INFINITY
|
|
|
ed0026 |
diff --git a/pengine/test10/bug-cl-5170.summary b/pengine/test10/bug-cl-5170.summary
|
|
|
ed0026 |
index 723be33..3b4bcb9 100644
|
|
|
ed0026 |
--- a/pengine/test10/bug-cl-5170.summary
|
|
|
ed0026 |
+++ b/pengine/test10/bug-cl-5170.summary
|
|
|
ed0026 |
@@ -11,8 +11,8 @@ Online: [ TCS-2 ]
|
|
|
ed0026 |
Stopped: [ TCS-1 ]
|
|
|
ed0026 |
|
|
|
ed0026 |
Transition Summary:
|
|
|
ed0026 |
- * Stop ip_trf (Started TCS-2)
|
|
|
ed0026 |
- * Stop ip_mgmt (Started TCS-2)
|
|
|
ed0026 |
+ * Stop ip_trf (TCS-2)
|
|
|
ed0026 |
+ * Stop ip_mgmt (TCS-2)
|
|
|
ed0026 |
|
|
|
ed0026 |
Executing cluster transition:
|
|
|
ed0026 |
* Pseudo action: svc_stop_0
|
|
|
ed0026 |
diff --git a/pengine/test10/clone-fail-block-colocation.dot b/pengine/test10/clone-fail-block-colocation.dot
|
|
|
ed0026 |
new file mode 100644
|
|
|
ed0026 |
index 0000000..6356bd2
|
|
|
ed0026 |
--- /dev/null
|
|
|
ed0026 |
+++ b/pengine/test10/clone-fail-block-colocation.dot
|
|
|
ed0026 |
@@ -0,0 +1,56 @@
|
|
|
ed0026 |
+digraph "g" {
|
|
|
ed0026 |
+"all_stopped" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
+"d_bird_subnet_state_monitor_10000 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"d_bird_subnet_state_start_0 DEM-2" -> "d_bird_subnet_state_monitor_10000 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"d_bird_subnet_state_start_0 DEM-2" -> "ip_mgmt_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"d_bird_subnet_state_start_0 DEM-2" -> "svc_running_0" [ style = bold]
|
|
|
ed0026 |
+"d_bird_subnet_state_start_0 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"d_bird_subnet_state_stop_0 DEM-1" -> "all_stopped" [ style = bold]
|
|
|
ed0026 |
+"d_bird_subnet_state_stop_0 DEM-1" -> "d_bird_subnet_state_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"d_bird_subnet_state_stop_0 DEM-1" -> "ipv6_dem_tas_dns_stop_0 DEM-1" [ style = bold]
|
|
|
ed0026 |
+"d_bird_subnet_state_stop_0 DEM-1" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
+"d_bird_subnet_state_stop_0 DEM-1" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ip_mgmt_monitor_10000 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ip_mgmt_start_0 DEM-2" -> "ip_mgmt_monitor_10000 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ip_mgmt_start_0 DEM-2" -> "ip_trf_tas_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ip_mgmt_start_0 DEM-2" -> "svc_running_0" [ style = bold]
|
|
|
ed0026 |
+"ip_mgmt_start_0 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ip_mgmt_stop_0 DEM-1" -> "all_stopped" [ style = bold]
|
|
|
ed0026 |
+"ip_mgmt_stop_0 DEM-1" -> "d_bird_subnet_state_stop_0 DEM-1" [ style = bold]
|
|
|
ed0026 |
+"ip_mgmt_stop_0 DEM-1" -> "ip_mgmt_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ip_mgmt_stop_0 DEM-1" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
+"ip_mgmt_stop_0 DEM-1" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ip_trf_tas_monitor_10000 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ip_trf_tas_start_0 DEM-2" -> "ip_trf_tas_monitor_10000 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ip_trf_tas_start_0 DEM-2" -> "svc_running_0" [ style = bold]
|
|
|
ed0026 |
+"ip_trf_tas_start_0 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ip_trf_tas_stop_0 DEM-1" -> "all_stopped" [ style = bold]
|
|
|
ed0026 |
+"ip_trf_tas_stop_0 DEM-1" -> "ip_mgmt_stop_0 DEM-1" [ style = bold]
|
|
|
ed0026 |
+"ip_trf_tas_stop_0 DEM-1" -> "ip_trf_tas_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ip_trf_tas_stop_0 DEM-1" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
+"ip_trf_tas_stop_0 DEM-1" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_monitor_10000 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_start_0 DEM-2" -> "d_bird_subnet_state_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_start_0 DEM-2" -> "ipv6_dem_tas_dns_monitor_10000 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_start_0 DEM-2" -> "svc_running_0" [ style = bold]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_start_0 DEM-2" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_stop_0 DEM-1" -> "all_stopped" [ style = bold]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_stop_0 DEM-1" -> "ipv6_dem_tas_dns_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_stop_0 DEM-1" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
+"ipv6_dem_tas_dns_stop_0 DEM-1" [ style=bold color="green" fontcolor="black"]
|
|
|
ed0026 |
+"svc_running_0" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
+"svc_start_0" -> "d_bird_subnet_state_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"svc_start_0" -> "ip_mgmt_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"svc_start_0" -> "ip_trf_tas_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"svc_start_0" -> "ipv6_dem_tas_dns_start_0 DEM-2" [ style = bold]
|
|
|
ed0026 |
+"svc_start_0" -> "svc_running_0" [ style = bold]
|
|
|
ed0026 |
+"svc_start_0" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
+"svc_stop_0" -> "d_bird_subnet_state_stop_0 DEM-1" [ style = bold]
|
|
|
ed0026 |
+"svc_stop_0" -> "ip_mgmt_stop_0 DEM-1" [ style = bold]
|
|
|
ed0026 |
+"svc_stop_0" -> "ip_trf_tas_stop_0 DEM-1" [ style = bold]
|
|
|
ed0026 |
+"svc_stop_0" -> "ipv6_dem_tas_dns_stop_0 DEM-1" [ style = bold]
|
|
|
ed0026 |
+"svc_stop_0" -> "svc_stopped_0" [ style = bold]
|
|
|
ed0026 |
+"svc_stop_0" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
+"svc_stopped_0" -> "svc_start_0" [ style = bold]
|
|
|
ed0026 |
+"svc_stopped_0" [ style=bold color="green" fontcolor="orange"]
|
|
|
ed0026 |
+}
|
|
|
ed0026 |
diff --git a/pengine/test10/clone-fail-block-colocation.exp b/pengine/test10/clone-fail-block-colocation.exp
|
|
|
ed0026 |
new file mode 100644
|
|
|
ed0026 |
index 0000000..f88139e
|
|
|
ed0026 |
--- /dev/null
|
|
|
ed0026 |
+++ b/pengine/test10/clone-fail-block-colocation.exp
|
|
|
ed0026 |
@@ -0,0 +1,277 @@
|
|
|
ed0026 |
+<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" batch-limit="30" transition_id="0">
|
|
|
ed0026 |
+ <synapse id="0">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <pseudo_event id="30" operation="stopped" operation_key="svc_stopped_0">
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </pseudo_event>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="15" operation="stop" operation_key="ipv6_dem_tas_dns_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="18" operation="stop" operation_key="d_bird_subnet_state_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="21" operation="stop" operation_key="ip_mgmt_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="24" operation="stop" operation_key="ip_trf_tas_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="29" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="1">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <pseudo_event id="29" operation="stop" operation_key="svc_stop_0">
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </pseudo_event>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs/>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="2">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <pseudo_event id="28" operation="running" operation_key="svc_running_0">
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </pseudo_event>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="16" operation="start" operation_key="ipv6_dem_tas_dns_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="19" operation="start" operation_key="d_bird_subnet_state_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="22" operation="start" operation_key="ip_mgmt_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="25" operation="start" operation_key="ip_trf_tas_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="27" operation="start" operation_key="svc_start_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="3">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <pseudo_event id="27" operation="start" operation_key="svc_start_0">
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </pseudo_event>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="30" operation="stopped" operation_key="svc_stopped_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="4">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="17" operation="monitor" operation_key="ipv6_dem_tas_dns_monitor_10000" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="ipv6_dem_tas_dns" class="ocf" provider="heartbeat" type="IPv6addr"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_timeout="20000" cidr_netmask="112" crm_feature_set="3.0.7" ipv6addr="fd15:a2c:8660:c828:172:16:10:241" nic="bond0.3010"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="16" operation="start" operation_key="ipv6_dem_tas_dns_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="5">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="16" operation="start" operation_key="ipv6_dem_tas_dns_start_0" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="ipv6_dem_tas_dns" class="ocf" provider="heartbeat" type="IPv6addr"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" cidr_netmask="112" crm_feature_set="3.0.7" ipv6addr="fd15:a2c:8660:c828:172:16:10:241" nic="bond0.3010"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="15" operation="stop" operation_key="ipv6_dem_tas_dns_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="27" operation="start" operation_key="svc_start_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="6">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="15" operation="stop" operation_key="ipv6_dem_tas_dns_stop_0" on_node="DEM-1" on_node_uuid="DEM-1">
|
|
|
ed0026 |
+ <primitive id="ipv6_dem_tas_dns" class="ocf" provider="heartbeat" type="IPv6addr"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" cidr_netmask="112" crm_feature_set="3.0.7" ipv6addr="fd15:a2c:8660:c828:172:16:10:241" nic="bond0.3010"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="18" operation="stop" operation_key="d_bird_subnet_state_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="29" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="7">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="20" operation="monitor" operation_key="d_bird_subnet_state_monitor_10000" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="d_bird_subnet_state" class="lsb" type="bird_subnet_state"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="19" operation="start" operation_key="d_bird_subnet_state_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="8">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="19" operation="start" operation_key="d_bird_subnet_state_start_0" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="d_bird_subnet_state" class="lsb" type="bird_subnet_state"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="16" operation="start" operation_key="ipv6_dem_tas_dns_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="18" operation="stop" operation_key="d_bird_subnet_state_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="27" operation="start" operation_key="svc_start_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="9">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="18" operation="stop" operation_key="d_bird_subnet_state_stop_0" on_node="DEM-1" on_node_uuid="DEM-1">
|
|
|
ed0026 |
+ <primitive id="d_bird_subnet_state" class="lsb" type="bird_subnet_state"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="21" operation="stop" operation_key="ip_mgmt_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="29" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="10">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="23" operation="monitor" operation_key="ip_mgmt_monitor_10000" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="ip_mgmt" class="ocf" provider="heartbeat" type="IPaddr2"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_timeout="20000" broadcast="172.20.1.241" crm_feature_set="3.0.7" iflabel="ha" ip="172.20.1.241" nic="bond0"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="22" operation="start" operation_key="ip_mgmt_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="11">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="22" operation="start" operation_key="ip_mgmt_start_0" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="ip_mgmt" class="ocf" provider="heartbeat" type="IPaddr2"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" broadcast="172.20.1.241" crm_feature_set="3.0.7" iflabel="ha" ip="172.20.1.241" nic="bond0"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="19" operation="start" operation_key="d_bird_subnet_state_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="21" operation="stop" operation_key="ip_mgmt_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="27" operation="start" operation_key="svc_start_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="12">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="21" operation="stop" operation_key="ip_mgmt_stop_0" on_node="DEM-1" on_node_uuid="DEM-1">
|
|
|
ed0026 |
+ <primitive id="ip_mgmt" class="ocf" provider="heartbeat" type="IPaddr2"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" broadcast="172.20.1.241" crm_feature_set="3.0.7" iflabel="ha" ip="172.20.1.241" nic="bond0"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="24" operation="stop" operation_key="ip_trf_tas_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="29" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="13">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="26" operation="monitor" operation_key="ip_trf_tas_monitor_10000" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="ip_trf_tas" class="ocf" provider="heartbeat" type="IPaddr2"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_timeout="20000" broadcast="172.16.10.241" crm_feature_set="3.0.7" iflabel="ha" ip="172.16.10.241" nic="bond0.3010"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="25" operation="start" operation_key="ip_trf_tas_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="14">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="25" operation="start" operation_key="ip_trf_tas_start_0" on_node="DEM-2" on_node_uuid="DEM-2">
|
|
|
ed0026 |
+ <primitive id="ip_trf_tas" class="ocf" provider="heartbeat" type="IPaddr2"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" broadcast="172.16.10.241" crm_feature_set="3.0.7" iflabel="ha" ip="172.16.10.241" nic="bond0.3010"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="22" operation="start" operation_key="ip_mgmt_start_0" on_node="DEM-2" on_node_uuid="DEM-2"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="24" operation="stop" operation_key="ip_trf_tas_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="27" operation="start" operation_key="svc_start_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="15">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <rsc_op id="24" operation="stop" operation_key="ip_trf_tas_stop_0" on_node="DEM-1" on_node_uuid="DEM-1">
|
|
|
ed0026 |
+ <primitive id="ip_trf_tas" class="ocf" provider="heartbeat" type="IPaddr2"/>
|
|
|
ed0026 |
+ <attributes CRM_meta_timeout="20000" broadcast="172.16.10.241" crm_feature_set="3.0.7" iflabel="ha" ip="172.16.10.241" nic="bond0.3010"/>
|
|
|
ed0026 |
+ </rsc_op>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <pseudo_event id="29" operation="stop" operation_key="svc_stop_0"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+ <synapse id="16">
|
|
|
ed0026 |
+ <action_set>
|
|
|
ed0026 |
+ <pseudo_event id="11" operation="all_stopped" operation_key="all_stopped">
|
|
|
ed0026 |
+ <attributes crm_feature_set="3.0.7"/>
|
|
|
ed0026 |
+ </pseudo_event>
|
|
|
ed0026 |
+ </action_set>
|
|
|
ed0026 |
+ <inputs>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="15" operation="stop" operation_key="ipv6_dem_tas_dns_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="18" operation="stop" operation_key="d_bird_subnet_state_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="21" operation="stop" operation_key="ip_mgmt_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ <trigger>
|
|
|
ed0026 |
+ <rsc_op id="24" operation="stop" operation_key="ip_trf_tas_stop_0" on_node="DEM-1" on_node_uuid="DEM-1"/>
|
|
|
ed0026 |
+ </trigger>
|
|
|
ed0026 |
+ </inputs>
|
|
|
ed0026 |
+ </synapse>
|
|
|
ed0026 |
+</transition_graph>
|
|
|
ed0026 |
diff --git a/pengine/test10/clone-fail-block-colocation.scores b/pengine/test10/clone-fail-block-colocation.scores
|
|
|
ed0026 |
new file mode 100644
|
|
|
ed0026 |
index 0000000..9443744
|
|
|
ed0026 |
--- /dev/null
|
|
|
ed0026 |
+++ b/pengine/test10/clone-fail-block-colocation.scores
|
|
|
ed0026 |
@@ -0,0 +1,49 @@
|
|
|
ed0026 |
+Allocation scores:
|
|
|
ed0026 |
+clone_color: cl_bird allocation score on DEM-1: 0
|
|
|
ed0026 |
+clone_color: cl_bird allocation score on DEM-2: 0
|
|
|
ed0026 |
+clone_color: cl_bird6 allocation score on DEM-1: 0
|
|
|
ed0026 |
+clone_color: cl_bird6 allocation score on DEM-2: 0
|
|
|
ed0026 |
+clone_color: cl_tomcat_nms allocation score on DEM-1: 0
|
|
|
ed0026 |
+clone_color: cl_tomcat_nms allocation score on DEM-2: 0
|
|
|
ed0026 |
+clone_color: d_bird6:0 allocation score on DEM-1: INFINITY
|
|
|
ed0026 |
+clone_color: d_bird6:0 allocation score on DEM-2: 0
|
|
|
ed0026 |
+clone_color: d_bird6:1 allocation score on DEM-1: 0
|
|
|
ed0026 |
+clone_color: d_bird6:1 allocation score on DEM-2: 1
|
|
|
ed0026 |
+clone_color: d_bird:0 allocation score on DEM-1: 1
|
|
|
ed0026 |
+clone_color: d_bird:0 allocation score on DEM-2: 0
|
|
|
ed0026 |
+clone_color: d_bird:1 allocation score on DEM-1: 0
|
|
|
ed0026 |
+clone_color: d_bird:1 allocation score on DEM-2: 1
|
|
|
ed0026 |
+clone_color: d_tomcat_nms:0 allocation score on DEM-1: 1
|
|
|
ed0026 |
+clone_color: d_tomcat_nms:0 allocation score on DEM-2: 0
|
|
|
ed0026 |
+clone_color: d_tomcat_nms:1 allocation score on DEM-1: 0
|
|
|
ed0026 |
+clone_color: d_tomcat_nms:1 allocation score on DEM-2: 1
|
|
|
ed0026 |
+group_color: d_bird_subnet_state allocation score on DEM-1: 0
|
|
|
ed0026 |
+group_color: d_bird_subnet_state allocation score on DEM-2: 0
|
|
|
ed0026 |
+group_color: ip_mgmt allocation score on DEM-1: 0
|
|
|
ed0026 |
+group_color: ip_mgmt allocation score on DEM-2: 0
|
|
|
ed0026 |
+group_color: ip_trf_tas allocation score on DEM-1: 0
|
|
|
ed0026 |
+group_color: ip_trf_tas allocation score on DEM-2: 0
|
|
|
ed0026 |
+group_color: ipv6_dem_tas_dns allocation score on DEM-1: 0
|
|
|
ed0026 |
+group_color: ipv6_dem_tas_dns allocation score on DEM-2: 0
|
|
|
ed0026 |
+group_color: svc allocation score on DEM-1: 0
|
|
|
ed0026 |
+group_color: svc allocation score on DEM-2: 0
|
|
|
ed0026 |
+native_color: d_bird6:0 allocation score on DEM-1: INFINITY
|
|
|
ed0026 |
+native_color: d_bird6:0 allocation score on DEM-2: -INFINITY
|
|
|
ed0026 |
+native_color: d_bird6:1 allocation score on DEM-1: 0
|
|
|
ed0026 |
+native_color: d_bird6:1 allocation score on DEM-2: 1
|
|
|
ed0026 |
+native_color: d_bird:0 allocation score on DEM-1: 1
|
|
|
ed0026 |
+native_color: d_bird:0 allocation score on DEM-2: 0
|
|
|
ed0026 |
+native_color: d_bird:1 allocation score on DEM-1: -INFINITY
|
|
|
ed0026 |
+native_color: d_bird:1 allocation score on DEM-2: 1
|
|
|
ed0026 |
+native_color: d_bird_subnet_state allocation score on DEM-1: -INFINITY
|
|
|
ed0026 |
+native_color: d_bird_subnet_state allocation score on DEM-2: 0
|
|
|
ed0026 |
+native_color: d_tomcat_nms:0 allocation score on DEM-1: 1
|
|
|
ed0026 |
+native_color: d_tomcat_nms:0 allocation score on DEM-2: 0
|
|
|
ed0026 |
+native_color: d_tomcat_nms:1 allocation score on DEM-1: -INFINITY
|
|
|
ed0026 |
+native_color: d_tomcat_nms:1 allocation score on DEM-2: 1
|
|
|
ed0026 |
+native_color: ip_mgmt allocation score on DEM-1: -INFINITY
|
|
|
ed0026 |
+native_color: ip_mgmt allocation score on DEM-2: 0
|
|
|
ed0026 |
+native_color: ip_trf_tas allocation score on DEM-1: -INFINITY
|
|
|
ed0026 |
+native_color: ip_trf_tas allocation score on DEM-2: 0
|
|
|
ed0026 |
+native_color: ipv6_dem_tas_dns allocation score on DEM-1: -INFINITY
|
|
|
ed0026 |
+native_color: ipv6_dem_tas_dns allocation score on DEM-2: 0
|
|
|
ed0026 |
diff --git a/pengine/test10/clone-fail-block-colocation.summary b/pengine/test10/clone-fail-block-colocation.summary
|
|
|
ed0026 |
new file mode 100644
|
|
|
ed0026 |
index 0000000..7b066ee
|
|
|
ed0026 |
--- /dev/null
|
|
|
ed0026 |
+++ b/pengine/test10/clone-fail-block-colocation.summary
|
|
|
ed0026 |
@@ -0,0 +1,58 @@
|
|
|
ed0026 |
+
|
|
|
ed0026 |
+Current cluster status:
|
|
|
ed0026 |
+Online: [ DEM-1 DEM-2 ]
|
|
|
ed0026 |
+
|
|
|
ed0026 |
+ Resource Group: svc
|
|
|
ed0026 |
+ ipv6_dem_tas_dns (ocf::heartbeat:IPv6addr): Started DEM-1
|
|
|
ed0026 |
+ d_bird_subnet_state (lsb:bird_subnet_state): Started DEM-1
|
|
|
ed0026 |
+ ip_mgmt (ocf::heartbeat:IPaddr2): Started DEM-1
|
|
|
ed0026 |
+ ip_trf_tas (ocf::heartbeat:IPaddr2): Started DEM-1
|
|
|
ed0026 |
+ Clone Set: cl_bird [d_bird]
|
|
|
ed0026 |
+ Started: [ DEM-1 DEM-2 ]
|
|
|
ed0026 |
+ Clone Set: cl_bird6 [d_bird6]
|
|
|
ed0026 |
+ d_bird6 (lsb:bird6): Started DEM-1 (unmanaged) FAILED
|
|
|
ed0026 |
+ Started: [ DEM-2 ]
|
|
|
ed0026 |
+ Clone Set: cl_tomcat_nms [d_tomcat_nms]
|
|
|
ed0026 |
+ Started: [ DEM-1 DEM-2 ]
|
|
|
ed0026 |
+
|
|
|
ed0026 |
+Transition Summary:
|
|
|
ed0026 |
+ * Move ipv6_dem_tas_dns (Started DEM-1 -> DEM-2)
|
|
|
ed0026 |
+ * Move d_bird_subnet_state (Started DEM-1 -> DEM-2)
|
|
|
ed0026 |
+ * Move ip_mgmt (Started DEM-1 -> DEM-2)
|
|
|
ed0026 |
+ * Move ip_trf_tas (Started DEM-1 -> DEM-2)
|
|
|
ed0026 |
+
|
|
|
ed0026 |
+Executing cluster transition:
|
|
|
ed0026 |
+ * Pseudo action: svc_stop_0
|
|
|
ed0026 |
+ * Resource action: ip_trf_tas stop on DEM-1
|
|
|
ed0026 |
+ * Resource action: ip_mgmt stop on DEM-1
|
|
|
ed0026 |
+ * Resource action: d_bird_subnet_state stop on DEM-1
|
|
|
ed0026 |
+ * Resource action: ipv6_dem_tas_dns stop on DEM-1
|
|
|
ed0026 |
+ * Pseudo action: all_stopped
|
|
|
ed0026 |
+ * Pseudo action: svc_stopped_0
|
|
|
ed0026 |
+ * Pseudo action: svc_start_0
|
|
|
ed0026 |
+ * Resource action: ipv6_dem_tas_dns start on DEM-2
|
|
|
ed0026 |
+ * Resource action: d_bird_subnet_state start on DEM-2
|
|
|
ed0026 |
+ * Resource action: ip_mgmt start on DEM-2
|
|
|
ed0026 |
+ * Resource action: ip_trf_tas start on DEM-2
|
|
|
ed0026 |
+ * Pseudo action: svc_running_0
|
|
|
ed0026 |
+ * Resource action: ipv6_dem_tas_dns monitor=10000 on DEM-2
|
|
|
ed0026 |
+ * Resource action: d_bird_subnet_state monitor=10000 on DEM-2
|
|
|
ed0026 |
+ * Resource action: ip_mgmt monitor=10000 on DEM-2
|
|
|
ed0026 |
+ * Resource action: ip_trf_tas monitor=10000 on DEM-2
|
|
|
ed0026 |
+
|
|
|
ed0026 |
+Revised cluster status:
|
|
|
ed0026 |
+Online: [ DEM-1 DEM-2 ]
|
|
|
ed0026 |
+
|
|
|
ed0026 |
+ Resource Group: svc
|
|
|
ed0026 |
+ ipv6_dem_tas_dns (ocf::heartbeat:IPv6addr): Started DEM-2
|
|
|
ed0026 |
+ d_bird_subnet_state (lsb:bird_subnet_state): Started DEM-2
|
|
|
ed0026 |
+ ip_mgmt (ocf::heartbeat:IPaddr2): Started DEM-2
|
|
|
ed0026 |
+ ip_trf_tas (ocf::heartbeat:IPaddr2): Started DEM-2
|
|
|
ed0026 |
+ Clone Set: cl_bird [d_bird]
|
|
|
ed0026 |
+ Started: [ DEM-1 DEM-2 ]
|
|
|
ed0026 |
+ Clone Set: cl_bird6 [d_bird6]
|
|
|
ed0026 |
+ d_bird6 (lsb:bird6): Started DEM-1 (unmanaged) FAILED
|
|
|
ed0026 |
+ Started: [ DEM-2 ]
|
|
|
ed0026 |
+ Clone Set: cl_tomcat_nms [d_tomcat_nms]
|
|
|
ed0026 |
+ Started: [ DEM-1 DEM-2 ]
|
|
|
ed0026 |
+
|
|
|
ed0026 |
diff --git a/pengine/test10/clone-fail-block-colocation.xml b/pengine/test10/clone-fail-block-colocation.xml
|
|
|
ed0026 |
new file mode 100644
|
|
|
ed0026 |
index 0000000..02eac7d
|
|
|
ed0026 |
--- /dev/null
|
|
|
ed0026 |
+++ b/pengine/test10/clone-fail-block-colocation.xml
|
|
|
ed0026 |
@@ -0,0 +1,192 @@
|
|
|
ed0026 |
+<cib epoch="29" num_updates="10" admin_epoch="0" validate-with="pacemaker-1.2" cib-last-written="Thu Aug 1 07:18:30 2013" update-origin="DEM-1" update-client="cibadmin" crm_feature_set="3.0.7" have-quorum="1" dc-uuid="DEM-1">
|
|
|
ed0026 |
+ <configuration>
|
|
|
ed0026 |
+ <crm_config>
|
|
|
ed0026 |
+ <cluster_property_set id="cib-bootstrap-options">
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.11-1.el6-42f2063"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="cman"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-pe-warn-series-max" name="pe-warn-series-max" value="9"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-cluster-recheck-interval" name="cluster-recheck-interval" value="3min"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-pe-input-series-max" name="pe-input-series-max" value="9"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-pe-error-series-max" name="pe-error-series-max" value="9"/>
|
|
|
ed0026 |
+ <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1375341246"/>
|
|
|
ed0026 |
+ </cluster_property_set>
|
|
|
ed0026 |
+ </crm_config>
|
|
|
ed0026 |
+ <nodes>
|
|
|
ed0026 |
+ <node id="DEM-1" uname="DEM-1"/>
|
|
|
ed0026 |
+ <node id="DEM-2" uname="DEM-2"/>
|
|
|
ed0026 |
+ </nodes>
|
|
|
ed0026 |
+ <resources>
|
|
|
ed0026 |
+ <group id="svc">
|
|
|
ed0026 |
+ <primitive class="ocf" id="ipv6_dem_tas_dns" provider="heartbeat" type="IPv6addr">
|
|
|
ed0026 |
+ <operations>
|
|
|
ed0026 |
+ <op id="ipv6_dem_tas_dns-monitor-10s" interval="10s" name="monitor"/>
|
|
|
ed0026 |
+ </operations>
|
|
|
ed0026 |
+ <instance_attributes id="ipv6_dem_tas_dns-instance_attributes">
|
|
|
ed0026 |
+ <nvpair id="ipv6_dem_tas_dns-instance_attributes-cidr_netmask" name="cidr_netmask" value="112"/>
|
|
|
ed0026 |
+ <nvpair id="ipv6_dem_tas_dns-instance_attributes-nic" name="nic" value="bond0.3010"/>
|
|
|
ed0026 |
+ <nvpair id="ipv6_dem_tas_dns-instance_attributes-ipv6addr" name="ipv6addr" value="fd15:a2c:8660:c828:172:16:10:241"/>
|
|
|
ed0026 |
+ </instance_attributes>
|
|
|
ed0026 |
+ <meta_attributes id="ipv6_dem_tas_dns-meta_attributes">
|
|
|
ed0026 |
+ <nvpair id="ipv6_dem_tas_dns-meta_attributes-migration-threshold" name="migration-threshold" value="1"/>
|
|
|
ed0026 |
+ </meta_attributes>
|
|
|
ed0026 |
+ </primitive>
|
|
|
ed0026 |
+ <primitive class="lsb" id="d_bird_subnet_state" type="bird_subnet_state">
|
|
|
ed0026 |
+ <operations>
|
|
|
ed0026 |
+ <op id="d_bird_subnet_state-monitor-10s" interval="10s" name="monitor"/>
|
|
|
ed0026 |
+ </operations>
|
|
|
ed0026 |
+ <meta_attributes id="d_bird_subnet_state-meta_attributes">
|
|
|
ed0026 |
+ <nvpair id="d_bird_subnet_state-meta_attributes-migration-threshold" name="migration-threshold" value="1"/>
|
|
|
ed0026 |
+ </meta_attributes>
|
|
|
ed0026 |
+ </primitive>
|
|
|
ed0026 |
+ <primitive class="ocf" id="ip_mgmt" provider="heartbeat" type="IPaddr2">
|
|
|
ed0026 |
+ <operations>
|
|
|
ed0026 |
+ <op id="ip_mgmt-monitor-10s" interval="10s" name="monitor"/>
|
|
|
ed0026 |
+ </operations>
|
|
|
ed0026 |
+ <instance_attributes id="ip_mgmt-instance_attributes">
|
|
|
ed0026 |
+ <nvpair id="ip_mgmt-instance_attributes-broadcast" name="broadcast" value="172.20.1.241"/>
|
|
|
ed0026 |
+ <nvpair id="ip_mgmt-instance_attributes-iflabel" name="iflabel" value="ha"/>
|
|
|
ed0026 |
+ <nvpair id="ip_mgmt-instance_attributes-nic" name="nic" value="bond0"/>
|
|
|
ed0026 |
+ <nvpair id="ip_mgmt-instance_attributes-ip" name="ip" value="172.20.1.241"/>
|
|
|
ed0026 |
+ </instance_attributes>
|
|
|
ed0026 |
+ <meta_attributes id="ip_mgmt-meta_attributes">
|
|
|
ed0026 |
+ <nvpair id="ip_mgmt-meta_attributes-migration-threshold" name="migration-threshold" value="1"/>
|
|
|
ed0026 |
+ </meta_attributes>
|
|
|
ed0026 |
+ </primitive>
|
|
|
ed0026 |
+ <primitive class="ocf" id="ip_trf_tas" provider="heartbeat" type="IPaddr2">
|
|
|
ed0026 |
+ <operations>
|
|
|
ed0026 |
+ <op id="ip_trf_tas-monitor-10s" interval="10s" name="monitor"/>
|
|
|
ed0026 |
+ </operations>
|
|
|
ed0026 |
+ <instance_attributes id="ip_trf_tas-instance_attributes">
|
|
|
ed0026 |
+ <nvpair id="ip_trf_tas-instance_attributes-broadcast" name="broadcast" value="172.16.10.241"/>
|
|
|
ed0026 |
+ <nvpair id="ip_trf_tas-instance_attributes-iflabel" name="iflabel" value="ha"/>
|
|
|
ed0026 |
+ <nvpair id="ip_trf_tas-instance_attributes-nic" name="nic" value="bond0.3010"/>
|
|
|
ed0026 |
+ <nvpair id="ip_trf_tas-instance_attributes-ip" name="ip" value="172.16.10.241"/>
|
|
|
ed0026 |
+ </instance_attributes>
|
|
|
ed0026 |
+ <meta_attributes id="ip_trf_tas-meta_attributes">
|
|
|
ed0026 |
+ <nvpair id="ip_trf_tas-meta_attributes-migration-threshold" name="migration-threshold" value="1"/>
|
|
|
ed0026 |
+ </meta_attributes>
|
|
|
ed0026 |
+ </primitive>
|
|
|
ed0026 |
+ </group>
|
|
|
ed0026 |
+ <clone id="cl_bird">
|
|
|
ed0026 |
+ <primitive class="lsb" id="d_bird" type="bird">
|
|
|
ed0026 |
+ <operations>
|
|
|
ed0026 |
+ <op id="d_bird-monitor-10s" interval="10s" name="monitor" on-fail="block"/>
|
|
|
ed0026 |
+ </operations>
|
|
|
ed0026 |
+ </primitive>
|
|
|
ed0026 |
+ </clone>
|
|
|
ed0026 |
+ <clone id="cl_bird6">
|
|
|
ed0026 |
+ <primitive class="lsb" id="d_bird6" type="bird6">
|
|
|
ed0026 |
+ <operations>
|
|
|
ed0026 |
+ <op id="d_bird6-monitor-10s" interval="10s" name="monitor" on-fail="block"/>
|
|
|
ed0026 |
+ </operations>
|
|
|
ed0026 |
+ </primitive>
|
|
|
ed0026 |
+ </clone>
|
|
|
ed0026 |
+ <clone id="cl_tomcat_nms">
|
|
|
ed0026 |
+ <primitive class="ocf" id="d_tomcat_nms" provider="ntc" type="tomcat">
|
|
|
ed0026 |
+ <operations>
|
|
|
ed0026 |
+ <op id="d_tomcat_nms-monitor-15s" interval="15s" name="monitor" on-fail="block" timeout="510s"/>
|
|
|
ed0026 |
+ <op id="d_tomcat_nms-stop-0" interval="0" name="stop" timeout="510s"/>
|
|
|
ed0026 |
+ <op id="d_tomcat_nms-start-0" interval="0" name="start" timeout="510s"/>
|
|
|
ed0026 |
+ </operations>
|
|
|
ed0026 |
+ <instance_attributes id="d_tomcat_nms-instance_attributes">
|
|
|
ed0026 |
+ <nvpair id="d_tomcat_nms-instance_attributes-monitor_urls" name="monitor_urls" value="/dem-device-manager/health"/>
|
|
|
ed0026 |
+ <nvpair id="d_tomcat_nms-instance_attributes-monitor_use_ssl" name="monitor_use_ssl" value="no"/>
|
|
|
ed0026 |
+ <nvpair id="d_tomcat_nms-instance_attributes-instance_name" name="instance_name" value="NMS"/>
|
|
|
ed0026 |
+ <nvpair id="d_tomcat_nms-instance_attributes-monitor_timeout" name="monitor_timeout" value="120"/>
|
|
|
ed0026 |
+ </instance_attributes>
|
|
|
ed0026 |
+ </primitive>
|
|
|
ed0026 |
+ </clone>
|
|
|
ed0026 |
+ </resources>
|
|
|
ed0026 |
+ <constraints>
|
|
|
ed0026 |
+ <rsc_order first="cl_bird" id="order_bird" score="INFINITY" symmetrical="true" then="svc"/>
|
|
|
ed0026 |
+ <rsc_order first="cl_bird6" id="order_bird6" score="INFINITY" symmetrical="true" then="svc"/>
|
|
|
ed0026 |
+ <rsc_order first="cl_tomcat_nms" id="order_tomcat_nms" score="INFINITY" symmetrical="true" then="svc"/>
|
|
|
ed0026 |
+ <rsc_colocation id="colo_tomcat_nms" rsc="svc" score="INFINITY" with-rsc="cl_tomcat_nms"/>
|
|
|
ed0026 |
+ <rsc_colocation id="colo_bird6" rsc="svc" score="INFINITY" with-rsc="cl_bird6"/>
|
|
|
ed0026 |
+ <rsc_colocation id="colo_bird" rsc="svc" score="INFINITY" with-rsc="cl_bird"/>
|
|
|
ed0026 |
+ </constraints>
|
|
|
ed0026 |
+ </configuration>
|
|
|
ed0026 |
+ <status>
|
|
|
ed0026 |
+ <node_state id="DEM-1" uname="DEM-1" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
|
|
|
ed0026 |
+ <transient_attributes id="DEM-1">
|
|
|
ed0026 |
+ <instance_attributes id="status-DEM-1">
|
|
|
ed0026 |
+ <nvpair id="status-DEM-1-probe_complete" name="probe_complete" value="true"/>
|
|
|
ed0026 |
+ <nvpair id="status-DEM-1-last-failure-d_bird" name="last-failure-d_bird" value="1375341129"/>
|
|
|
ed0026 |
+ <nvpair id="status-DEM-1-fail-count-d_bird6" name="fail-count-d_bird6" value="1"/>
|
|
|
ed0026 |
+ <nvpair id="status-DEM-1-last-failure-d_bird6" name="last-failure-d_bird6" value="1375341530"/>
|
|
|
ed0026 |
+ </instance_attributes>
|
|
|
ed0026 |
+ </transient_attributes>
|
|
|
ed0026 |
+ <lrm id="DEM-1">
|
|
|
ed0026 |
+ <lrm_resources>
|
|
|
ed0026 |
+ <lrm_resource id="ipv6_dem_tas_dns" type="IPv6addr" class="ocf" provider="heartbeat">
|
|
|
ed0026 |
+ <lrm_rsc_op id="ipv6_dem_tas_dns_last_0" operation_key="ipv6_dem_tas_dns_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="11:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;11:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="58" rc-code="0" op-status="0" interval="0" last-run="1375341015" last-rc-change="1375341015" exec-time="7006" queue-time="0" op-digest="53af56d463bd7ec89aee6e087825e22b"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="ipv6_dem_tas_dns_monitor_10000" operation_key="ipv6_dem_tas_dns_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="12:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;12:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="62" rc-code="0" op-status="0" interval="10000" last-rc-change="1375341022" exec-time="2" queue-time="1" op-digest="fd94b15c52be1857da5345d63a4bc0e5"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_bird6" type="bird6" class="lsb">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird6_last_0" operation_key="d_bird6_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="29:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;29:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="43" rc-code="0" op-status="0" interval="0" last-run="1375340999" last-rc-change="1375340999" exec-time="49" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird6_monitor_10000" operation_key="d_bird6_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="30:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;30:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="48" rc-code="0" op-status="0" interval="10000" last-rc-change="1375340999" exec-time="21" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird6_last_failure_0" operation_key="d_bird6_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.7" transition-key="30:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:7;30:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="48" rc-code="7" op-status="0" interval="10000" last-rc-change="1375341530" exec-time="0" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_bird_subnet_state" type="bird_subnet_state" class="lsb">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird_subnet_state_last_0" operation_key="d_bird_subnet_state_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="13:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;13:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="64" rc-code="0" op-status="0" interval="0" last-run="1375341022" last-rc-change="1375341022" exec-time="4036" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird_subnet_state_monitor_10000" operation_key="d_bird_subnet_state_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="14:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;14:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="68" rc-code="0" op-status="0" interval="10000" last-rc-change="1375341026" exec-time="19" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="ip_trf_tas" type="IPaddr2" class="ocf" provider="heartbeat">
|
|
|
ed0026 |
+ <lrm_rsc_op id="ip_trf_tas_last_0" operation_key="ip_trf_tas_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="17:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;17:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="76" rc-code="0" op-status="0" interval="0" last-run="1375341026" last-rc-change="1375341026" exec-time="53" queue-time="0" op-digest="b3cfedd8c3c97d0ac635474e24692dad"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="ip_trf_tas_monitor_10000" operation_key="ip_trf_tas_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="18:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;18:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="80" rc-code="0" op-status="0" interval="10000" last-rc-change="1375341026" exec-time="21" queue-time="0" op-digest="20a32ab8c2aeec50b2bedda2f713ab57"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_tomcat_nms" type="tomcat" class="ocf" provider="ntc">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_tomcat_nms_last_0" operation_key="d_tomcat_nms_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="35:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;35:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="45" rc-code="0" op-status="0" interval="0" last-run="1375340999" last-rc-change="1375340999" exec-time="15698" queue-time="0" op-digest="c030e52a1e91e58d4e2d6e57cb9cdea4" op-force-restart=" state instance_name monitor_urls monitor_use_ssl monitor_timeout cleanup " op-restart-digest="c030e52a1e91e58d4e2d6e57cb9cdea4"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_tomcat_nms_monitor_15000" operation_key="d_tomcat_nms_monitor_15000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="36:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;36:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="56" rc-code="0" op-status="0" interval="15000" last-rc-change="1375341015" exec-time="439" queue-time="0" op-digest="9641e02fa4460a2cbfb71f4da59905c7"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_bird" type="bird" class="lsb">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird_last_failure_0" operation_key="d_bird_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="12:10:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;12:10:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="92" rc-code="0" op-status="0" interval="0" last-run="1375341247" last-rc-change="1375341247" exec-time="37" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird_monitor_10000" operation_key="d_bird_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="27:11:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;27:11:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="95" rc-code="0" op-status="0" interval="10000" last-rc-change="1375341247" exec-time="30" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="ip_mgmt" type="IPaddr2" class="ocf" provider="heartbeat">
|
|
|
ed0026 |
+ <lrm_rsc_op id="ip_mgmt_last_0" operation_key="ip_mgmt_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="15:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;15:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="70" rc-code="0" op-status="0" interval="0" last-run="1375341026" last-rc-change="1375341026" exec-time="43" queue-time="0" op-digest="c311e79fb95db5b1a4b80a95c8947ce1"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="ip_mgmt_monitor_10000" operation_key="ip_mgmt_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="16:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;16:0:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="74" rc-code="0" op-status="0" interval="10000" last-rc-change="1375341026" exec-time="41" queue-time="0" op-digest="a1f082697015807cf60bb28fe877e82f"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ </lrm_resources>
|
|
|
ed0026 |
+ </lrm>
|
|
|
ed0026 |
+ </node_state>
|
|
|
ed0026 |
+ <node_state id="DEM-2" uname="DEM-2" crmd="online" join="member" crm-debug-origin="do_state_transition" in_ccm="true" expected="member">
|
|
|
ed0026 |
+ <transient_attributes id="DEM-2">
|
|
|
ed0026 |
+ <instance_attributes id="status-DEM-2">
|
|
|
ed0026 |
+ <nvpair id="status-DEM-2-probe_complete" name="probe_complete" value="true"/>
|
|
|
ed0026 |
+ <nvpair id="status-DEM-2-last-failure-d_bird" name="last-failure-d_bird" value="1375341085"/>
|
|
|
ed0026 |
+ </instance_attributes>
|
|
|
ed0026 |
+ </transient_attributes>
|
|
|
ed0026 |
+ <lrm id="DEM-2">
|
|
|
ed0026 |
+ <lrm_resources>
|
|
|
ed0026 |
+ <lrm_resource id="ipv6_dem_tas_dns" type="IPv6addr" class="ocf" provider="heartbeat">
|
|
|
ed0026 |
+ <lrm_rsc_op id="ipv6_dem_tas_dns_last_0" operation_key="ipv6_dem_tas_dns_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="12:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:7;12:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1375341054" last-rc-change="1375341054" exec-time="19" queue-time="0" op-digest="53af56d463bd7ec89aee6e087825e22b"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_bird6" type="bird6" class="lsb">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird6_last_0" operation_key="d_bird6_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="41:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;41:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="43" rc-code="0" op-status="0" interval="0" last-run="1375341055" last-rc-change="1375341055" exec-time="49" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird6_monitor_10000" operation_key="d_bird6_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="42:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;42:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="51" rc-code="0" op-status="0" interval="10000" last-rc-change="1375341055" exec-time="26" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_bird_subnet_state" type="bird_subnet_state" class="lsb">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird_subnet_state_last_0" operation_key="d_bird_subnet_state_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="13:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:7;13:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="9" rc-code="7" op-status="0" interval="0" last-run="1375341054" last-rc-change="1375341054" exec-time="57" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="ip_trf_tas" type="IPaddr2" class="ocf" provider="heartbeat">
|
|
|
ed0026 |
+ <lrm_rsc_op id="ip_trf_tas_last_0" operation_key="ip_trf_tas_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="15:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:7;15:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="17" rc-code="7" op-status="0" interval="0" last-run="1375341054" last-rc-change="1375341054" exec-time="109" queue-time="0" op-digest="b3cfedd8c3c97d0ac635474e24692dad"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_tomcat_nms" type="tomcat" class="ocf" provider="ntc">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_tomcat_nms_last_0" operation_key="d_tomcat_nms_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="49:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;49:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="45" rc-code="0" op-status="0" interval="0" last-run="1375341055" last-rc-change="1375341055" exec-time="15714" queue-time="0" op-digest="c030e52a1e91e58d4e2d6e57cb9cdea4" op-force-restart=" state instance_name monitor_urls monitor_use_ssl monitor_timeout cleanup " op-restart-digest="c030e52a1e91e58d4e2d6e57cb9cdea4"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_tomcat_nms_monitor_15000" operation_key="d_tomcat_nms_monitor_15000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="50:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;50:1:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="56" rc-code="0" op-status="0" interval="15000" last-rc-change="1375341070" exec-time="287" queue-time="0" op-digest="9641e02fa4460a2cbfb71f4da59905c7"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="d_bird" type="bird" class="lsb">
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird_last_failure_0" operation_key="d_bird_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="14:10:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;14:10:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="68" rc-code="0" op-status="0" interval="0" last-run="1375341246" last-rc-change="1375341246" exec-time="8" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
|
|
|
ed0026 |
+ <lrm_rsc_op id="d_bird_monitor_10000" operation_key="d_bird_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="30:11:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:0;30:11:0:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="71" rc-code="0" op-status="0" interval="10000" last-rc-change="1375341246" exec-time="8" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ <lrm_resource id="ip_mgmt" type="IPaddr2" class="ocf" provider="heartbeat">
|
|
|
ed0026 |
+ <lrm_rsc_op id="ip_mgmt_last_0" operation_key="ip_mgmt_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.7" transition-key="14:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" transition-magic="0:7;14:1:7:59c7d83a-c71b-4e79-bf04-be2b25b00846" call-id="13" rc-code="7" op-status="0" interval="0" last-run="1375341054" last-rc-change="1375341054" exec-time="114" queue-time="0" op-digest="c311e79fb95db5b1a4b80a95c8947ce1"/>
|
|
|
ed0026 |
+ </lrm_resource>
|
|
|
ed0026 |
+ </lrm_resources>
|
|
|
ed0026 |
+ </lrm>
|
|
|
ed0026 |
+ </node_state>
|
|
|
ed0026 |
+ </status>
|
|
|
ed0026 |
+</cib>
|
|
|
ed0026 |
diff --git a/pengine/test10/stop-failure-no-fencing.scores b/pengine/test10/stop-failure-no-fencing.scores
|
|
|
ed0026 |
index efe9888..93b2031 100644
|
|
|
ed0026 |
--- a/pengine/test10/stop-failure-no-fencing.scores
|
|
|
ed0026 |
+++ b/pengine/test10/stop-failure-no-fencing.scores
|
|
|
ed0026 |
@@ -41,7 +41,7 @@ clone_color: dlm:3 allocation score on pcmk-3: 0
|
|
|
ed0026 |
clone_color: dlm:3 allocation score on pcmk-4: 0
|
|
|
ed0026 |
native_color: ClusterIP allocation score on pcmk-1: -INFINITY
|
|
|
ed0026 |
native_color: ClusterIP allocation score on pcmk-2: -INFINITY
|
|
|
ed0026 |
-native_color: ClusterIP allocation score on pcmk-3: 0
|
|
|
ed0026 |
+native_color: ClusterIP allocation score on pcmk-3: -INFINITY
|
|
|
ed0026 |
native_color: ClusterIP allocation score on pcmk-4: -INFINITY
|
|
|
ed0026 |
native_color: clvm:0 allocation score on pcmk-1: -INFINITY
|
|
|
ed0026 |
native_color: clvm:0 allocation score on pcmk-2: -INFINITY
|
|
|
ed0026 |
diff --git a/pengine/test10/stop-failure-no-quorum.scores b/pengine/test10/stop-failure-no-quorum.scores
|
|
|
ed0026 |
index ce5d714..df30423 100644
|
|
|
ed0026 |
--- a/pengine/test10/stop-failure-no-quorum.scores
|
|
|
ed0026 |
+++ b/pengine/test10/stop-failure-no-quorum.scores
|
|
|
ed0026 |
@@ -41,7 +41,7 @@ clone_color: dlm:3 allocation score on pcmk-3: 0
|
|
|
ed0026 |
clone_color: dlm:3 allocation score on pcmk-4: 0
|
|
|
ed0026 |
native_color: ClusterIP allocation score on pcmk-1: 0
|
|
|
ed0026 |
native_color: ClusterIP allocation score on pcmk-2: -INFINITY
|
|
|
ed0026 |
-native_color: ClusterIP allocation score on pcmk-3: 0
|
|
|
ed0026 |
+native_color: ClusterIP allocation score on pcmk-3: -INFINITY
|
|
|
ed0026 |
native_color: ClusterIP allocation score on pcmk-4: -INFINITY
|
|
|
ed0026 |
native_color: Fencing allocation score on pcmk-1: 0
|
|
|
ed0026 |
native_color: Fencing allocation score on pcmk-2: 0
|