Veritas-bu

[Veritas-bu] Operator tape removal & backup scripts

2002-12-02 13:56:23
Subject: [Veritas-bu] Operator tape removal & backup scripts
From: timothy.arnold AT becta.org DOT uk (Timothy Arnold)
Date: Mon, 2 Dec 2002 18:56:23 -0000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C29A34.82314880
Content-Type: text/plain

Mark, 
 
Thanks for this information, it is very useful!
 
>From my experiance with Netbackup, the command line is a quick and easy
method to achieve your desired result but with a cost that it is not
intuative and you have to know the exact command you want in order to
acomplish this. 
 
Ideally I would like a foolproof system which would allow an operator to
come into work on Monday morning and perform all the tasks needed - that is
my next question, what sort of tasks does an operator need to do to ensure
that everything is OK?
 
I would like, if possible to look at your inject and vaulting scripts. I
would guess not since you have spent alot of time on them ;) - what kind of
things do the scripts do, and how does the vaulting element work?
 
In regards to cold backup of oracle. How does this extend to other
applications? We use Veritas Cluster here and it would be very easy to
create scripts to stop/start services. Where do I place the scripts for
these?
 
Regards,
 
Tim.
 

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT experianems DOT com] 
Sent: 02 December 2002 18:39
To: 'Timothy Arnold'; 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Operator tape removal & backup scripts



Our operators work almost entirely from scripts I've written.  The use of
the command-line is not unusual in this office and using the command line
lets me force exactly the operation I want to occur without fear that
they've mis-clicked and forgotten to set some option box or something.  By
running my "inject_tapes" script, as opposed to using the media management
gui, my operators use exactly the options, barcode rules, etc. that I want
to happen every time.

My tape rotation script, for vaulting tapes, is triggered as a cron job, it
identifies the tapes to be removed and automatically moves them to the
mailslots.  It sends an email with the tapes to be removed & supplies a list
of tapes to be inserted in their stead.  It then pages the operator that
there's a rotation task to be performed.

I use a similar strategy with the weekly duplication process. 

Cold backups of applications are best handled as you mentioned, with start &
stop scripts as used by Netbackup.  This allows you to reschedule your jobs
and the start/stop stuff moves with it.  My Oracle environment is very
complex so my start/stop script is probably not applicable to your
environment but it's pretty much a matter of calling the dbshut & dbstart
scripts in your Oracle's $ORAHOME/bin directory to make it happen.

I also backup to disk, although I have a scheduled job that reaps it to tape
to keep from filling up the disk space (duplication of image to tape, then
forced expiration of disk image).  The thing to remember with disk is that
it isn't compressed, unless you're using the NB client-side compression (and
that costs big CPU and frankly isn't that good a compression algorithm).
Tape is still usually a cost savings over disk so you'll want to be careful
with that.

You'll use more disk that tape, in my experience, as measured by just
GBytes. 

HTH - Mark 

-----Original Message----- 
From: Timothy Arnold [mailto:timothy.arnold AT becta.org DOT uk
<mailto:timothy.arnold AT becta.org DOT uk> ] 
Sent: Monday, December 02, 2002 11:04 AM 
To: 'veritas-bu AT mailman.eng.auburn DOT edu' 
Subject: [Veritas-bu] Operator tape removal & backup scripts 


Hiya, 

I have a couple of questions regarding NetBackup 3.4 (running on Solaris). 

OK, the first is - what should your operator do when removing tapes from 
netbackup and putting in the safe? Do people duplicate tapes, move them into

volume groups for particular days? - do operators generally use the GUI 
interface rather than the command line? 

The other question is how do I perform cold backups of applications? As I 
understand it I can use backup start & stop scripts which will force the 
application to shutdown prior to backup and then resume after? Does anyone 
have any examples for Inktomi or Oracle? 

I am also looking for alternatives for tape backup. At the moment we perform

full backup's everynight. We use a lot of tapes per week and I am curious to

see if anyone has implemented backups to disk etc? 

Thanks, 

Tim. 

*** Send all support request to helpdesk AT ngfl.gov DOT uk *** Timothy J 
Arnold 
Systems Support Officer, Educational Technology Becta Millburn Hill Road 
University of Warwick Science Park Coventry CV4 7JJ 024 7684 7169 | 07766 
776905 http://www.becta.org.uk <http://www.becta.org.uk>  |
http://www.ngfl.gov.uk <http://www.ngfl.gov.uk>  


********************************************************************** 
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify 
the system manager. 
This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses. 
www.mimesweeper.com 
********************************************************************** 

_______________________________________________ 
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu 
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu>  



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************


------_=_NextPart_001_01C29A34.82314880
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=014074418-02122002><FONT face=Arial color=#0000ff size=2>Mark, 
</FONT></SPAN></DIV>
<DIV><SPAN class=014074418-02122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=014074418-02122002><FONT face=Arial color=#0000ff 
size=2>Thanks 
for this information, it is very useful!</FONT></SPAN></DIV>
<DIV><SPAN class=014074418-02122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002>From my experiance with Netbackup, the command line is 
a quick and easy method to achieve your desired result but with a cost that it 
is not intuative and you have to know the exact command you want in order to 
acomplish this. </SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002>Ideally I would like a foolproof system which would 
allow an operator to come into work on Monday morning and perform all the tasks 
needed - that is my next question, what sort of tasks does an operator need to 
do to ensure that everything is OK?</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002>I would like, if possible to look at your inject and 
vaulting scripts. I would guess not since you have spent alot of time on them 
;) 
- what kind of things do the scripts do, and how does the vaulting element 
work?</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002>In regards to cold backup of oracle. How does this 
extend to other applications? We use Veritas Cluster here and it would be very 
easy to create scripts to stop/start services. Where do I place the scripts for 
these?</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002>Regards,</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
class=014074418-02122002>Tim.</SPAN></FONT></FONT></FONT></DIV>
<DIV><SPAN class=014074418-02122002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Donaldson, Mark 
  [mailto:Mark.Donaldson AT experianems DOT com] <BR><B>Sent:</B> 02 December 
2002 
  18:39<BR><B>To:</B> 'Timothy Arnold'; 
  'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: 
[Veritas-bu] 
  Operator tape removal &amp; backup scripts<BR><BR></FONT></DIV>
  <P><FONT size=2>Our operators work almost entirely from scripts I've 
  written.&nbsp; The use of the command-line is not unusual in this office and 
  using the command line lets me force exactly the operation I want to occur 
  without fear that they've mis-clicked and forgotten to set some option box or 
  something.&nbsp; By running my "inject_tapes" script, as opposed to using the 
  media management gui, my operators use exactly the options, barcode rules, 
  etc. that I want to happen every time.</FONT></P>
  <P><FONT size=2>My tape rotation script, for vaulting tapes, is triggered as 
a 
  cron job, it identifies the tapes to be removed and automatically moves them 
  to the mailslots.&nbsp; It sends an email with the tapes to be removed &amp; 
  supplies a list of tapes to be inserted in their stead.&nbsp; It then pages 
  the operator that there's a rotation task to be performed.</FONT></P>
  <P><FONT size=2>I use a similar strategy with the weekly duplication 
  process.</FONT> </P>
  <P><FONT size=2>Cold backups of applications are best handled as you 
  mentioned, with start &amp; stop scripts as used by Netbackup.&nbsp; This 
  allows you to reschedule your jobs and the start/stop stuff moves with 
  it.&nbsp; My Oracle environment is very complex so my start/stop script is 
  probably not applicable to your environment but it's pretty much a matter of 
  calling the dbshut &amp; dbstart scripts in your Oracle's $ORAHOME/bin 
  directory to make it happen.</FONT></P>
  <P><FONT size=2>I also backup to disk, although I have a scheduled job that 
  reaps it to tape to keep from filling up the disk space (duplication of image 
  to tape, then forced expiration of disk image).&nbsp; The thing to remember 
  with disk is that it isn't compressed, unless you're using the NB client-side 
  compression (and that costs big CPU and frankly isn't that good a compression 
  algorithm).&nbsp; Tape is still usually a cost savings over disk so you'll 
  want to be careful with that.</FONT></P>
  <P><FONT size=2>You'll use more disk that tape, in my experience, as measured 
  by just GBytes.</FONT> </P>
  <P><FONT size=2>HTH - Mark</FONT> </P>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: 
  Timothy Arnold [<A 
  href="mailto:timothy.arnold AT becta.org DOT uk">mailto:timothy.arnold AT 
becta.org DOT uk</A>]</FONT> 
  <BR><FONT size=2>Sent: Monday, December 02, 2002 11:04 AM</FONT> <BR><FONT 
  size=2>To: 'veritas-bu AT mailman.eng.auburn DOT edu'</FONT> <BR><FONT 
  size=2>Subject: [Veritas-bu] Operator tape removal &amp; backup 
scripts</FONT> 
  </P><BR>
  <P><FONT size=2>Hiya,</FONT> </P>
  <P><FONT size=2>I have a couple of questions regarding NetBackup 3.4 (running 
  on Solaris).</FONT> </P>
  <P><FONT size=2>OK, the first is - what should your operator do when removing 
  tapes from</FONT> <BR><FONT size=2>netbackup and putting in the safe? Do 
  people duplicate tapes, move them into</FONT> <BR><FONT size=2>volume groups 
  for particular days? - do operators generally use the GUI</FONT> <BR><FONT 
  size=2>interface rather than the command line?</FONT> </P>
  <P><FONT size=2>The other question is how do I perform cold backups of 
  applications? As I</FONT> <BR><FONT size=2>understand it I can use backup 
  start &amp; stop scripts which will force the</FONT> <BR><FONT 
  size=2>application to shutdown prior to backup and then resume after? Does 
  anyone</FONT> <BR><FONT size=2>have any examples for Inktomi or 
Oracle?</FONT> 
  </P>
  <P><FONT size=2>I am also looking for alternatives for tape backup. At the 
  moment we perform</FONT> <BR><FONT size=2>full backup's everynight. We use a 
  lot of tapes per week and I am curious to</FONT> <BR><FONT size=2>see if 
  anyone has implemented backups to disk etc?</FONT> </P>
  <P><FONT size=2>Thanks,</FONT> </P>
  <P><FONT size=2>Tim.</FONT> </P>
  <P><FONT size=2>*** Send all support request to helpdesk AT ngfl.gov DOT uk 
*** 
  Timothy J Arnold</FONT> <BR><FONT size=2>Systems Support Officer, Educational 
  Technology Becta Millburn Hill Road</FONT> <BR><FONT size=2>University of 
  Warwick Science Park Coventry CV4 7JJ 024 7684 7169 | 07766</FONT> <BR><FONT 
  size=2>776905 <A href="http://www.becta.org.uk"; 
  target=_blank>http://www.becta.org.uk</A> | <A href="http://www.ngfl.gov.uk"; 
  target=_blank>http://www.ngfl.gov.uk</A> </FONT></P><BR>
  <P><FONT 
  
size=2>**********************************************************************</FONT>
 
  <BR><FONT size=2>This email and any files transmitted with it are 
confidential 
  and</FONT> <BR><FONT size=2>intended solely for the use of the individual or 
  entity to whom they</FONT> <BR><FONT size=2>are addressed. If you have 
  received this email in error please notify</FONT> <BR><FONT size=2>the system 
  manager.</FONT> <BR><FONT size=2>This footnote also confirms that this email 
  message has been swept by</FONT> <BR><FONT size=2>MIMEsweeper for the 
presence 
  of computer viruses.</FONT> <BR><FONT size=2>www.mimesweeper.com</FONT> 
  <BR><FONT 
  
size=2>**********************************************************************</FONT>
 
  </P>
  <P><FONT size=2>_______________________________________________</FONT> 
  <BR><FONT size=2>Veritas-bu maillist&nbsp; -&nbsp; 
  Veritas-bu AT mailman.eng.auburn DOT edu</FONT> <BR><FONT size=2><A 
  href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
  
target=_blank>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</A></FONT>
 
  </P></BLOCKQUOTE><CODE><FONT SIZE=3><BR>
<BR>
**********************************************************************<BR>
This email and any files transmitted with it are confidential and<BR>
intended solely for the use of the individual or entity to whom they<BR>
are addressed. If you have received this email in error please notify<BR>
the system manager.<BR>
This footnote also confirms that this email message has been swept by<BR>
MIMEsweeper for the presence of computer viruses.<BR>
www.mimesweeper.com<BR>
**********************************************************************<BR>
</FONT></CODE>
</BODY></HTML>

------_=_NextPart_001_01C29A34.82314880--

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