Veritas-bu

[Veritas-bu] Oracle agent problems

2006-10-16 13:39:53
Subject: [Veritas-bu] Oracle agent problems
From: davidkmcw at gmail.com (David McWilliams)
Date: Mon, 16 Oct 2006 13:39:53 -0400
I customized the script and set ORACLE_HOME, ORACLE_USER & ORACLE_SID to the
appropriate values.

My concern is that the logfile isn't even getting touched. Do I need to have
rsh enabled or something like that?

What other information can I provide?

On 10/16/06, ckstehman at pepco.com <ckstehman at pepco.com> wrote:
>
>
> You do not provide much information, so I am going to start with the
> basics:
>
> Have you modified the .sh and .rcv scripts to fit your environment.?
> Be sure these are set correctly in the .sh file.
>
> ORACLE_HOME=<yours>
> export ORACLE_HOME
> ORACLE_SID=<for the instance you are backing up>
> export ORACLE_SID
> ORACLE_USER=oracle
> NB_ORA_SCRIPTS=<location of the .rcv scripts>
> The script runs as root.  It su's to oracle to make the connection to the
> database, and to the recovery catalog.
>
> in the .rcv file, connect to the recovery catalog, etc.
>
> connect target
> connect rcvcat <un/password at recovery catalog-tnsname>
>
> run {
> # Hot database level 0 whole backup
> change archivelog all crosscheck;
> allocate channel t1 type 'SBT_TAPE';
> allocate channel t2 type 'SBT_TAPE';
>
> backup
>   incremental level 0
>   tag hot_db_bk_level0_<your SID>
>   filesperset 5
>   # recommended format
>   format '<your SID>_lvl0_hotbk_%s_%p_%t'
>     (database);
>   sql 'alter system archive log current';
>   # backup all archive logs
>   backup
>    filesperset 20
>    format '<your SID>_lvl0_al_%s_%p_%t'
>    (archivelog all
>     );
> }
>
> If you are beyond all that, I need more information
> =============================
> Carl Stehman
> IT Distributed Services Team
> Pepco Holdings, Inc.
> 202-331-6619
> Pager 301-765-2703
> ckstehman at pepco.com
>
>
>  *"David McWilliams" <davidkmcw at gmail.com>*
> Sent by: veritas-bu-bounces at mailman.eng.auburn.edu
>
> 10/16/2006 11:22 AM
>   To
> "NetBackup List" <veritas-bu at mailman.eng.auburn.edu>  cc
>
>  Subject
> [Veritas-bu] Oracle agent problems
>
>
>
>
>
>
> I'm trying to backup an Oracle agent, running on a Red Hat box, from my
> Windows master/ media server, running NBU 5.1 MP2
>
> I can kick off a manual backup, no problem. Wen I attempt to use one the
> /usr/openv/netbackup/ext/db_ext/oracle/samples/rman/hot_database_backup.sh
> script, it very quickly errors out with a (6) error. None of the logfiles
> are even created. Any ideas?
>
> --
> Sl?inte,
>
> David
>
> Checkout the, sometimes updated, McWilliams family website @*
> **http://davidmcw.tripod.com* <http://davidmcw.tripod.com/>
>
>
> Get a safer, faster, better web browser @ *
> http://www.mozilla.org/products/firefox/*<http://www.mozilla.org/products/firefox/>
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
>
>
> This Email message and any attachment may contain information that is
> proprietary, legally privileged, confidential and/or subject to copyright
> belonging to Pepco Holdings, Inc. or its affiliates ("PHI"). This Email is
> intended solely for the use of the person(s) to which it is addressed. If
> you are not an intended recipient, or the employee or agent responsible for
> delivery of this Email to the intended recipient(s), you are hereby notified
> that any dissemination, distribution or copying of this Email is strictly
> prohibited. If you have received this message in error, please immediately
> notify the sender and permanently delete this Email and any copies. PHI
> policies expressly prohibit employees from making defamatory or offensive
> statements and infringing any copyright or any other legal right by Email
> communication. PHI will not accept any liability in respect of such
> communications.




-- 
Sl?inte,

David

Checkout the, sometimes updated, McWilliams family website @
http://davidmcw.tripod.com

Get a safer, faster, better web browser @
http://www.mozilla.org/products/firefox/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20061016/9b0f8f1f/attachment.html

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