Database Side:
To check the database status
[oracle@visebsdb ~]$ ps -ef | grep tns
root 23 2 0 Jul16 ? 00:00:00 [netns]
oracle 25253 1 0 Aug08 ? 00:00:11 /visdb/oracle/12.1.0/bin/tnslsnr VIS -inherit
oracle 31468 31407 0 20:37 pts/0 00:00:00 grep --color=auto tns
To change the directory for ORACLE_HOME
[oracle@visebsdb ~]$ cd /visdb/oracle/12.1.0
[oracle@visebsdb 12.1.0]$ ls
addnode cv jlib ord sqldeveloper
admin dbs jpub oui sqlj
apex dc_ocm ldap owm sqlpatch
appsutil deinstall lib p32126886_121020_Linux-x86-64.zip.filepart sqlplus
appsutilbkp demo log perl srvm
appsutilbkp.zip VIS_visebsdb.env md plsql suptools
appsutil.zip diagnostics mgw plugins sysman
appsutil.zip_bkp23mar21 dmu network precomp temp
assistants dv nls QOpatch ucp
bin has oc4j R usm
ccr hs odbc racg utl
cdata install olap rdbms wwg
cfgtoollogs instantclient OPatch relnotes xdk
clone inventory OPatch25bkp rest
crs javavm opmn root.sh
css jdbc oracore scheduler
ctx jdk oraInst.loc slax
To source the environment file
[oracle@visebsdb 12.1.0]$ . VIS_visebsdb.env
To change the directory for adpreclone.pl
[oracle@visebsdb 12.1.0]$ cd appsutil
[oracle@visebsdb appsutil]$ ls
admin conf_VIS.txt driver install log outbound sql txkSetCfgCDB.cmd
bin VIS_visebsdb.xml etcc java media perl temp txkSetCfgCDB.env
clone VIS_visebsdb.xmlBKP16 html jre out scripts template
[oracle@visebsdb appsutil]$ cd clone/
[oracle@visebsdb clone]$ ls
bin context data dbts html jlib jre oui
[oracle@visebsdb clone]$ cd ..
[oracle@visebsdb appsutil]$ cd scripts/
[oracle@visebsdb scripts]$ ls
VIS_visebsdb
[oracle@visebsdb scripts]$ cd VIS_visebsdb/
[oracle@visebsdb VIS_visebsdb]$ ls
adautocfg.sh adchknls.pl addbctl.sh addlnctl.sh adexecsql.pl adlsnodes.sh adpreclone.pl adstopdb.sql adstrtdb.sql
To execute the adpreclone.pl
[oracle@visebsdb VIS_visebsdb]$ perl adpreclone.pl dbTier
Copyright (c) 2011, 2014 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adpreclone Version 120.31.12020000.25
Enter the APPS User Password:
Verifying if Database Patch checker (ETCC) exists in /visdb/oracle/12.1.0/appsutil/etcc
Running:
perl /visdb/oracle/12.1.0/appsutil/bin/adclone.pl java=/visdb/oracle/12.1.0/appsutil/jre mode=stage stage=/visdb/oracle/12.1.0/appsutil/clone component=dbTier method=CUSTOM dbctx=/visdb/oracle/12.1.0/appsutil/VIS_visebsdb.xml showProgress
Beginning database tier Stage - Sat Aug 14 20:37:52 2021
/visdb/oracle/12.1.0/appsutil/jre/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/visdb/oracle/12.1.0/oui -classpath /visdb/oracle/12.1.0/lib/xmlparserv2.jar:/visdb/oracle/12.1.0/jdbc/lib/ojdbc6.jar:/visdb/oracle/12.1.0/appsutil/java:/visdb/oracle/12.1.0/oui/jlib/OraInstaller.jar:/visdb/oracle/12.1.0/oui/jlib/ewt3.jar:/visdb/oracle/12.1.0/oui/jlib/share.jar:/visdb/oracle/12.1.0/oui/jlib/srvm.jar:/visdb/oracle/12.1.0/jlib/ojmisc.jar oracle.apps.ad.clone.StageDBTier -e /visdb/oracle/12.1.0/appsutil/VIS_visebsdb.xml -stage /visdb/oracle/12.1.0/appsutil/clone -tmp /tmp -method CUSTOM -showProgress
APPS Password :
Log file located at /visdb/oracle/12.1.0/appsutil/log/VIS_visebsdb/StageDBTier_08142037.log
/ 50% completed
Completed Stage...
Sat Aug 14 20:38:10 2021
[oracle@visebsdb VIS_visebsdb]$
Application Side:
To check the Application Status
[applmgr@visebsapp ~]$ ps -ef | grep tns
root 23 2 0 Jul16 ? 00:00:00 [netns]
applmgr 1816 1755 0 20:38 pts/0 00:00:00 grep --color=auto tns
applmgr 4210 1 0 Aug08 ? 00:00:00 /visapp/VIS/fs2/EBSapps/10.1.2/bin/tnslsnr APPS_VIS -inherit
[applmgr@visebsapp ~]$ cd /visapp/VIS
[applmgr@visebsapp applmgr]$ ls
03241000.log 04011141.log 04042229.log 04082046.log EBSapps.env fs1 fs2 fs_ne
To source the environment file
[applmgr@visebsapp applmgr]$ . EBSapps.env
E-Business Suite Environment Information
----------------------------------------
RUN File System : /visapp/VIS/fs2/EBSapps/appl
PATCH File System : /visapp/VIS/fs1/EBSapps/appl
Non-Editioned File System : /visapp/VIS/fs_ne
DB Host: visebsdb.xyz.com Service/SID: VIS
E-Business Suite Environment Setting
------------------------------------
- Enter [R/r] for sourcing Run File System Environment file, or
- Enter [P/p] for sourcing Patch File System Environment file, or
- Enter anything else to exit
Please choose the environment file you wish to source [R/P]:R
Sourcing the RUN File System ...
To change the directory for ADMIN_SCRIPTS_HOME
[applmgr@visebsapp applmgr]$ cd $ADMIN_SCRIPTS_HOME
[applmgr@visebsapp scripts]$ ls
03292126.log adautocfg.sh adnodemgrctl.sh cz64bitengine.pl jtffmctl.sh shtiloglib.pl
05052013.log adcmctl.sh adopmnctl.sh EBSProvisioner.log msc
adadminsrvctl.sh adexecsql.pl adpreclone.pl gsmstart.sh mwactl.sh
adalnctl.sh adformsrvctl.sh adstpall.sh ieo mwactlwrpr.sh
adapcctl.sh admanagedsrvctl.sh adstrtal.sh java.sh pon64bitengine.pl
To execute the adpreclone.pl
[applmgr@visebsapp scripts]$ perl adpreclone.pl appsTier
Copyright (c) 2011, 2014 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adpreclone Version 120.31.12020000.25
Enter the APPS User Password:
Enter the Weblogic AdminServer password :
Checking the status of the Oracle WebLogic Administration Server....
Running perl /visapp/VIS/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-get-serverstatus -contextfile=/visapp/VIS/fs2/inst/apps/VIS_visebsapp/appl/admin/VIS_visebsapp.xml -servername=AdminServer -promptmsg=hide
The Oracle WebLogic Administration Server is up.
wlsDomainName: EBS_domain
WLS Domain Name is VALID.
Running:
perl /visapp/VIS/fs2/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=/visapp/VIS/fs2/EBSapps/comn/util/jdk64 mode=stage stage=/visapp/VIS/fs2/EBSapps/comn/clone component=appsTier method= appctx=/visapp/VIS/fs2/inst/apps/VIS_visebsapp/appl/admin/VIS_visebsapp.xml showProgress
Setting the wls environment
Beginning application tier Stage - Sat Aug 14 20:40:10 2021
/visapp/VIS/fs2/EBSapps/comn/util/jdk64/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompliant=false -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /visapp/VIS/fs2/FMW_Home/webtier/lib/xmlparserv2.jar:/visapp/VIS/fs2/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/visapp/VIS/fs2/EBSapps/comn/java/classes:/visapp/VIS/fs2/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/visapp/VIS/fs2/FMW_Home/webtier/oui/jlib/ewt3.jar:/visapp/VIS/fs2/FMW_Home/webtier/oui/jlib/share.jar:/visapp/VIS/fs2/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/visapp/VIS/fs2/FMW_Home/webtier/jlib/ojmisc.jar:/visapp/VIS/fs2/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/visapp/VIS/fs2/FMW_Home/oracle_common/jlib/obfuscatepassword.jar oracle.apps.ad.clone.StageAppsTier -e /visapp/VIS/fs2/inst/apps/VIS_visebsapp/appl/admin/VIS_visebsapp.xml -stage /visapp/VIS/fs2/EBSapps/comn/clone -tmp /tmp -method CUSTOM -showProgress -nopromptmsg
Log file located at /visapp/VIS/fs2/inst/apps/VIS_visebsapp/admin/log/clone/StageAppsTier_08142040.log
\ 20% completed
Completed Stage...
Sat Aug 14 20:44:50 2021
[applmgr@visebsapp scripts]$
No comments:
Post a Comment