TrabalhosGratuitos.com - Trabalhos, Monografias, Artigos, Exames, Resumos de livros, Dissertações
Pesquisar

A Clonagem

Por:   •  7/5/2018  •  Abstract  •  1.088 Palavras (5 Páginas)  •  215 Visualizações

Página 1 de 5
  1. Clonagem
  1. Preparar o sistema origem
  1. Prepare the source system database tier for cloning 
    Log on to the source system as the ORACLE user and run the following commands:

        cd $ORACLE_HOME/appsutil/scripts/
        
perl adpreclone.pl dbTier

[oraprod@tejotemp 9.2.0]$ cd /u01/oraprod/proddb/9.2.0/appsutil/scripts/PROD_tejotemp/

[oraprod@tejotemp PROD_tejotemp]$ perl adpreclone.pl dbTier

  1. Prepare the source system application tier for cloning 
    Log on to the source system as the APPLMGR user and run the following commands on each node that contains an APPL_TOP:

cd $COMMON_TOP/admin/scripts/
   
perl adpreclone.pl appsTier

[applprod@tejotemp PROD_tejotemp]$ cd /u02/applprod/prodcomn/admin/scripts/PROD_tejotemp/

[applprod@tejotemp PROD_tejotemp]$ perl adpreclone.pl  appsTier

  1. Copiar o sistema origem para o Sistema destino
  1. Copy the application tier file system
    Log on to the source system application tier nodes as the APPLMGR user.
  1. Shut down the application tier server processes
  2. Copy the following application tier directories from the source node to the target application tier node:
  1.  
  2.  
  3.  
  4.   -- não é necessário se estiver em /opt/java1.4..
  5. $COMMON_TOP/util 
  6. /clone 
  7. /_pages  (when this directory exists)
  8. <806 ORACLE_HOME> 
  9.  

  1. Copy the database tier file system
    Log on to the source system database node as the ORACLE user.
  1. Perform a normal shutdown of the source system database
  2. Copy the database (DBF) files from the source to the target system
  3. Copy the source database ORACLE_HOME to the target system
  4. Start up the source Applications system database and application tier processes 
  1. Configurar o Sistema destino
  1. Configure the target system database server
    Log on to the target system as the ORACLE user and type the following commands to configure and start the database:
            
    cd $ORACLE_HOME/appsutil/clone/bin
            
    perl adcfgclone.pl dbTier 

Se der erro no adcrobj.sh e RDBMS é o 9.2.0.8, então:

Unlock /var/opt/oracle/oraInventory: ver a directoria locks

Unlock /var/opt/oracle/oraInventory/ContentsXML: ver o ficheiro comps.xml

Apply DB patch 5495695:

export PATH=/disc2/oravis/tstdb/9.2.0/OPatch:$PATH

opatch lsinventory (para verificar acessibilidade do Oracle Inventory)

cp $ORACLE_HOME/bin/sqlplus $ORACLE_HOME/bin/sqlplus_pre5495695

opatch apply

mv $ORACLE_HOME/sqlplus/lib/sqlplus $ORACLE_HOME/bin/sqlplus

E Correr o autoconfg.sh da base de dados

  1. Configure the target system application tier server nodes
    Log on to the target system as the APPLMGR user and type the following commands:

         cd $COMMON_TOP/clone/bin
        
perl adcfgclone.pl appsTier

Se o sistema destino não tiver nenhuma instalação Oracle neste passo deve acontecer um erro relacionado com o “oraInst.loc”  e com o “oraInventory/”. Neste caso pode-se copiar este ficheiro e esta directoria para o sistema destino nas mesmas localizações.

  1. Tarefas Finais
  1. Update profile options

Rapid Clone updates only site level profile options. If any other profile options are set to instance specific values, you must update them manually.

  1. Update printer settings

If the new cloned system needs to utilize different printers, update the target system with the new printer settings now.

...

Baixar como (para membros premium)  txt (5.6 Kb)   pdf (149.3 Kb)   docx (480.2 Kb)  
Continuar por mais 4 páginas »
Disponível apenas no TrabalhosGratuitos.com