close
$ perl adcfgclone.pl appsTier
Enter the APPS password [APPS]:
XXXXX
First Creating a new context file for the cloned system.
The program is going to ask you for information about the new system:
Provide the values required for creation of the new APPL_TOP Context file.
Do you want to use a virtual hostname for the target node (y/n) [n] ?:n
Target system database SID [PROD]:
Username for the applications file system owner [prodmgr]:testmgr
Target system database server node [f511]:fudr
Target system database domain name [ccc.com.tw]:
Does the target system have more than one application tier server node (y/n) [y] ?:n
Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?:n
Target system APPL_TOP mount point [/erpap/prodappl]:/erpdr/AP/testappl
Target system COMMON_TOP directory [/erpap/prodcomn]:/erpdr/AP/testcomn
Target system 8.0.6 ORACLE_HOME directory [/erpap/prodora/8.0.6]:/erpdr/AP/testora/8.0.6
Target system iAS ORACLE_HOME directory [/erpap/prodora/iAS]:/erpdr/AP/testora/iAS
Do you want to preserve the Display set to f511:1.0 (y/n) [y] ?:n
Target system Display [fudr:0.0]:
Location of the JDK on the target system [/usr/jdk/instances/jdk1.6.0]:
Target system JRE_TOP [/usr/jdk/instances/jdk1.6.0]:
Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:
Complete port information available at /erpdr/AP/testappl/admin/out/PROD_fudr/portpool.lst
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /usr/tmp/prod
3. /erpdr/DB/product/11.2.0/appsutil/outbound/PROD_f511
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1]:
Creating the new APPL_TOP Context file from :
/erpdr/AP/testappl/ad/11.5.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/erpdr/AP/testappl/admin/PROD_fudr.xml
Log file located at /tmp/CloneContext_0617042722.log
這裡有提示執行的command及帶入的參數
Running Rapid Clone with command:
perl /erpdr/AP/testcomn/clone/bin/adclone.pl java=/erpdr/AP/testcomn/clone/bin/../jre/jre mode=apply
stage=/erpdr/AP/testcomn/clone/bin/.. component=appsTier method=CUSTOM
appctxtg=/erpdr/AP/testappl/admin/PROD_fudr.xml showProgress contextValidated=true
The 806 installer uses the oratab file.
The file oratab needs to exist at: /var/opt/oracle/oratab
Rapid Clone will use the oraInst.loc file.
The file oraInst.loc needs to exist at: /erpdr/AP/testora/iAS
Creating the oraInst.loc in the ORACLE HOME now...
Please run the script /tmp/orainstRoot.sh as root
Restart adclone.pl after performing required corrections.
ERROR: Failed to execute /erpdr/AP/testcomn/clone/bin/adclone.pl
這個錯誤已經有提示了:Please run the script /tmp/orainstRoot.sh as root
用root登入後,再去執行 /tmp/orainstRoot.sh
重新執行上面有錯誤的腳本adclone.pl,注意手動執行這個腳本不會有進度百分比的出現,直接監控log
$ perl /erpdr/AP/testcomn/clone/bin/adclone.pl java=/erpdr/AP/testcomn/clone/bin/../jre/jre \
mode=apply stage=/erpdr/AP/testcomn/clone/bin/.. component=appsTier method=CUSTOM \
appctxtg=/erpdr/AP/testappl/admin/PROD_fudr.xml
Beginning application tier Apply - Tue Jun 17 16:34:24 2014
APPS Password : dorp02apps47
Log file located at /erpdr/AP/testappl/admin/PROD_fudr/log/ApplyAppsTier_06171634.log
成功完成後,開啟AP就完成了
全站熱搜
留言列表