• delete noprompt archivelog 报错ORA-00245,RMAN-08132


    在RMAN执行  delete noprompt archivelog until time 'sysdate-1';  报错
     
    ORA-00245: control file backup failed; in Oracle RAC, target might not be on shared storage
     
    RMAN-08132: WARNING: cannot update recovery area reclaimable file list
     
    查看RMAN配置
    RMAN> show all;
     
    RMAN configuration parameters for database with db_unique_name STANDBY are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE RMAN OUTPUT TO KEEP FOR 7 DAYS; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/12.1.0/db_1/dbs/snapcf_gxshis1.f'; # default
     
     
    原因:
    控制文件快照不是放在共享文件系统上。
     
    解决办法:
    把控制文件快照放在共享文件系统上。
     
    RMAN >  CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATA/STANDBY/CONTROLFILE/snapcf_gxshis1.f'; 
     
     
  • 相关阅读:
    DOM型XSS(pikachu)
    第十周笔记
    第九周数据结构
    第八周数据结构笔记
    第七周笔记
    第六周笔记
    第五周数据结构
    第四周笔记
    数据结构(第三周)
    数据结构—第二周学习笔记
  • 原文地址:https://www.cnblogs.com/liang545621/p/9405836.html
Copyright © 2020-2023  润新知