Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HELP! rman issues with commvault and tape

JackDethJan 14 2015 — edited Jan 15 2015

Right ok this has been dumped on to me....i do have limited experience so bare with me please.(apologies for big post)

i have used the search function. been reading lots sites and forums and trying lots of different settings to get a result, but im stuck which is why im posting.

backup is no longer working to tape. i'm trying to get this sorted.

we have a commvault server on windows 2003 that tries to initiate a backup but complains about rman crosscheck failing. ran the crosscheck(backupset, backup,archivelog all)  on server failing, all 8 objects backup pieces checked and available. 50 validation successes for archives=log.

on the server in question thats failing, windows 2003 oracle 10g, looking at backups it used to back up to sbt_tape until december 12th 2014, i have since run a back up and it backups up but to disk instead.

looking at the show all; it looks like the channel config for sbt is not right. the environment variables path does have the entry in it to point to the orasbt.dll in the commvault folder location. but the entry on the config is missing parms i think.

there is a tnsnames.ora with the comvault server details in it but im not sure how that comes in to play with the name rmanprd.

the retention policy is 7 days but there are backups being listed as far back as oct2014 on tape, could that be causing an issue? i tried to run and delete obsolete; but it fails with this:

Backup Set           7420   09-DEC-14

  Backup Piece       7407   09-DEC-14          c-1713413130-20141209-01

Backup Set           7422   10-DEC-14

  Backup Piece       7409   10-DEC-14          lcpprnbm_1_1

Backup Set           7423   10-DEC-14

  Backup Piece       7410   10-DEC-14          ldpprnbp_1_1

Backup Set           7424   10-DEC-14

  Backup Piece       7411   10-DEC-14          c-1713413130-20141210-00

Backup Set           7426   10-DEC-14

  Backup Piece       7413   10-DEC-14          c-1713413130-20141210-01

Backup Set           7428   11-DEC-14

  Backup Piece       7415   11-DEC-14          lippubog_1_1

Backup Set           7429   11-DEC-14

  Backup Piece       7416   11-DEC-14          ljppubon_1_1

Backup Set           7430   11-DEC-14

  Backup Piece       7417   11-DEC-14          c-1713413130-20141211-00

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of delete command at 01/13/2015 10:54:35

RMAN-06091: no channel allocated for maintenance (of an appropriate type)

i try to run teh command to allocate a channel for maintenance but that fails too.

any help or direction would be most appreciated

RMAN> show all ;

RMAN configuration parameters are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 7;

CONFIGURE BACKUP OPTIMIZATION ON;

CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'R:\oracle\rman\%F';

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F';

CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET;

CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP TYPE TO BACKUPSET;

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default

CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   'R:\oracle\rman\wopsprd_%U.rman';

CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS  "SBT_LIBRARY=orasbt.dll";

CONFIGURE MAXSETSIZE TO UNLIMITED; # default

CONFIGURE ENCRYPTION FOR DATABASE OFF; # default

CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default

CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'R:\ORACLE\RMAN\SPNCFWOPSPRD.ORA';

list backup summary:

7432    B  F  A SBT_TAPE    11-DEC-14       1       1       NO         TAG20141211T231001

7433    B  0  A SBT_TAPE    12-DEC-14       1       1       NO         TAG20141212T230044

7434    B  0  A SBT_TAPE    12-DEC-14       1       1       NO         TAG20141212T230044

7435    B  0  A SBT_TAPE    12-DEC-14       1       1       NO         TAG20141212T230044

7436    B  F  A SBT_TAPE    12-DEC-14       1       1       NO         TAG20141212T231032

7437    B  A  A SBT_TAPE    12-DEC-14       1       1       NO         TAG20141212T231535

7438    B  F  A SBT_TAPE    12-DEC-14       1       1       NO         TAG20141212T231555

7439    B  F  A DISK        12-JAN-15       1       1       NO         TAG20150112T120519

7440    B  F  A DISK        12-JAN-15       1       1       NO         TAG20150112T120519

(ive hidden host ip's on purpose)

tnsnames.ora:

Fslcpdriveexorav01 =

  (ADDRESS_LIST=

    (ADDRESS=

      (PROTOCOL=IPC)

      (KEY=WOPSPRD)

    )

    (ADDRESS=

      (PROTOCOL=TCP)

      (Host=**.**.**.**)

      (Port=1522)

    )

  )

WOPSPRD =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS =

        (PROTOCOL = TCP)

        (Host = **.**.**.**)

        (Port = 1522)

      )

    )

    (CONNECT_DATA =

      (SID = WOPSPRD)

    )

  )

WOPS =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS =

        (PROTOCOL = TCP)

        (Host = **.**.**.**)

        (Port = 1522)

      )

    )

    (CONNECT_DATA =

      (SID = WOPSPRD)

    )

  )

WOPSPRDSVC =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS =

        (PROTOCOL = TCP)

        (Host = **.**.**.**)

        (Port = 1523)

      )

    )

    (CONNECT_DATA =

      (SID = WOPSPRD)

    )

  )

RMANPRD =

  (DESCRIPTION =

    (ADDRESS_LIST =

      (ADDRESS =

        (PROTOCOL = TCP)

        (HOST = cpdrivebak01.nigov.net)

        (PORT = 1522)

      )

    )

    (CONNECT_DATA =

      (SERVICE_NAME = rmanprd.cpdrivebak01.nigov.net)

    )

  )

--WOPSPRD =

--  (DESCRIPTION=

--    (ADDRESS_LIST=

--      (ADDRESS=

--        (PROTOCOL=TCP)

--        (Host=**.**.**.**)

--        (Port=1522)

--      )

--    )

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2015
Added on Jan 14 2015
5 comments
4,855 views