天天看点

EBS 12.2.6 数据层克隆过程

[[email protected] 桌面]#su - orauat

[[email protected] ~]$ cd /u01/uat/db/12.1.0/appsutil/clone/bin

[[email protected] bin]$ ls

adcfgclone.pl  adchkutl.sh  adclonectx.pl  adclone.pl

[[email protected] bin]$ perl adcfgclone.pl dbTier

                     Copyright (c) 2002, 2015 Oracle Corporation

                        Redwood Shores, California, USA

                        Oracle E-Business Suite Rapid Clone

                                 Version 12.2

                      adcfgclone Version 120.63.12020000.56

Enter the APPS password : apps

Running: Context clone...

Log file located at /u01/uat/db/12.1.0/appsutil/clone/bin/CloneContext_0815155232.log

Provide the values required for creation of the new Database Context file.

Target System Hostname (virtual or normal) [ebsuat] : ebsuat

Target Instance is RAC (y/n) [n] : n

Target System Database SID : UAT

Target System Base Directory : /u01/uat/db

Target System utl_file_dir Directory List : /u01/uat/temp

Number of DATA_TOP's on the Target System [1] : [回车]

Target System DATA_TOP Directory 1 [/u01/uat/db/data] : /u01/uat/db/data

Target System RDBMS ORACLE_HOME Directory [/u01/uat/db/12.1.0] : /u01/uat/db/12.1.0

Do you want to preserve the Display [null] (y/n)  : n

Target System Display [ebsuat:0.0] : ebsuat:0.0

Do you want the target system to have the same port values as the source system (y/n) [y] ? : n

Target System Port Pool [0-99] : 10【可自行定义】

Checking the port pool 10

done: Port Pool 10 is free

Report file located at /u01/uat/db/12.1.0/appsutil/temp/portpool.lst

The new database context file has been created :

  /u01/uat/db/12.1.0/appsutil/UAT_ebsuat.xml

Check Clone Context logfile /u01/uat/db/12.1.0/appsutil/clone/bin/CloneContext_0815155232.log for details.

Running Rapid Clone with command:

Running:

perl /u01/uat/db/12.1.0/appsutil/clone/bin/adclone.pl java=/u01/uat/db/12.1.0/appsutil/clone/bin/../jre mode=apply stage=/u01/uat/db/12.1.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/uat/db/12.1.0/appsutil/UAT_ebsuat.xml showProgress contextValidated=true

Beginning database tier Apply - Tue Aug 15 15:55:16 2017

/u01/uat/db/12.1.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/uat/db/12.1.0/oui -classpath /u01/uat/db/12.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/uat/db/12.1.0/appsutil/clone/jlib/ojdbc6.jar:/u01/uat/db/12.1.0/appsutil/clone/jlib/java:/u01/uat/db/12.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/uat/db/12.1.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/uat/db/12.1.0/appsutil/clone/jlib/oui/share.jar:/u01/uat/db/12.1.0/appsutil/clone/jlib/oui/srvm.jar:/u01/uat/db/12.1.0/appsutil/clone/jlib/ojmisc.jar   oracle.apps.ad.clone.ApplyDBTier -e /u01/uat/db/12.1.0/appsutil/UAT_ebsuat.xml -stage /u01/uat/db/12.1.0/appsutil/clone   -showProgress

APPS Password : Log file located at /u01/uat/db/12.1.0/appsutil/log/UAT_ebsuat/ApplyDBTier_08151555.log

  /     15% completed       

Completed Apply...

Tue Aug 15 16:08:13 2017

Starting database listener for UAT:

Running:

/u01/uat/db/12.1.0/appsutil/scripts/UAT_ebsuat/addlnctl.sh start UAT

Logfile: /u01/uat/db/12.1.0/appsutil/log/UAT_ebsuat/addlnctl.txt

You are running addlnctl.sh version 120.4

Starting listener process UAT ...

Listener UAT has already been started.

addlnctl.sh: exiting with status 0

addlnctl.sh: check the logfile /u01/uat/db/12.1.0/appsutil/log/UAT_ebsuat/addlnctl.txt for more information ...  

Do you want to change the password for all EBS Schemas? (y/n) [n]) :n

Do you want to change the password for sysadmin user? (y/n) [n]) : n

Do you want to change the apps password? (y/n) [n]) : n

Do you want to change the sys and system passwords? (y/n) [n]) : n

Running ETCC to check status of DB technology patches... 

 +===============================================================+ 

 |    Copyright (c) 2005, 2016 Oracle and/or its affiliates.     | 

 |                     All rights reserved.                      | 

 |             Oracle E-Business Suite Release 12.2              | 

 |          Database EBS Technology Codelevel Checker            | 

 +===============================================================+ 

Using context file from command line argument:

/u01/uat/db/12.1.0/appsutil/UAT_ebsuat.xml

Starting Database EBS Technology Codelevel Checker, Version 120.38 

Tue Aug 15 16:10:57 CST 2017

Log file for this session : /u01/uat/db/12.1.0/appsutil/etcc/checkDBpatch_10239.log

Bugfix XML file version: 120.0.12020000.32

This file will be used for identifying missing bugfixes. 

Mapping XML file version: 120.0.12020000.5

This file will be used for mapping bugfixes to patches.

[WARNING] DB-ETCC: Bugfix XML file (txk_R1220_DB_base_bugs.xml) in current directory is more than 30 days old.

 Check if a newer version is available in patch 17537119.

Identifying database release. 

Database release set to 12.1.0.2.

Connecting to database. 

Database connection successful. 

Database UAT is in READ WRITE mode.

Identifying APPS and APPLSYS schema names. 

 - APPS schema : APPS

 - APPLSYS schema : APPLSYS

Checking for DB-ETCC results table. 

Table to store DB-ETCC results already exists in the database.

Checking if InMemory option is enabled. 

InMemory option is not enabled in the Database.

Checking Bugfix XML file for 12.1.0.2_PSU

Obtained list of bugfixes to be applied and the list to be rolled back.

Now checking Database ORACLE_HOME.

The opatch utility is version 12.2.0.1.7.

DB-ETCC is compatible with this opatch version.

Found patch records in the inventory.

Checking Mapping XML file for 12.1.0.2.160719

All the required one-off bugfixes are present in Database ORACLE_HOME.

Stored Technology Codelevel Checker results in the database UAT successfully.

Finished prerequisite patch testing : Tue Aug 15 16:11:12 CST 2017

Log file for this session: /u01/uat/db/12.1.0/appsutil/etcc/checkDBpatch_10239.log

至此数据层克隆结束

===============================================================================