Oracle EBS12.2.6 克隆问题集合

数据库克隆错误:

AutoConfig could not successfully execute the following scripts: 
    Directory: /u01/TEST/db/12.1.0/perl/bin/perl -I /u01/TEST/db/12.1.0/perl/lib/5.14.1 -I /u01/TEST/db/12.1.0/perl/lib/site_perl/5.14.1 -I /u01/TEST/db/12.1.0/appsutil/perl /u01/TEST/db/12.1.0/appsutil/clone
      ouicli.pl               INSTE8_APPLY       1 

AutoConfig is exiting with status 1

WARNING: RC-50013: Fatal: Instantiate driver did not complete successfully.
/u01/TEST/db/12.1.0/appsutil/driver/regclone.drv

 

当你执行一次时,报错后,会在oraInventory文件夹中生成数据,再此执行会报如上错误,删除这个文件夹内容重新执行克隆命令即可(rm -rf *).

–数据库克隆完全日志(数据库用户操作)

cd /u01/DEV/db/12.1.0/appsutil/clone/bin

perl adcfgclone.pl dbTier

[oradev@devfin 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/DEV/db/12.1.0/appsutil/clone/bin/CloneContext_1107124902.log

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

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

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

Target System Database SID : DEV

Target System Base Directory : /u01/DEV/db

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

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

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

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

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

Target System Display [devfin:0.0] :

Target System Port Pool [0-99] : 0

Checking the port pool 0

done: Port Pool 0 is free

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

The new database context file has been created :

  /u01/DEV/db/12.1.0/appsutil/DEV_devfin.xml

Check Clone Context logfile /u01/DEV/db/12.1.0/appsutil/clone/bin/CloneContext_1107124902.log for details.

Running Rapid Clone with command:

Running:

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

Beginning database tier Apply – Tue Nov  7 12:50:41 2017

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

APPS Password : Log file located at /u01/DEV/db/12.1.0/appsutil/log/DEV_devfin/ApplyDBTier_11071250.log

  /     15% completed      

Completed Apply…

Tue Nov  7 12:56:59 2017

Starting database listener for DEV:

Running:

/u01/DEV/db/12.1.0/appsutil/scripts/DEV_devfin/addlnctl.sh start DEV

Logfile: /u01/DEV/db/12.1.0/appsutil/log/DEV_devfin/addlnctl.txt

You are running addlnctl.sh version 120.4

Starting listener process DEV…

Listener DEV has already been started.

addlnctl.sh: exiting with status 0

addlnctl.sh: check the logfile /u01/DEV/db/12.1.0/appsutil/log/DEV_devfin/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/DEV/db/12.1.0/appsutil/DEV_devfin.xml

Starting Database EBS Technology Codelevel Checker, Version 120.38

Tue Nov  7 12:57:24 CST 2017

Log file for this session : /u01/DEV/db/12.1.0/appsutil/etcc/checkDBpatch_21112.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 DEV 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 DEV successfully.

Finished prerequisite patch testing : Tue Nov  7 12:57:32 CST 2017

Log file for this session: /u01/DEV/db/12.1.0/appsutil/etcc/checkDBpatch_21112.log

 

–应用克隆完全日志(应用用户操作)

cd /u01/DEV/app/fs1/EBSapps/comn/clone/bin

perl adcfgclone.pl appsTier dualfs

[appldev@devfin ~]$ cd /u01/DEV/app/fs1/EBSapps/comn/clone/bin

[appldev@devfin bin]$ perl adcfgclone.pl appsTier dualfs

                     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

                ***********************************************************

                In AD-TXK Delta 7, we recommend you clone the run and patch

                file systems in a single operation using the 'dualfs' option.

                Separate cloning of the run and patch file systems will be deprecated

                ************************************************************

Enter the APPS password :

Enter the Weblogic AdminServer password :

Do you want to add a node (yes/no) [no] :

Running: Context clone…

Log file located at /u01/DEV/app/fs1/EBSapps/comn/clone/bin/CloneContext_1107125941.log

Target System File Edition type [run] :

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

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

Target System Database SID : DEV

Target System Database Server Node [devfin] :

Target System Database Domain Name [guobaojinrong.com] :

Target System Base Directory : /u01/DEV/app

Target System Base Directory set to /u01/DEV/app

Target System Current File System Base set to /u01/DEV/app/fs1

Target System Other File System Base set to /u01/DEV/app/fs2

Target System Fusion Middleware Home set to /u01/DEV/app/fs1/FMW_Home

Target System Web Oracle Home set to /u01/DEV/app/fs1/FMW_Home/webtier

Target System Appl TOP set to /u01/DEV/app/fs1/EBSapps/appl

Target System COMMON TOP set to /u01/DEV/app/fs1/EBSapps/comn

Target System Instance Home Directory [/u01/DEV/app] :

Target System Instance Top set to /u01/DEV/app/fs1/inst/apps/DEV_devfin

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

Target System Display [devfin:0.0] :

Target System Root Service [enabled] :

Target System Web Entry Point Services [enabled] :

Target System Web Application Services [enabled] :

Target System Batch Processing Services [enabled] :

Target System Other Services [disabled] :

Target System Port Pool [0-99] : 0

Checking the port pool 0

done: Port Pool 0 is free

Report file located at /u01/DEV/app/fs1/inst/apps/DEV_devfin/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp

2. /u01/DEV/temp

3. /u01/DEV/db/12.1.0/appsutil/outbound/DEV_devfin

4. /usr/tmp

Choose a value which will be set as APPLPTMP value on the target node [1] : 2

The new APPL_TOP context file has been created :

  /u01/DEV/app/fs1/inst/apps/DEV_devfin/appl/admin/DEV_devfin.xml

Check Clone Context logfile /u01/DEV/app/fs1/EBSapps/comn/clone/bin/CloneContext_1107125941.log for details.

Running Rapid Clone with command:

Running:

perl /u01/DEV/app/fs1/EBSapps/comn/clone/bin/adclone.pl java=/u01/DEV/app/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/u01/DEV/app/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/DEV/app/fs1/inst/apps/DEV_devfin/appl/admin/DEV_devfin.xml showProgress contextValidated=true

FMW Pre-requisite check log file location : /u01/DEV/app/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log

Running: /u01/DEV/app/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/java oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e /u01/DEV/app/fs1/inst/apps/DEV_devfin/appl/admin/DEV_devfin.xml -stage /u01/DEV/app/fs1/EBSapps/comn/clone -log /u01/DEV/app/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log

Beginning application tier Apply – Tue Nov  7 13:02:18 2017

/u01/DEV/app/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /u01/DEV/app/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/java:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/u01/DEV/app/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/u01/DEV/app/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/DEV/app/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.ApplyAppsTier -e /u01/DEV/app/fs1/inst/apps/DEV_devfin/appl/admin/DEV_devfin.xml -stage /u01/DEV/app/fs1/EBSapps/comn/clone    -showProgress -nopromptmsg

Log file located at /u01/DEV/app/fs1/inst/apps/DEV_devfin/admin/log/clone/ApplyAppsTier_11071302.log

提醒:应用克隆命令中perl adcfgclone.pl appsTier dualfs,建议加上“dualfs”,这样系统会自动将fs2节点进行克隆,否则需要单独去做fs2节点克隆。

–新安装的R12.2.6大小(总共192G)

[oraprod@ebsdb u01]$ du -sh PROD/
102G    PROD/

[applprod@ebs u01]$ du -sh PROD/
90G     PROD/

[oraprod@ebsdb ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                       47G  4.2G   41G  10% /
tmpfs                  16G  1.9M   16G   1% /dev/shm
/dev/sda1             477M   41M  411M   9% /boot
/dev/sdb1             985G  118G  817G  13% /u01
/u01/stageR12/rpmfiles/Oracle_Enterprise_Linux_64_位-file1.iso
                      3.8G  3.8G     0 100% /media

[applprod@ebs ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                       47G  4.4G   40G  10% /
tmpfs                  16G   68K   16G   1% /dev/shm
/dev/sda1             477M   35M  418M   8% /boot
/dev/sdb1             985G  110G  825G  12% /u01
/u01/stageR12/rpmfiles/Oracle_Enterprise_Linux_64_位-file1.iso
                      3.8G  3.8G     0 100% /media

 

发表评论

邮箱地址不会被公开。 必填项已用*标注