Those silly cluster commands I only use once a year
January 6 2010 09:51:58 AM
Notes to self...Show status: Cluster Resources
turn off resource: i.e.: Cluster iPrint offline, or Cluster iFolder offline
Cluster iPrint online, etc.
To turn off and restart:
cluster leave
cluster join
For that pesky ifolder, a quick restart script:
------------------
#!/bin/bash
echo "Stop Apache"
rcapache2 stop
echo "Remove temp files"
rm -rf /tmp/.wapi
rm -rf /tmp/mod_mono_server*
rm -rf /tmp/wwwrun-temp-aspnet-0/
killall mono
killall simias
sleep 10
echo "Starting Apache"
rcapache2 start
- Comments [0]



