blob: 2a69ae868b4a124ef6cbcaff521539ee600d7bd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
setup ()
{
_failures=""
_devices=""
for i ; do
case "$i" in
\!*)
_t="${i#!}"
echo "Marking ${_t} as having no active paths"
_failures="${_failures}${_failures:+ }${_t}"
;;
*)
_t="$i"
esac
_devices="${_devices}${_devices:+ }${_t}"
done
setup_script_options <<EOF
CTDB_MONITOR_MPDEVICES="$_devices"
EOF
export FAKE_MULTIPATH_FAILURES="$_failures"
export FAKE_SLEEP_FORCE=0.1
}
|