Reginaldo
Você deve serguir os passos que o Rodrigo Mulafani informou em um e-mail
anterior.
Esse link deve te ajudar:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmasm.htm#i1014926
Att.
Marcelo Procksch
Em 6 de abril de 2011 16:51, Reginaldo de Faveri da Silva <
regina...@softplan.com.br> escreveu:
>
>
>
> Senhores, desculpa perguntar novamente, mas é que, apesar da ajuda de
> alguns colegas e mais um pouco de estudo não consegui fazer a mudança acima.
> Estou com a corda no pescoço e preciso concluir esta mudança de servidor o
> quanto antes mas, não estou encontrando solução.
> Vou procurar descrever melhor, pois quem sabe, alguém possa sugerir alguma
> solução ok?
> Tenho dois servidores em RAC+ASM com Linux Red Hat Enterprise Linux Server
> release 5.3 (Tikanga) e Oracle Database 11g Release 11.2.0.1.0 - 64bit.
> Preciso mover esta base para um servidor com Linux Red Hat Enterprise Linux
> Server release 5.3 (Tikanga) e Oracle Database 11g Release 11.2.0.1.0 -
> 64bit com discos locais.
>
> Meu procedimento é:
> Em um dos servidores do RAC executo um backup RMAN conforme descrito
> abaixo:
>
> RUN {
> SQL 'alter system switch logfile';
> SQL 'alter system archive log current';
> DELETE FORCE NOPROMPT BACKUP;
> ALLOCATE CHANNEL ch1 TYPE
> DISK FORMAT '/bak/%d_%u_%s_%p.bak';
> BACKUP DATABASE PLUS ARCHIVELOG;
> RELEASE CHANNEL ch1;
> DELETE NOPROMPT FORCE OBSOLETE;
> DELETE FORCE NOPROMPT EXPIRED BACKUP OF CONTROLFILE;
> }
> EXIT;
>
> Abaixo demais configurações do RMAN
> 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
> '/bak/%d-%F.ctl';
> 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 ARCHIVELOG DELETION POLICY TO NONE; # default
> CONFIGURE SNAPSHOT CONTROLFILE NAME TO
> '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_dbprod.f'; # default
>
>
> Após copio para o servidor com discos locais e restauro conforme
> procedimento abaixo:
> startup nomount pfile=...
> RESTORE CONTROLFILE FROM...
> ALTER DATABASE MOUNT;
> crosscheck backup;
> catalog backuppiece...
> restore database;
> recover database;
> alter database open resetlogs;
> --> Neste momento recebo a mensagem abaixo:
> RMAN-00571: ===
> RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ===
> RMAN-00571: ===
> RMAN-03002: failure of alter db command at 04/06/2011 15:45:02
> ORA-03113: end-of-file on communication channel
> Process ID: 30034
> Session ID: 70 Serial number: 37
> RMAN-00571: ===
> RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ===
> RMAN-00571: ===
> ORA-03114: not connected to ORACLE
> RMAN-00571: ===
> RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ===
> RMAN-00571: ===
> RMAN-03002: failure of alter db command at 04/06/2011 15:45:02
> ORA-03113: end-of-file on communication channel
> Process ID: 30034
> Session ID: 70 Serial number: 37
>
>
> Não encontrei nenhuma configuração que possa estar errada.
> Abaixo segue meu arquivo INIT.
> ##
>
> # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
> ##
>
>
> ###
> # Archive
> ###
> #log_archive_format=DBPROD_%S_%R.%T.arc
> #log_archive_start=TRUE
> #archive_lag_target=3600
>
>
> ###
> # Cache and I/O
> ###
> db_block_size=8192
> db_file_multiblock_read_count=16
>
>
> ###
> # Cursors and Library Cache
> ###
> open_cursors=300
> cursor_sharing=EXACT
>
> ###
> # Database Identification
> ###
> db_domain=""
> db_name=DBPROD
> instance_name=DBPROD
>
>
> ###
> # Diagnostics
> ###
> diagno