diff --git a/cts/scheduler/dot/promoted-ordering.dot b/cts/scheduler/dot/promoted-ordering.dot index a4ada9cc68..9b5033bade 100644 --- a/cts/scheduler/dot/promoted-ordering.dot +++ b/cts/scheduler/dot/promoted-ordering.dot @@ -1,73 +1,73 @@ digraph "g" { "apache2:0_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "drbd_mysql:0_monitor_0 webcluster01" -> "ms_drbd_mysql_start_0" [ style = bold] "drbd_mysql:0_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "drbd_mysql:0_post_notify_start_0 webcluster01" -> "ms_drbd_mysql_confirmed-post_notify_running_0" [ style = bold] "drbd_mysql:0_post_notify_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] "drbd_mysql:0_start_0 webcluster01" -> "ms_drbd_mysql_running_0" [ style = bold] "drbd_mysql:0_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] "drbd_www:0_monitor_0 webcluster01" -> "ms_drbd_www_start_0" [ style = bold] "drbd_www:0_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "drbd_www:0_post_notify_start_0 webcluster01" -> "ms_drbd_www_confirmed-post_notify_running_0" [ style = bold] "drbd_www:0_post_notify_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] "drbd_www:0_start_0 webcluster01" -> "ms_drbd_www_running_0" [ style = bold] "drbd_www:0_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] "extip_1_monitor_0 webcluster01" -> "extip_1_start_0 webcluster01" [ style = bold] "extip_1_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "extip_1_monitor_30000 webcluster01" [ style=bold color="green" fontcolor="black"] "extip_1_start_0 webcluster01" -> "extip_1_monitor_30000 webcluster01" [ style = bold] "extip_1_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] "extip_2_monitor_0 webcluster01" -> "extip_2_start_0 webcluster01" [ style = bold] "extip_2_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "extip_2_monitor_30000 webcluster01" [ style=bold color="green" fontcolor="black"] "extip_2_start_0 webcluster01" -> "extip_2_monitor_30000 webcluster01" [ style = bold] "extip_2_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] "fs_mysql_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "intip_0_main_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] -"intip_1_master_monitor_0 webcluster01" -> "intip_1_master_start_0 webcluster01" [ style = bold] -"intip_1_master_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] -"intip_1_master_monitor_30000 webcluster01" [ style=bold color="green" fontcolor="black"] -"intip_1_master_start_0 webcluster01" -> "intip_1_master_monitor_30000 webcluster01" [ style = bold] -"intip_1_master_start_0 webcluster01" -> "ms_drbd_mysql_start_0" [ style = bold] -"intip_1_master_start_0 webcluster01" -> "ms_drbd_www_start_0" [ style = bold] -"intip_1_master_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] -"intip_2_slave_monitor_0 webcluster01" -> "intip_2_slave_start_0 webcluster01" [ style = bold] -"intip_2_slave_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] -"intip_2_slave_monitor_30000 webcluster01" [ style=bold color="green" fontcolor="black"] -"intip_2_slave_start_0 webcluster01" -> "intip_2_slave_monitor_30000 webcluster01" [ style = bold] -"intip_2_slave_start_0 webcluster01" -> "ms_drbd_mysql_start_0" [ style = bold] -"intip_2_slave_start_0 webcluster01" -> "ms_drbd_www_start_0" [ style = bold] -"intip_2_slave_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] +"intip_1_active_monitor_0 webcluster01" -> "intip_1_active_start_0 webcluster01" [ style = bold] +"intip_1_active_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] +"intip_1_active_monitor_30000 webcluster01" [ style=bold color="green" fontcolor="black"] +"intip_1_active_start_0 webcluster01" -> "intip_1_active_monitor_30000 webcluster01" [ style = bold] +"intip_1_active_start_0 webcluster01" -> "ms_drbd_mysql_start_0" [ style = bold] +"intip_1_active_start_0 webcluster01" -> "ms_drbd_www_start_0" [ style = bold] +"intip_1_active_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] +"intip_2_passive_monitor_0 webcluster01" -> "intip_2_passive_start_0 webcluster01" [ style = bold] +"intip_2_passive_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] +"intip_2_passive_monitor_30000 webcluster01" [ style=bold color="green" fontcolor="black"] +"intip_2_passive_start_0 webcluster01" -> "intip_2_passive_monitor_30000 webcluster01" [ style = bold] +"intip_2_passive_start_0 webcluster01" -> "ms_drbd_mysql_start_0" [ style = bold] +"intip_2_passive_start_0 webcluster01" -> "ms_drbd_www_start_0" [ style = bold] +"intip_2_passive_start_0 webcluster01" [ style=bold color="green" fontcolor="black"] "ms_drbd_mysql_confirmed-post_notify_running_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_mysql_confirmed-pre_notify_start_0" -> "ms_drbd_mysql_post_notify_running_0" [ style = bold] "ms_drbd_mysql_confirmed-pre_notify_start_0" -> "ms_drbd_mysql_start_0" [ style = bold] "ms_drbd_mysql_confirmed-pre_notify_start_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_mysql_post_notify_running_0" -> "drbd_mysql:0_post_notify_start_0 webcluster01" [ style = bold] "ms_drbd_mysql_post_notify_running_0" -> "ms_drbd_mysql_confirmed-post_notify_running_0" [ style = bold] "ms_drbd_mysql_post_notify_running_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_mysql_pre_notify_start_0" -> "ms_drbd_mysql_confirmed-pre_notify_start_0" [ style = bold] "ms_drbd_mysql_pre_notify_start_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_mysql_running_0" -> "ms_drbd_mysql_post_notify_running_0" [ style = bold] "ms_drbd_mysql_running_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_mysql_start_0" -> "drbd_mysql:0_start_0 webcluster01" [ style = bold] "ms_drbd_mysql_start_0" -> "ms_drbd_mysql_running_0" [ style = bold] "ms_drbd_mysql_start_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_www_confirmed-post_notify_running_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_www_confirmed-pre_notify_start_0" -> "ms_drbd_www_post_notify_running_0" [ style = bold] "ms_drbd_www_confirmed-pre_notify_start_0" -> "ms_drbd_www_start_0" [ style = bold] "ms_drbd_www_confirmed-pre_notify_start_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_www_post_notify_running_0" -> "drbd_www:0_post_notify_start_0 webcluster01" [ style = bold] "ms_drbd_www_post_notify_running_0" -> "ms_drbd_www_confirmed-post_notify_running_0" [ style = bold] "ms_drbd_www_post_notify_running_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_www_pre_notify_start_0" -> "ms_drbd_www_confirmed-pre_notify_start_0" [ style = bold] "ms_drbd_www_pre_notify_start_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_www_running_0" -> "ms_drbd_www_post_notify_running_0" [ style = bold] "ms_drbd_www_running_0" [ style=bold color="green" fontcolor="orange"] "ms_drbd_www_start_0" -> "drbd_www:0_start_0 webcluster01" [ style = bold] "ms_drbd_www_start_0" -> "ms_drbd_www_running_0" [ style = bold] "ms_drbd_www_start_0" [ style=bold color="green" fontcolor="orange"] "mysql-proxy:0_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "mysql-server_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "ocfs2_www:0_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] "ocfs2_www:1_monitor_0 webcluster01" [ style=bold color="green" fontcolor="black"] } diff --git a/cts/scheduler/exp/promoted-ordering.exp b/cts/scheduler/exp/promoted-ordering.exp index 1df608d4ac..430fbe64af 100644 --- a/cts/scheduler/exp/promoted-ordering.exp +++ b/cts/scheduler/exp/promoted-ordering.exp @@ -1,447 +1,447 @@ - - + + - + - - + + - + - - + + - - + + - + - - + + - + - - + + - + - + - + - + diff --git a/cts/scheduler/scores/promoted-ordering.scores b/cts/scheduler/scores/promoted-ordering.scores index 46dac66e9d..0df8a44919 100644 --- a/cts/scheduler/scores/promoted-ordering.scores +++ b/cts/scheduler/scores/promoted-ordering.scores @@ -1,87 +1,87 @@ drbd_mysql:0 promotion score on webcluster01: -1 drbd_mysql:1 promotion score on none: 0 drbd_www:0 promotion score on webcluster01: -1 drbd_www:1 promotion score on none: 0 pcmk__clone_assign: apache2:0 allocation score on webcluster01: 0 pcmk__clone_assign: apache2:0 allocation score on webcluster02: 0 pcmk__clone_assign: apache2:1 allocation score on webcluster01: 0 pcmk__clone_assign: apache2:1 allocation score on webcluster02: 0 pcmk__clone_assign: clone_ocfs2_www allocation score on webcluster01: 0 pcmk__clone_assign: clone_ocfs2_www allocation score on webcluster02: 0 pcmk__clone_assign: clone_webservice allocation score on webcluster01: 0 pcmk__clone_assign: clone_webservice allocation score on webcluster02: 0 pcmk__clone_assign: drbd_mysql:0 allocation score on webcluster01: 0 pcmk__clone_assign: drbd_mysql:0 allocation score on webcluster02: 0 pcmk__clone_assign: drbd_mysql:1 allocation score on webcluster01: 0 pcmk__clone_assign: drbd_mysql:1 allocation score on webcluster02: 0 pcmk__clone_assign: drbd_www:0 allocation score on webcluster01: 0 pcmk__clone_assign: drbd_www:0 allocation score on webcluster02: 0 pcmk__clone_assign: drbd_www:1 allocation score on webcluster01: 0 pcmk__clone_assign: drbd_www:1 allocation score on webcluster02: 0 pcmk__clone_assign: group_webservice:0 allocation score on webcluster01: 0 pcmk__clone_assign: group_webservice:0 allocation score on webcluster02: 0 pcmk__clone_assign: group_webservice:1 allocation score on webcluster01: 0 pcmk__clone_assign: group_webservice:1 allocation score on webcluster02: 0 pcmk__clone_assign: ms_drbd_mysql allocation score on webcluster01: 100 pcmk__clone_assign: ms_drbd_mysql allocation score on webcluster02: 0 pcmk__clone_assign: ms_drbd_www allocation score on webcluster01: 0 pcmk__clone_assign: ms_drbd_www allocation score on webcluster02: 0 pcmk__clone_assign: mysql-proxy:0 allocation score on webcluster01: 0 pcmk__clone_assign: mysql-proxy:0 allocation score on webcluster02: 0 pcmk__clone_assign: mysql-proxy:1 allocation score on webcluster01: 0 pcmk__clone_assign: mysql-proxy:1 allocation score on webcluster02: 0 pcmk__clone_assign: ocfs2_www:0 allocation score on webcluster01: 0 pcmk__clone_assign: ocfs2_www:0 allocation score on webcluster02: 0 pcmk__clone_assign: ocfs2_www:1 allocation score on webcluster01: 0 pcmk__clone_assign: ocfs2_www:1 allocation score on webcluster02: 0 pcmk__group_assign: apache2:0 allocation score on webcluster01: 0 pcmk__group_assign: apache2:0 allocation score on webcluster02: -INFINITY pcmk__group_assign: apache2:1 allocation score on webcluster01: 0 pcmk__group_assign: apache2:1 allocation score on webcluster02: -INFINITY pcmk__group_assign: group_main allocation score on webcluster01: 100 pcmk__group_assign: group_main allocation score on webcluster02: 0 pcmk__group_assign: group_webservice:0 allocation score on webcluster01: 0 pcmk__group_assign: group_webservice:0 allocation score on webcluster02: -INFINITY pcmk__group_assign: group_webservice:1 allocation score on webcluster01: 0 pcmk__group_assign: group_webservice:1 allocation score on webcluster02: -INFINITY pcmk__group_assign: intip_0_main allocation score on webcluster01: 100 pcmk__group_assign: intip_0_main allocation score on webcluster02: 0 pcmk__group_assign: mysql-proxy:0 allocation score on webcluster01: 0 pcmk__group_assign: mysql-proxy:0 allocation score on webcluster02: -INFINITY pcmk__group_assign: mysql-proxy:1 allocation score on webcluster01: 0 pcmk__group_assign: mysql-proxy:1 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: apache2:0 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: apache2:0 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: apache2:1 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: apache2:1 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: drbd_mysql:0 allocation score on webcluster01: 0 pcmk__primitive_assign: drbd_mysql:0 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: drbd_mysql:1 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: drbd_mysql:1 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: drbd_www:0 allocation score on webcluster01: 0 pcmk__primitive_assign: drbd_www:0 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: drbd_www:1 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: drbd_www:1 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: extip_1 allocation score on webcluster01: 100 pcmk__primitive_assign: extip_1 allocation score on webcluster02: 0 pcmk__primitive_assign: extip_2 allocation score on webcluster01: 0 pcmk__primitive_assign: extip_2 allocation score on webcluster02: 100 pcmk__primitive_assign: fs_mysql allocation score on webcluster01: -INFINITY pcmk__primitive_assign: fs_mysql allocation score on webcluster02: -INFINITY pcmk__primitive_assign: intip_0_main allocation score on webcluster01: -INFINITY pcmk__primitive_assign: intip_0_main allocation score on webcluster02: -INFINITY -pcmk__primitive_assign: intip_1_master allocation score on webcluster01: 200 -pcmk__primitive_assign: intip_1_master allocation score on webcluster02: 0 -pcmk__primitive_assign: intip_2_slave allocation score on webcluster01: 0 -pcmk__primitive_assign: intip_2_slave allocation score on webcluster02: 100 +pcmk__primitive_assign: intip_1_active allocation score on webcluster01: 200 +pcmk__primitive_assign: intip_1_active allocation score on webcluster02: 0 +pcmk__primitive_assign: intip_2_passive allocation score on webcluster01: 0 +pcmk__primitive_assign: intip_2_passive allocation score on webcluster02: 100 pcmk__primitive_assign: mysql-proxy:0 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: mysql-proxy:0 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: mysql-proxy:1 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: mysql-proxy:1 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: mysql-server allocation score on webcluster01: -INFINITY pcmk__primitive_assign: mysql-server allocation score on webcluster02: -INFINITY pcmk__primitive_assign: ocfs2_www:0 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: ocfs2_www:0 allocation score on webcluster02: -INFINITY pcmk__primitive_assign: ocfs2_www:1 allocation score on webcluster01: -INFINITY pcmk__primitive_assign: ocfs2_www:1 allocation score on webcluster02: -INFINITY diff --git a/cts/scheduler/summary/promoted-ordering.summary b/cts/scheduler/summary/promoted-ordering.summary index 3222e18341..0ef1bd89e8 100644 --- a/cts/scheduler/summary/promoted-ordering.summary +++ b/cts/scheduler/summary/promoted-ordering.summary @@ -1,96 +1,96 @@ Current cluster status: * Node List: * Online: [ webcluster01 ] * OFFLINE: [ webcluster02 ] * Full List of Resources: * mysql-server (ocf:heartbeat:mysql): Stopped * extip_1 (ocf:heartbeat:IPaddr2): Stopped * extip_2 (ocf:heartbeat:IPaddr2): Stopped * Resource Group: group_main: * intip_0_main (ocf:heartbeat:IPaddr2): Stopped - * intip_1_master (ocf:heartbeat:IPaddr2): Stopped - * intip_2_slave (ocf:heartbeat:IPaddr2): Stopped + * intip_1_active (ocf:heartbeat:IPaddr2): Stopped + * intip_2_passive (ocf:heartbeat:IPaddr2): Stopped * Clone Set: ms_drbd_www [drbd_www] (promotable): * Stopped: [ webcluster01 webcluster02 ] * Clone Set: clone_ocfs2_www [ocfs2_www] (unique): * ocfs2_www:0 (ocf:heartbeat:Filesystem): Stopped * ocfs2_www:1 (ocf:heartbeat:Filesystem): Stopped * Clone Set: clone_webservice [group_webservice]: * Stopped: [ webcluster01 webcluster02 ] * Clone Set: ms_drbd_mysql [drbd_mysql] (promotable): * Stopped: [ webcluster01 webcluster02 ] * fs_mysql (ocf:heartbeat:Filesystem): Stopped Transition Summary: * Start extip_1 ( webcluster01 ) * Start extip_2 ( webcluster01 ) - * Start intip_1_master ( webcluster01 ) - * Start intip_2_slave ( webcluster01 ) + * Start intip_1_active ( webcluster01 ) + * Start intip_2_passive ( webcluster01 ) * Start drbd_www:0 ( webcluster01 ) * Start drbd_mysql:0 ( webcluster01 ) Executing Cluster Transition: * Resource action: mysql-server monitor on webcluster01 * Resource action: extip_1 monitor on webcluster01 * Resource action: extip_2 monitor on webcluster01 * Resource action: intip_0_main monitor on webcluster01 - * Resource action: intip_1_master monitor on webcluster01 - * Resource action: intip_2_slave monitor on webcluster01 + * Resource action: intip_1_active monitor on webcluster01 + * Resource action: intip_2_passive monitor on webcluster01 * Resource action: drbd_www:0 monitor on webcluster01 * Pseudo action: ms_drbd_www_pre_notify_start_0 * Resource action: ocfs2_www:0 monitor on webcluster01 * Resource action: ocfs2_www:1 monitor on webcluster01 * Resource action: apache2:0 monitor on webcluster01 * Resource action: mysql-proxy:0 monitor on webcluster01 * Resource action: drbd_mysql:0 monitor on webcluster01 * Pseudo action: ms_drbd_mysql_pre_notify_start_0 * Resource action: fs_mysql monitor on webcluster01 * Resource action: extip_1 start on webcluster01 * Resource action: extip_2 start on webcluster01 - * Resource action: intip_1_master start on webcluster01 - * Resource action: intip_2_slave start on webcluster01 + * Resource action: intip_1_active start on webcluster01 + * Resource action: intip_2_passive start on webcluster01 * Pseudo action: ms_drbd_www_confirmed-pre_notify_start_0 * Pseudo action: ms_drbd_www_start_0 * Pseudo action: ms_drbd_mysql_confirmed-pre_notify_start_0 * Pseudo action: ms_drbd_mysql_start_0 * Resource action: extip_1 monitor=30000 on webcluster01 * Resource action: extip_2 monitor=30000 on webcluster01 - * Resource action: intip_1_master monitor=30000 on webcluster01 - * Resource action: intip_2_slave monitor=30000 on webcluster01 + * Resource action: intip_1_active monitor=30000 on webcluster01 + * Resource action: intip_2_passive monitor=30000 on webcluster01 * Resource action: drbd_www:0 start on webcluster01 * Pseudo action: ms_drbd_www_running_0 * Resource action: drbd_mysql:0 start on webcluster01 * Pseudo action: ms_drbd_mysql_running_0 * Pseudo action: ms_drbd_www_post_notify_running_0 * Pseudo action: ms_drbd_mysql_post_notify_running_0 * Resource action: drbd_www:0 notify on webcluster01 * Pseudo action: ms_drbd_www_confirmed-post_notify_running_0 * Resource action: drbd_mysql:0 notify on webcluster01 * Pseudo action: ms_drbd_mysql_confirmed-post_notify_running_0 Revised Cluster Status: * Node List: * Online: [ webcluster01 ] * OFFLINE: [ webcluster02 ] * Full List of Resources: * mysql-server (ocf:heartbeat:mysql): Stopped * extip_1 (ocf:heartbeat:IPaddr2): Started webcluster01 * extip_2 (ocf:heartbeat:IPaddr2): Started webcluster01 * Resource Group: group_main: * intip_0_main (ocf:heartbeat:IPaddr2): Stopped - * intip_1_master (ocf:heartbeat:IPaddr2): Started webcluster01 - * intip_2_slave (ocf:heartbeat:IPaddr2): Started webcluster01 + * intip_1_active (ocf:heartbeat:IPaddr2): Started webcluster01 + * intip_2_passive (ocf:heartbeat:IPaddr2): Started webcluster01 * Clone Set: ms_drbd_www [drbd_www] (promotable): * Unpromoted: [ webcluster01 ] * Stopped: [ webcluster02 ] * Clone Set: clone_ocfs2_www [ocfs2_www] (unique): * ocfs2_www:0 (ocf:heartbeat:Filesystem): Stopped * ocfs2_www:1 (ocf:heartbeat:Filesystem): Stopped * Clone Set: clone_webservice [group_webservice]: * Stopped: [ webcluster01 webcluster02 ] * Clone Set: ms_drbd_mysql [drbd_mysql] (promotable): * Unpromoted: [ webcluster01 ] * Stopped: [ webcluster02 ] * fs_mysql (ocf:heartbeat:Filesystem): Stopped diff --git a/cts/scheduler/xml/anon-instance-pending.xml b/cts/scheduler/xml/anon-instance-pending.xml index 86a6728f23..297c0bb6c3 100644 --- a/cts/scheduler/xml/anon-instance-pending.xml +++ b/cts/scheduler/xml/anon-instance-pending.xml @@ -1,439 +1,439 @@ - + diff --git a/cts/scheduler/xml/promoted-ordering.xml b/cts/scheduler/xml/promoted-ordering.xml index bcf018e750..7dd2415268 100644 --- a/cts/scheduler/xml/promoted-ordering.xml +++ b/cts/scheduler/xml/promoted-ordering.xml @@ -1,281 +1,281 @@ - + - + - + - + - + - - - - - - - - + + + + + + + +