Whamcloud - gitweb
LU-372 add $TMP/mgsactive to indicate the active combined MGS/MDS node
authorYu Jian <yujian@whamcloud.com>
Fri, 27 May 2011 04:17:12 +0000 (12:17 +0800)
committerJohann Lombardi <johann@whamcloud.com>
Tue, 7 Jun 2011 14:36:55 +0000 (07:36 -0700)
commit997c1e4b251867deedf5f9ee97beea72505ee36f
tree99c603abd0b063fa7fc19a353b1581d55bbfa5ba
parent9e054c9d496c978e9de6919cec1b7360087f5ccd
LU-372 add $TMP/mgsactive to indicate the active combined MGS/MDS node

The current test-framework could not figure out the active MGS node
correctly while the MGS and MDS nodes are combined under a failover
configuration. We need add a $TMP/mgsactive file to indicate the
active MGS node like what we did for the MDS node.

In addition, "set_default_debug_nodes()" has a defect to check
whether "$nodes" contains the local node or not. The patch contains
a fix for that.

Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: Iae49497601d09fef38968360d8543cc753009e85
Reviewed-on: http://review.whamcloud.com/871
Tested-by: Hudson
Reviewed-by: Brian J. Murrell <brian@whamcloud.com>
Reviewed-by: Chris Gearing <chris@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/tests/recovery-small.sh
lustre/tests/test-framework.sh