[Ocfstest-commits] colinzhu commits r33 - in
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode:
. manual_cases
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed May 18 01:36:17 CDT 2005
Author: colinzhu
Date: 2005-05-18 01:36:15 -0500 (Wed, 18 May 2005)
New Revision: 33
Added:
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/crfiles.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/cross_delete.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/extendo
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/lock_contention.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/runmocfs2.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim10.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim11.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim12.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim13.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim15.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim19.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim20.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim21.sh
trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim22.sh
Log:
manual commands scripts added
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/crfiles.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/crfiles.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/crfiles.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,94 @@
+#!/bin/sh
+#
+# crfiles.sh <sleep> <size in 256kb> <count> <filename>
+#
+Usage()
+{
+echo -e "$0:"
+echo -e " crfiles.sh -b <blocksize in bytes> -i <interval> -s <size in 256kb> -c <count> ";
+echo -e " -d <directory> -f <filename> -o <logfile>";
+echo -e "\n -b <blocksize> If not specified, defaults to 256k";
+echo -e " -i <interval> If not specified, defaults to 5 Seconds.";
+echo -e " -s <Size> Number of blocks. IF not specified, defaults to 4 (1Mb file size).";
+echo -e " -c <count> Number of files to be created. Defaults to 10.";
+echo -e " -f <filename> Filename prefix to be used while creating the tests files.";
+echo -e " -o <logfile> logfile name for the run.";
+echo -e " -d <directory> Directory where the test files will be created.";
+exit 1;
+}
+LOCALDIR=`dirname ${0}`
+if [ "${LOCALDIR}" == "." ]; then
+ LOCALDIR=`pwd`;
+fi;
+BASEDIR=`dirname ${LOCALDIR}`
+LOGFILE=${BASEDIR}/crfiles_$$.log
+HOST=`hostname`
+INTERVAL=5;
+BLOCKSIZE=262144;
+SIZE=4;
+COUNT=10;
+FILENAME=test
+DIRECTORY=0;
+if [ $# -eq 0 ]; then
+ Usage;
+fi;
+#
+while [ $# -gt 0 ]
+do
+ case ${1} in
+ -b ) BLOCKSIZE=${2};
+ shift 2;
+ ;;
+ -c ) COUNT=${2};
+ shift 2;
+ ;;
+ -d ) DIRECTORY=${2};
+ shift 2;
+ ;;
+ -i ) INTERVAL=${2};
+ shift 2;
+ ;;
+ -f ) FILENAME=${2};
+ shift 2;
+ ;;
+ -h ) Usage;
+ ;;
+ -s ) SIZE=${2};
+ shift 2;
+ ;;
+ * ) Usage;
+ ;;
+ esac;
+done;
+if [ "X${DIRECTORY}" == "X" ]; then
+ echo -e "\n\nDirectory must be specified.\n\n".
+ Usage;
+fi;
+#
+if [ ! -f ${LOGFILE} ]; then
+ echo -e "Creating logfile ${LOGFILE}";
+else
+ echo -e "Appending logfile ${LOGFILE}";
+fi;
+#
+if [ -d ${DIRECTORY} ]; then
+ echo -e "Directory already exists.";
+else
+ if [ -e ${DIRECTORY} ]; then
+ echo -e "\nInformation on directory (${DIRECTORY}) is invalid. A file with same name exists.";
+ exit 1;
+ else
+ mkdir -p ${DIRECTORY};
+ fi;
+fi;
+#
+for (( i=0; i<${COUNT}; i++))
+do
+ echo -e "Creating file ${DIRECTORY}/${FILENAME}_${i}" | tee -a ${LOGFILE}
+ if [ `uname -m` == "ia64" ]; then
+ ${BASEDIR}/bin/extendo ${DIRECTORY}/${FILENAME}_${i} 262 100 ${SIZE};
+ else
+ dd if=/dev/zero of=${DIRECTORY}/${FILENAME}_${i} bs=${BLOCKSIZE} count=${SIZE} o_direct=yes 2>&1 >> ${LOGFILE}
+ fi;
+ sleep ${INTERVAL};
+done;
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/crfiles.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/cross_delete.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/cross_delete.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/cross_delete.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,136 @@
+#!/bin/bash
+#
+# This script will run a test of cross deletion.
+#
+# create a dir $BASEDIR/x1/x2/xn and extract contents on it
+# on node 1.
+# create a dir $BASEDIR/y1/y2/yn and extrace contents on it
+# on node 2.
+# On node 1, remove the directory $BASEDIR/x1.
+# On node 2, remove the directory $BASEDIR/y1.
+#
+# Removal of the directories are not performed in parallel.
+#
+# Parameters:
+# -n node name
+# -b base dir
+# -l sub-directory level deep
+# -f tar file for extraction
+#
+check_parm()
+{
+LINE=`ssh -o 'PasswordAuthentication no' ${NODE_NAME} hostname`;
+if [ ${?} -ne 0 ]; then
+ printf "\nHost ${NODE_NAME} is not ssh enabled to accept commands from this host.";
+ exit 1;
+fi;
+#
+if [ ! -d ${BASEDIR} -o ! -w ${BASEDIR} ]; then
+ printf "\n${BASEDIR} is not a directory or is not writable.";
+ exit 1;
+fi;
+#
+if [ ${DIRLEVEL} -lt 1 -a ${DIRLEVEL} -ge 30 ]; then
+ printf "\nThe level ${DIRLEVEL} specified is invalid. Try a value from 1-30.";
+ exit 1;
+fi;
+#
+if [ ! -f ${LOADFILE} -o ! -r ${LOADFILE} ]; then
+ printf "\nThe load file ${LOADFILE} is invalid or not readable.";
+ exit 1;
+fi;
+}
+#
+CreateDir()
+{
+for (( i=1; i<=${DIRLEVEL}; i++ ))
+ do
+ TESTDIR1=${TESTDIR1}/x${i};
+ TESTDIR2=${TESTDIR2}/y${i};
+ done;
+mkdir -p ${BASEDIR}${TESTDIR1};
+ssh ${NODE_NAME} "mkdir -p ${BASEDIR}${TESTDIR2}";
+if [ $? -ne 0 ]; then
+ printf "\nDirectory creation on node ${NODE_NAME} failed.";
+ exit 1;
+fi;
+}
+#
+ExtractDir()
+{
+EXT1DIR1=${BASEDIR}${TESTDIR1};
+EXT1DIR2=${BASEDIR}${TESTDIR2};
+EXT2DIR1=${BASEDIR};
+EXT2DIR2=${BASEDIR};
+LEVEL2=`echo ${DIRLEVEL}/2|bc`;
+#
+for (( i=1; i<=${LEVEL2}; i++ ))
+ do
+ EXT2DIR1=${EXT2DIR1}/x${i};
+ EXT2DIR2=${EXT2DIR2}/y${i};
+ done;
+}
+#
+Usage()
+{
+printf "\n Usage:\n";
+printf "\n cross_delete.sh -n nodename -b basedir [-l dirlevel] [-f tar file].";
+printf "\n\n -n nodename Node that will participate in the cross delete test.";
+printf "\n -b basedir Base directory used by both nodes in the test.";
+printf "\n -l dirlevel Level of subdirectories that will be created in";
+printf "\n the test (1-30). Defaults to 8.";
+printf "\n -f tar file Tar file to be used to populate the directories.\n";
+exit 1;
+}
+DIRLEVEL=8
+LOADFILE=/home/mmatsuna/TESTS_ARCHIVE/OAST_SERENA/oast3.0_9i_10i_030714.tar.gz
+#LOADFILE=/home/mmatsuna/OCFSV2/tbin/tar/linux_src.tar.gz
+LOGFILE=`pwd`/../logs/cross_delete.log$$
+if [ $# -lt 4 ]; then
+ Usage;
+fi;
+#
+while [ $# -gt 0 ]
+do
+ case ${1} in
+ -n ) NODE_NAME=${2};
+ shift 2;
+ ;;
+ -b ) BASEDIR=${2};
+ shift 2;
+ ;;
+ -l ) DIRLEVEL=${2};
+ shift 2;
+ ;;
+ -f ) LOADFILE=${2};
+ shift 2;
+ ;;
+ -debug ) set -x;
+ shift;
+ ;;
+ * ) Usage;
+ #exit
+ ;;
+ esac;
+done;
+echo ${NODE_NAME};
+echo ${BASEDIR};
+echo ${DIRLEVEL};
+echo ${LOADFILE};
+CreateDir;
+ExtractDir;
+printf "\n Starting file extractions on directories :" >> ${LOGFILE};
+printf "\n Local - ${EXT1DIR1}" >> ${LOGFILE};
+printf "\n Local - ${EXT2DIR1}" >> ${LOGFILE};
+printf "\n ${NODE_NAME} - ${EXT1DIR2}" >> ${LOGFILE};
+printf "\n ${NODE_NAME} - ${EXT2DIR2}" >> ${LOGFILE};
+ssh -f ${NODE_NAME} "cd ${EXT1DIR2}; /bin/tar xvfz ${LOADFILE} 2>&1 >> /dev/null ";
+ssh -f ${NODE_NAME} "cd ${EXT2DIR2}; /bin/tar xvfz ${LOADFILE} 2>&1 >> /dev/null ";
+cd ${EXT1DIR1};
+/bin/tar xvfz ${LOADFILE} 2>&1 > /dev/null &
+cd ${EXT2DIR1};
+/bin/tar xvfz ${LOADFILE} 2>&1 > /dev/null &
+wait
+ssh ${NODE_NAME} "cd ${BASEDIR}; time rm -fr y1 2>&1" >> ${LOGFILE};
+cd ${BASEDIR};
+time rm -fr x1 2>&1 >> ${LOGFILE};
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/cross_delete.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/extendo
===================================================================
(Binary files differ)
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/extendo
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/lock_contention.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/lock_contention.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/lock_contention.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,121 @@
+#!/bin/bash
+#
+# Create an x number of files in an ocfs directory and try to see if a lock
+# happens according to a bug reported.
+#
+# from the Jeremy Schneider email:
+#
+# 1. Create a new ocfs directory.
+# 2. Before accessing the directory from any other node, create at least
+# 255 files in the directory.
+# 3. On the second node, access the directory.
+# 4. Create a new file from either node. This should not hang if it is
+# working properly. In case of hang, removing a file would release
+# the lock and the process.
+#
+Usage()
+{
+echo -e " Note that this script assumes ssh enabled among nodes";
+echo -e " that are participating in this test. If they are not";
+echo -e " ssh enabled, the test will fail.\n";
+echo -e " Usage: ${0} -b <blocksize> -bn <block count> -d <ocfs mountpoint> -c <count> -n <node> -o <logfile>\n";
+echo -e " -b <blocksize> blocksize of the files to be created.";
+echo -e " -bn <block count> Size of the file in number of blocks.";
+echo -e " -c <count> Number of files to be created.";
+echo -e " -d <ocfs mountpoint>";
+echo -e " OCFS mount point that will be used for this test.";
+echo -e " -n <node> Node name that will participate in the test";
+echo -e " -o <logfile> Logfile name.";
+exit 1;
+}
+#
+MakeDir()
+{
+echo -e "Creating test directory ${DIR}/lock_contention_dir' |tee -a ${LOGFILE}";
+#
+if [ -d ${DIR} ]; then
+ if [ -d ${DIR}/lock_contention_dir ]; then
+ rm -fr ${DIR}/lock_contention_dir;
+ fi;
+ mkdir -p ${DIR}/lock_contention_dir;
+ RC=$?;
+ if [ ${RC} -ne 0 ]; then
+ echo -e "Error creating Directory ${DIR}/lock_contention_dir - RC=${RC}" |tee -a ${LOGFILE};
+ fi;
+else
+ echo -e "${DIR} is not a valid directory." | tee -a ${LOGFILE};
+fi;
+}
+#
+GenFiles()
+{
+echo -e "${0} Generating ${COUNT} test files under ${DIR}/lock_contention_dir"|tee -a ${LOGFILE};
+#
+for (( i=1; i<${COUNT}; i++ ))
+do
+ echo -e "Creating file ${DIR}/lock_contention_dir/locktestfile_$i"|tee -a ${LOGFILE} |tee -a ${LOGFILE};
+ dd if=/dev/zero of=${DIR}/lock_contention_dir/locktestfile_$i bs=${BLOCKSIZE} count=${BLOCKCOUNT} 2>&1 |tee -a ${LOGFILE};
+ RC=$?
+ if [ ${RC} -ne 0 ]; then
+ echo -e "Error creating file ${DIR}/lock_contention_dir/locktestfile_$i - RC=${RC}" |tee -a ${LOGFILE};
+ fi;
+done;
+}
+#
+GenLock()
+{
+echo -e "Trying to generate the lock condition" |tee -a ${LOGFILE};
+ssh ${NODE} "cd ${DIR}/lock_contention_dir; ls -la ; ls > LOCKFILE1";
+RC=$?;
+echo -e "LOCK file created successfully. No lock contention found." |tee -a ${LOGFILE};
+}
+#
+LOCALDIR=`dirname ${0}`
+if [ "${LOCALDIR}" == "." ]; then
+ LOCALDIR=`pwd`;
+fi;
+BASEDIR=`dirname ${LOCALDIR}`
+LOCALNODE=`hostname -s`
+LOGFILE=${BASEDIR}/logs/lock_contention$$.log
+ID=$$;
+#
+echo -e "`hostname` - Starting test - lock contention."
+#
+if [ $# -eq 0 ]; then
+ Usage;
+fi;
+#
+while [ $# -gt 0 ]
+do
+ case ${1} in
+ -b ) BLOCKSIZE=${2};
+ shift 2;
+ ;;
+ -bn ) BLOCKCOUNT=${2};
+ shift 2;
+ ;;
+ -d ) DIR=${2};
+ shift 2;
+ ;;
+ -c ) COUNT=${2};
+ shift 2;
+ ;;
+ -n ) NODE=${2};
+ shift 2;
+ ;;
+ -o ) LOGFILE=${2};
+ shift 2;
+ ;;
+ -h ) Usage;
+ ;;
+ * ) Usage;
+ ;;
+ esac;
+done;
+
+#
+MakeDir;
+GenFiles;
+GenLock;
+rm -fr ${DIR}/lock_contention_dir
+exit;
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/lock_contention.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/runmocfs2.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/runmocfs2.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/runmocfs2.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+if [ $# -eq 0 ]; then
+ echo -e "Usage : ${0} <hostname>";
+ exit 1;
+fi;
+/home/mmatsuna/Tests/OCFS/bin/crfiles.sh -i 3 -c 500 -d /oastlog/crfiles -f testfile
+rm -fr /oastlog/crfiles
+/home/mmatsuna/Tests/OCFS/bin/lock_contention.sh -b 1M -bn 20 -d /oastlog -c 800 -n ${1}
+/home/mmatsuna/Tests/OCFS/bin/cross_delete.sh -n ${1} -b /oastlog -l 16 -f /home/mmatsuna/Tests/OCFS/workfiles/linuxsrc.tar.gz
+rm -fr /oastlog/y1
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/runmocfs2.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim10.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim10.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim10.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Cases for OCFSv2 Test Plan
+#
+# tpmultibim10.sh
+#
+# Multi-node tests --> Bi-node test case (M)
+# Case: M10
+
+echo
+echo "Test case M15 : Simultaneous mount on multi-node after crash."
+echo
+echo "Please operate as below:"
+echo
+echo "In a 2 or more node cluster, preferable 3 or more, mount the OCFS2 partiti
+ons. After they are successfully mounted do the following:"
+echo "1. umount the partitions from one or two nodes."
+echo "2. Crash the remaining nodes with sysrq+b."
+echo "3. After the crashed nodes are back up online, try to mount the OCFS2 part
+itions simultaneously."
+echo
+echo "Expected result:"
+echo
+echo "All partitions should mount without problem and the necessary recovery per
+formed without errors."
+echo
+
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim10.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim11.sh
===================================================================
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim11.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim12.sh
===================================================================
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim12.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim13.sh
===================================================================
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim13.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim15.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim15.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim15.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,24 @@
+#!/bin/bash
+#
+# Cases for OCFSv2 Test Plan
+#
+# tpmultibim15.sh
+#
+# Multi-node tests --> Bi-node test case (M)
+# Case: M15
+
+echo
+echo "Test case M15 : Simultaneous mount on multi-node after crash."
+echo
+echo "Please operate as below:"
+echo
+echo "In a 2 or more node cluster, preferable 3 or more, mount the OCFS2 partitions. After they are successfully mounted do the following:"
+echo "1. umount the partitions from one or two nodes."
+echo "2. Crash the remaining nodes with sysrq+b."
+echo "3. After the crashed nodes are back up online, try to mount the OCFS2 partitions simultaneously."
+echo
+echo
+echo "Expected result:"
+echo
+echo "All partitions should mount without problem and the necessary recovery performed without errors."
+echo
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim15.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim19.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim19.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim19.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,22 @@
+#!/bin/bash
+#
+# Cases for OCFSv2 Test Plan
+#
+# tpmultibim19.sh
+#
+# Multi-node tests --> Bi-node test case (M)
+# Case: M19
+
+echo
+echo "Test case M19 : Multiple mounts in parallel"
+echo
+echo "Please operate as below:"
+echo
+echo "Test multiple mounts (4 or more mountpoints) in parallel on 2 or more nodes simultaneously. Time for mounting should be acceptable. Try the same with more than 10 mountpoints to check performance degradation."
+echo
+echo
+echo "Expected result:"
+echo
+echo "All mountpoints should be available fast (under 5 seconds) independent of the number of mountpoints performed at the same time and the number of nodes involved."
+echo
+
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim19.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim20.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim20.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim20.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Cases for OCFSv2 Test Plan
+#
+# tpmultibim20.sh
+#
+# Multi-node tests --> Bi-node test case (M)
+# Case: M20
+
+echo
+echo "Test case M20 : Interrupt mount"
+echo
+echo "Please operate as below:"
+echo
+echo "1.Mount an OCFS2 partition."
+echo "2.Cancel the mount hitting CTRL-C"
+echo "3.Check if there is no threads running."
+echo "4.Check if there are no stuff laying around that may cause lockups or leaks."
+echo
+echo
+echo "Expected result:"
+echo
+echo "CTRL-C should clearly interrupt the mount process and nothing should be left behind. The mount point should not be assigned to the device and no threads should be running."
+echo
+
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim20.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim21.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim21.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim21.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# Cases for OCFSv2 Test Plan
+#
+# tpmultibim21.sh
+#
+# Multi-node tests --> Bi-node test case (M)
+# Case: M21
+
+echo
+echo "Test case M21 : Install Oracle from 2 nodes on 2 different directories."
+echo
+echo "Please operate as below:"
+echo
+echo "Start an oracle Install from 2 different nodes using different directories in the same partition. Repeat the test using 2 different partitions. Check for performance degradation or contention."
+echo
+echo "Expected result:"
+echo
+echo "Oracle installation should run without problem."
+echo
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim21.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim22.sh
===================================================================
--- trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim22.sh 2005-05-12 05:47:14 UTC (rev 32)
+++ trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim22.sh 2005-05-18 06:36:15 UTC (rev 33)
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# Cases for OCFSv2 Test Plan
+#
+# tpmultibim22.sh
+#
+# Multi-node tests --> Bi-node test case (M)
+# Case: M22
+
+echo
+echo "Test case M22 : Space report consistency"
+echo
+echo "Please operate as below:"
+echo
+echo "Check if the space reported by the df command is consistent with the report of the du command."
+echo
+echo "Expected result:"
+echo
+echo "The commands should report consistent values among each other."
+echo
Property changes on: trunk/ocfs2test/src/TestSuites/ocfs2test/tset/tpmultibinode/manual_cases/tpmultibim22.sh
___________________________________________________________________
Name: svn:executable
+ *
More information about the Ocfstest-commits
mailing list