- Este tópico contém 4 respostas, 2 vozes e foi atualizado pela última vez 16 anos, 9 meses atrás por
Rodrigo Almeida.
-
AutorPosts
-
5 de junho de 2009 às 5:24 pm #87173
vieri
ParticipanteDe 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’; # defaultvou 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
5 de junho de 2009 às 5:32 pm #87174vieri
Participanteerro no log:
RMAN-00571: ===========================================================
RMAN-00571: ===========================================================
RMAN-03002: failure of release command at 06/05/2009 01:27:36
RMAN-06012: channel: t1 not allocated5 de junho de 2009 às 9:37 pm #87181Rodrigo Almeida
ParticipanteVieri,
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
7 de junho de 2009 às 4:00 am #87196vieri
ParticipanteMudei 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
7 de junho de 2009 às 8:26 am #87197Rodrigo Almeida
ParticipanteVieri,
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
-
AutorPosts
- Você deve fazer login para responder a este tópico.