Veritas-bu

[Veritas-bu] RMAN backups - incomplete streams

2006-12-01 15:45:34
Subject: [Veritas-bu] RMAN backups - incomplete streams
From: ssesar at mitre.org (Steven L. Sesar)
Date: Fri, 01 Dec 2006 15:45:34 -0500
Unfortunately, this is a limitation of NBU's Oracle agent. The exit 
status that you see in the activity monitor is not necessarily the exit 
status of your backup. It is the exit status of the SCRIPT that NBU 
runs, which kicks off your RMAN backup.

What we did to get around this, was to build one monolithic script, 
which parses input passed to it from NBU when any given Oracle policy 
runs. Based on that (and a few other proprietary things), the script 
shuts down the apps associated with the SID that is about to be backed 
up, shuts down the SID, brings it up in startup mount mode, then builds 
and executes the RMAN code.

The "trick", that we coded in, was that if RMAN fails, the script will 
exit with an artificial exit code, which in turn, gets passed to the 
activity monitor.

Now, anyone that looks at the activity monitor, can trust the exit 
status of any given Oracle backup.

--Steve



Veritas Netbackup wrote:
> Hi All,
>
> I find it strange, say a RMAN backup has 3 streams, 2 of them complete 
> and one of them does not appear et all. The backup would still show up 
> as complete. The reasons like commn failure e.t.c. are logged in the 
> dbclient.
>
> The RMAN catalog displays backup error but the veritas catalog backup 
> is success.
>
> I have logged a support request and we are working towards resolving 
> such errors. Would be great if the list can help me.
>
> Regards
> BIJU KRISHNAN
> ------------------------------------------------------------------------
>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>   


-- 
===================================

   Steven L. Sesar
   Lead Operating Systems Programmer/Analyst
   UNIX Application Services R101
   The MITRE Corporation
   202 Burlington Road - MS K101
   Bedford, MA 01730
   tel: (781) 271-7702
   fax: (781) 271-2600
   mobile: (617) 519-8933
   email: ssesar at mitre.org

=================================== 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20061201/87fddcaf/attachment.html

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