Veritas-bu

[Veritas-bu] Re: Bad Media

2000-06-22 07:41:10
Subject: [Veritas-bu] Re: Bad Media
From: Lawrence, Bob bob.lawrence AT primark DOT com
Date: Thu, 22 Jun 2000 12:41:10 +0100
Does anyone have an NT version of that script?
If not, I guess I'll use PERL as NT's scripting is so poor.

cheers
Bob


-----Original Message-----
From: David A. Chapa [mailto:david AT datastaff DOT com]
Sent: 21 June 2000 15:25
To: Shane Garvey
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Re: Bad Media


Place this in cron have it run every 15 - 30 minutes 
(depending on how busy your environment is)

BEGIN SCRIPT DRIVEWATCH
!/bin/sh
# Add interested parties below:
someone_who_cares=YOURADDR@HERE
/usr/openv/volmgr/bin/vmoprcmd -d ds | 
   grep DOWN >/dev/null 2>&1
if [ $? -ne 1 ];then
        echo "Please check DLT drives on MASTER:

`/usr/openv/volmgr/bin/vmoprcmd -d ds` 

Will attempt to place drive(s) in UP status" > 
/tmp/drivecheck
echo "" >> /tmp/drivecheck

        for i in `/usr/openv/volmgr/bin/vmoprcmd -d ds
  | tail +5 | grep DOWN|awk '{print $1}'`
        do
          /usr/openv/volmgr/bin/vmoprcmd -up $i
        done

echo "***Check all logs to determine cause.***" >>\
  /tmp/drivecheck
/usr/openv/volmgr/bin/vmoprcmd -d ds >> /tmp/drivecheck
cat /tmp/drivecheck | /usr/ucb/mail -s "DLT Drives" \
  $someone_who_cares
fi


This works for me ...

David Chapa
DataStaff, Inc.

Quoting Shane Garvey <Shane.Garvey AT xilinx DOT com>:

> Hi Folks,
>
> >From time-to-time I get a bad DLT7000 cartridge 
which causes the
> client backup to fail and the drive is downed as a 
result.
> Is there anyway to get around this problem ?
>
> I have a Sun L3500 (rebadged ATL 7x00 series )tape 
library.
> I am running Netbackup 3.2 on solaris 2.6.
>
> Any suggestions would be greatly appreciated.
>
> thanks
> shane.
> _______________________________________________
> Veritas-bu maillist  -  Veritas-
bu AT mailman.eng.auburn DOT edu
> 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-
bu
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David A. Chapa                847 413 1144 p
Consulting Practice Mgr.      847 413 1168 f
DataStaff, Inc.               http://www.datastaff.com
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu



<Prev in Thread] Current Thread [Next in Thread>