Re: [Networker] Post-client save script issue
2006-06-28 14:11:01
On 6/28/06, Darren Dunham <ddunham AT taos DOT com> wrote:
Savepnpc should be per-client. There's no correlation between clients.
I'm not sure what's going on if your other groups appear to have
dependencies between the clients.
I discovered that there was reference to an old script (written by an
admin that no longer works with us) to a loop that tried to unmount the tape
until it was successful (when all writing has stopped). I couldn't figure
out why it was there until now. It seems a pretty cheesy way to do it.
I've now inserted the following shell snippet into the script on the server:
while [[ -n $(pgrep -x nsrexec >/dev/null 2>&1) ]]
do
sleep 60
done
This should do the trick.
Thanks
--Brett
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu
if you have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|