10G R2 RMAN with EM [message #272278] |
Thu, 04 October 2007 07:17 |
johnny5
Messages: 4 Registered: October 2007 Location: Ohio, USA
|
Junior Member |
|
|
I have setup backup using EM. Here are results of show all from RMAN console:
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # defa
ult
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 4;
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'F:\Oracle\backup\RMAN\%U' MAXPIECES
IZE 10 G;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 10 G;
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 'E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\S
NCFIAS40.ORA'; # default
RMAN>
Problem:
When I try to delete obsolete backupsets older than my retention policy I get the following:
RMAN> DELETE NOPROMPT OBSOLETE;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 2 days
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=296 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=194 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=356 devtype=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: sid=362 devtype=DISK
allocated channel: ORA_DISK_5
channel ORA_DISK_5: sid=263 devtype=DISK
released channel: ORA_DISK_1
released channel: ORA_DISK_2
released channel: ORA_DISK_3
released channel: ORA_DISK_4
released channel: ORA_DISK_5
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 10/04/2007 08:12:11
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
exit;
Recovery Manager complete.
I am ONLY using a device type disk by design, yet EM 'auto-configured' an SBT_TAPE device in the configuration.
How do I remove the SBT_TAPE DEVICE from my configuration, since I am not using it for my backups???
|
|
|
|
|
Re: 10G R2 RMAN with EM [message #272302 is a reply to message #272288] |
Thu, 04 October 2007 08:33 |
johnny5
Messages: 4 Registered: October 2007 Location: Ohio, USA
|
Junior Member |
|
|
Oracle version 10.2.0.3
I tried the configure device type 'sbt_tape' clear; command before (and now again to be certain) all it does is " reset to default value"
Yet, the configurations for the SBT_TAPE remains unchanged in the persistant settings.
|
|
|
Re: 10G R2 RMAN with EM [message #272308 is a reply to message #272302] |
Thu, 04 October 2007 08:51 |
johnny5
Messages: 4 Registered: October 2007 Location: Ohio, USA
|
Junior Member |
|
|
Clarification:
Can I remove all setting for the SBT_TAPE device type from my persistant settings?
I do not have any tape device installed for this server.
When I try:
DELETE NOPROMPT BACKUPSET 2;
I get:
RMAN>
connected to target database: IAS40 (DBID=8736523353)
using target database control file instead of recovery catalog
RMAN> DELETE NOPROMPT BACKUPSET 2;
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=263 devtype=DISK
released channel: ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 10/04/2007 09:46:16
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
How can I tell RMAN that there is no Media Management Library??
thanks
|
|
|
Re: 10G R2 RMAN with EM [message #272332 is a reply to message #272308] |
Thu, 04 October 2007 10:44 |
girish.rohini
Messages: 744 Registered: April 2005 Location: Delhi (India)
|
Senior Member |
|
|
Hi
You need to clear all these configuration settings:
Quote: | CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 10 G;
|
--Girish
|
|
|
|
|