Re: Comvault Oracle RMAN Shell Script

From: Leng <lkaing_at_gmail.com>
Date: Fri, 20 Dec 2019 17:35:40 +1100
Message-Id: <F95F14E5-9357-4423-A79F-AC397340AE9F_at_gmail.com>



To eliminate the allocate channel, you can configure it at the Rman level.

However, the problem looks to be with your I/o request to the controlfile. Is there a problem with your controlfile or asm?

Cheers,
Leng

> On 20 Dec 2019, at 12:50 pm, Sanjay Mishra (Redacted sender smishra_97 for DMARC) <dmarc-noreply_at_freelists.org> wrote:
>
> 
> I had the requirement to run some dynamically generated Archivelog backup script with Commvault tape Library and so need to call shell script on DB Server using Comvault Client. I had the required script which can generate the required RMAN command and can be executed but when the same is called with Comvault, it is giving error
>
> RMAN-00571: ===========================================================
> RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
> RMAN-00571: ===========================================================
> RMAN-03002: failure of backup command at 12/19/2019 11:41:22
> ORA-00204: error in reading (block 1, # blocks 1) of control file
> ORA-00202: control file: '+ARCH/TESTRPDB/control01.ctl'
> ORA-15081: failed to submit an I/O operation to a disk
>
>
> Issue look like is with Channel Allocation and Env/Params setting and Comvault Admin is working offshore and not able to share any details. Here is the final RMAN script called
>
> connect target /
> run {
> allocate channel ch1 type 'sbt_tape' PARMS 'SBT_LIBRARY=/opt/commvault/Base/libobk.so,BLKSIZE=1048576';
> sql "alter system archive log current";
> backup
> ( archivelog all) ;
> backup current controlfile ;
> }
>
>
> TIA
> Sanjay

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Dec 20 2019 - 07:35:40 CET

Original text of this message