Pular para o conteúdo
  • Este tópico contém 4 respostas, 2 vozes e foi atualizado pela última vez 16 anos, 9 meses atrás por Rodrigo Almeida.
Visualizando 5 posts - 1 até 5 (de 5 do total)
  • Autor
    Posts
  • #87173
    vieri
    Participante

      De um dia para o outro algum dba mecheu nas config’s do rman
      e ele passou a não alocar mais os 3 canais para a copia.

      Algum faz idéia do que pode está ocorrendo.

      script:

      run {
      allocate channel t1 type disk maxpiecesize = 50G;
      allocate channel t2 type disk maxpiecesize = 50G;
      allocate channel t3 type disk maxpiecesize = 50G;
      backup as compressed backupset database include current controlfile tag ‘BKP_BI_FULL_HOT’
      format ‘/dba/backup/oracle/ADMBI1/data/bkp_full_%d_%t.rman’;
      backup current controlfile tag ‘BKP_CTL’
      format ‘/dba/backup/oracle/ADMBI1/data/bkp_ctl_%d_%t.rman’;
      backup spfile tag ‘BKP_SPFILE’
      format ‘/dba/backup/oracle/ADMBI1/data/bkp_spfile_%d_%t.rman’;
      release channel t1;
      release channel t2;
      release channel t3;
      }

      RMAN configuration parameters are:
      CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
      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 DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
      CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
      CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
      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 ‘/u01/app/oracle/product/10.2.0/dbs/snapcf_ora10g.f’; # default

      vou passar esse cara para :
      CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;

      para 3 para ver se volta ao normal.

      Mas extrano o fato de a config do Rman prevalecer em cima
      da config do script.
      O script devia ser mandatorio, assim como um alter session é mandatorio numa config da instância.

      oque acham?

      []s

      #87174
      vieri
      Participante

        erro no log:

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

        RMAN-00571: ===========================================================
        RMAN-03002: failure of release command at 06/05/2009 01:27:36
        RMAN-06012: channel: t1 not allocated

        #87181
        Rodrigo Almeida
        Participante

          Vieri,

          Faz o seguinte para nós:

          rman catalog target trace=/u01/trace_rman.trc

          RMAN> run {
          debug on;

          debug off;
          }

          E posta o trc gerado pelo RMAN para avaliarmos.

          As alocações manuais deveriam sobreescrever os automáticos.

          Abraços,

          Rodrigo Almeida

          #87196
          vieri
          Participante

            Mudei o
            CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;

            para 3.

            Ai ele me alocou 2 canais, realmente minha sessão devia ser mandatoria na config do rman. está confuso;; hehehe

            Vou fazer isso na segunda de manhã é posto o trace aqui Rodrigo.

            []s

            #87197
            Rodrigo Almeida
            Participante

              Vieri,

              Para melhorar o teste, executa esse script depois com as alterações abaixo:

              run {
              allocate channel t1 type disk maxpiecesize = 50G format ‘/dba/backup/oracle/ADMBI1/data/bkp_full_%d_%t.rman’;
              allocate channel t2 type disk maxpiecesize = 50G format ‘/dba/backup/oracle/ADMBI1/data/bkp_full_%d_%t.rman’;
              allocate channel t3 type disk maxpiecesize = 50G format ‘/dba/backup/oracle/ADMBI1/data/bkp_full_%d_%t.rman’;
              backup as compressed backupset database include current controlfile tag ‘BKP_BI_FULL_HOT’;
              backup current controlfile tag ‘BKP_CTL’
              format ‘/dba/backup/oracle/ADMBI1/data/bkp_ctl_%d_%t.rman’;
              backup spfile tag ‘BKP_SPFILE’
              format ‘/dba/backup/oracle/ADMBI1/data/bkp_spfile_%d_%t.rman’;
              release channel t1;
              release channel t2;
              release channel t3;
              }

              E veja se agora vai alocar os 3 canais. Se alocar, tem uma explicação. =D

              Abraços,

              Rodrigo Almeida

            Visualizando 5 posts - 1 até 5 (de 5 do total)
            • Você deve fazer login para responder a este tópico.