Commit 48262c73 authored by Kirk Webb's avatar Kirk Webb
Browse files

Modified startup scripts to start slothd and healthd from rc.setup, rather

than rc.testbed.  Since rc.testbed calls cvsup, modifications to this file
do not take effect until the next reboot occurs.  This is why slothd was not
starting on many nodes.
parent d8e8f910
......@@ -47,6 +47,16 @@ if [ -x /etc/testbed/rc.tarballs ]; then
/etc/testbed/rc.tarballs
fi
if [ -x /etc/testbed/rc.healthd ]; then
echo "Starting node health monitoring ..."
/etc/testbed/rc.healthd start
fi
if [ -x /etc/testbed/slothd ]; then
echo "Starting idle detector ..."
/etc/testbed/slothd
fi
/bin/rm -f /var/at/jobs/S*
if [ -s /etc/testbed/startupcmd ]; then
echo "Scheduling startup command to run in a little bit ..."
......
......@@ -21,16 +21,6 @@ if [ -f /etc/testbed/supfile ]; then
/usr/local/bin/cvsup -h $1 -e -1 -g -L 1 /etc/testbed/supfile
fi
if [ -x /etc/testbed/rc.healthd ]; then
echo "Starting node health monitoring ..."
/etc/testbed/rc.healthd start
fi
if [ -x /etc/testbed/slothd ]; then
echo "Starting idle detector ..."
/etc/testbed/slothd
fi
if [ -x /etc/testbed/rc.setup ]; then
echo "Starting Testbed Setup ..."
/etc/testbed/rc.setup
......
......@@ -38,6 +38,16 @@ if [ -x /etc/rc.d/testbed/rc.tarballs ]; then
/etc/rc.d/testbed/rc.tarballs
fi
if [ -x /etc/rc.d/testbed/rc.healthd ]; then
echo "Starting node health monitoring ..."
/etc/rc.d/testbed/rc.healthd start
fi
if [ -x /etc/rc.d/testbed/slothd ]; then
echo "Starting idle detector ..."
/etc/rc.d/testbed/slothd
fi
/bin/rm -f /var/spool/at/S*
if [ -s /etc/rc.d/testbed/startupcmd ]; then
echo "Scheduling startup command to run in a little bit ..."
......
......@@ -13,16 +13,6 @@ if [ -f /etc/rc.d/testbed/supfile ]; then
/usr/local/bin/cvsup -h $1 -e -1 -g -L 1 /etc/rc.d/testbed/supfile
fi
if [ -x /etc/rc.d/testbed/rc.healthd ]; then
echo "Starting node health monitoring ..."
/etc/rc.d/testbed/rc.healthd start
fi
if [ -x /etc/rc.d/testbed/slothd ]; then
echo "Starting idle detector ..."
/etc/testbed/slothd
fi
if [ -x /etc/rc.d/testbed/rc.setup ]; then
echo "Starting Testbed Setup ..."
/etc/rc.d/testbed/rc.setup
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment