In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
I. platform and version
1. Operating system information
[root@ebstest01 ~] # cat / etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
[root@ebstest01] # uname-a
Linux ebstest01 4.1.12-94.3.9.el7uek.x86_64 # 2 SMP Fri Jul 14 20:09:40 PDT 2017 x86 "64 GNU/Linux
2. EBS system version information
Jdk version:
[appltest@ebstest01 ~] $sh-c "`awk-F ='$1 ~ / ^ JSERVJAVA.*$/ {print $2}'$ADMIN_SCRIPTS_HOME/ java.sh`-version;"
Java version "1.7.085"
Java (TM) SE Runtime Environment (build 1.7.0_85-b15)
Java HotSpot (TM) 64-Bit Server VM (build 24.85-b06, mixed mode)
Db version:
[oratest@ebstest01 ~] $ORACLE_HOME/OPatch/opatch lsinventory-detail | grep "Patch description"
Patch description: "Database PSU 12.1.0.2.171017, Oracle JavaVM Component (OCT2017)"
Patch description: "Database Patch Set Update: 12.1.0.2.171017 (26713565)"
Apps Version:
SQL > select release_name from apps.fnd_product_groups;RELEASE_NAME
12.2.7
Apache version:
[applprod@ebstest01 bin] $cd / u02/prod/app/fs1/EBSapps/10.1.2/Apache/Apache/bin
[applprod@ebstest01 bin] $httpd-version
Server version: Oracle-Application-Server-10g/10.1.2.3.0 Oracle-HTTP-Server
Server built: Apr 22 2009 16:16:17
WebLogic version:
[applprod@ebstest01 ~] $cat / u02/prod/app/fs1/FMW_Home/logs/log.txt | grep install
Apr 23, 2018 4:55:00 PM-install "WebLogic Platform" 10.3.6.0 at / u02/prod/app/fs1/FMW_Home
| | _ Uninstall [Added] |
II. Preparation of source environment
1. Pre-cloning
Note: before performing pre-cloning, we must first determine the oraInventory directory pointed to in the / etc/oraInst.loc file in the application server and db server in the source environment, which must be correct and must be the source environment we want to clone.
[root@ebstest01 ~] # cat / etc/oraInst.loc
Inventory_loc=/u01/test/apporaInventory
Db layer preclone:
[root@ebstest01 U02] # su-oraprod
Last login: Mon Apr 23 18:26:07 CST 2018 on pts/2
[oraprod@ebstest01 ~] $cd $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
[oraprod@ebstest01 prod_ebstest01] $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.22
Enter the APPS User Password:
Verifying if Database Patch checker (ETCC) exists in / u01/prod/db/12.1.0/appsutil/etcc
Running:
Perl / u01/prod/db/12.1.0/appsutil/bin/adclone.pl java=/u01/prod/db/12.1.0/appsutil/jre mode=stage stage=/u01/prod/db/12.1.0/appsutil/clone component=dbTier method=CUSTOM dbctx=/u01/prod/db/12.1.0/appsutil/prod_ebstest01.xml showProgress
Beginning database tier Stage-Mon Apr 23 19:16:37 2018
/ u01/prod/db/12.1.0/appsutil/jre/bin/java-Xmx600M-DCONTEXT_VALIDATED=false-Doracle.installer.oui_loc=/u01/prod/db/12.1.0/oui-classpath / u01/prod/db/12.1.0/lib/xmlparserv2.jar:/u01/prod/db/12.1.0/jdbc/lib/ojdbc6.jar:/u01/prod/db/12.1.0/appsutil/java:/u01/prod/db/12.1.0/ Oui/jlib/OraInstaller.jar:/u01/prod/db/12.1.0/oui/jlib/ewt3.jar:/u01/prod/db/12.1.0/oui/jlib/share.jar:/u01/prod/db/12.1.0/oui/jlib/srvm.jar:/u01/prod/db/12.1.0/jlib/ojmisc.jar oracle.apps.ad.clone.StageDBTier-e / u01/prod/db/12.1.0/appsutil/prod_ebstest01.xml -stage / u01/prod/db/12.1.0/appsutil/clone-tmp / tmp-method CUSTOM-showProgress
APPS Password: a
Log file located at / u01/prod/db/12.1.0/appsutil/log/prod_ebstest01/StageDBTier_04231916.log
/ 50% completed
Completed Stage...
Mon Apr 23 19:16:59 2018
App layer preclone:
[applprod@ebstest01 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.22
Enter the APPS User Password:
Enter the Weblogic AdminServer password:
Checking the status of the Oracle WebLogic Administration Server....
Running perl / u02/prod/app/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-get-serverstatus-contextfile=/u02/prod/app/fs1/inst/apps/prod_ebstest01/appl/admin/prod_ebstest01.xml-servername=AdminServer-promptmsg=hide
The Oracle WebLogic Administration Server is up.
Running:
Perl / u02/prod/app/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=/u02/prod/app/fs1/EBSapps/comn/util/jdk64 mode=stage stage=/u02/prod/app/fs1/EBSapps/comn/clone component=appsTier method= appctx=/u02/prod/app/fs1/inst/apps/prod_ebstest01/appl/admin/prod_ebstest01.xml showProgress
Setting the wls environment
Beginning application tier Stage-Mon Apr 23 19:14:28 2018
/ u02/prod/app/fs1/EBSapps/comn/util/jdk64/bin/java-Xmx600M-DCONTEXT_VALIDATED=false-Doracle.installer.oui_loc=/oui-classpath / u02/prod/app/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u02/prod/app/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u02/prod/app/fs1/EBSapps/comn/java/classes:/u02/prod/app/fs1/FMW_Home/webtier/oui/jlib/OraInstaller. Jar:/u02/prod/app/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u02/prod/app/fs1/FMW_Home/webtier/oui/jlib/share.jar:/u02/prod/app/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u02/prod/app/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/u02/prod/app/fs1/FMW_Home/wlserver_10.3/ Server/lib/weblogic.jar:/u02/prod/app/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar oracle.apps.ad.clone.StageAppsTier-e / u02/prod/app/fs1/inst/apps/prod_ebstest01/appl/admin/prod_ebstest01.xml-stage / u02/prod/app/fs1/EBSapps/comn/clone-tmp / tmp-method CUSTOM-showProgress-nopromptmsg
Log file located at / u02/prod/app/fs1/inst/apps/prod_ebstest01/admin/log/clone/StageAppsTier_04231914.log
\ 20% completed
Completed Stage...
Mon Apr 23 19:19:07 2018
2. Package the files needed for cloning
In the process of file tar packaging, the ebs database and applications of source system must be stopped, otherwise it is easy to cause inconsistency of data files and lead to clone failure. It is recommended to tar the file first, and then copy it to the target server.
Apps layer files package the EBSapps directory under run fs:
[appltest@ebstest01 ~] $cd $ADMIN_SCRIPTS_HOME
[appltest@ebstest01 scripts] $. / adstpal.sh apps/apps
[appltest@ebstest01 scripts] $echo $RUN_BASE/u02/test/fs1
[appltest@ebstest01 scripts] $cd / u02/test/fs1
[appltest@ebstest01 fs1] $ls EBSapps FMW_Home inst
[appltest@ebstest01 fs1] $nohup tar-zcvf / bak/apps.tar.gz EBSapps > > tar_apps_c.log &
Packaging of db layer files
[root@ebstest01 bak] # su-oratest
Last login: Fri Apr 20 19:51:08 CST 2018 on pts/0
[oratest@ebstest01 ~] $lsnrctl stop
[oratest@ebstest01 ~] $sqlplus / as sysdba
SQL > shu immediate
SQL > quit
[oratest@ebstest01 ~] $cd / u01/test
[oratest@ebstest01 test] $nohup tar-zcvf / bak/db.tar.gz db > > tar_db_c.log &
III. Preparation of the target environment
1. Operating system requirements
Consistent with the source system.
2. Install the RPM package
Mount OS image:
[root@ebstest01 soft] # mount-o loop / u01/soft/Oracle7.4.iso / media
Mount: / dev/loop0 is write-protected, mounting read-only
Configure the yum source:
[root@ebstest01 soft] # vi / etc/yum.repos.d/local.repo
[install]
Name=install
Baseurl= file:///media
Enabled=1
Gpgcheck=0
Root users install rpm:
[root@ebstest01 soft] # yum install libXrender.i686\
Binutils.x86_64\
Compat-libstdc++-296.i686\
Compat-libstdc++-33.i686\
Gcc.x86_64\
Gcc-c++.x86_64\
Glibc.i686\
Glibc.x86_64\
Glibc-common.x86_64\
Glibc-devel.i686\
Glibc-devel.x86_64\
Libgcc.i686\
Libgcc.x86_64\
Libstdc++-devel.i686\
Libstdc++-devel.x86_64\
Libstdc++.i686\
Libstdc++.x86_64\
LibXi.i686\
LibXp.i686\
LibXp.x86_64\
Libaio.i686\
Libaio.x86_64\
Libgomp.x86_64\
Make.x86_64\
Gdbm.i686\
Gdbm.x86_64\
Redhat-lsb.x86_64\
Sysstat.x86_64\
Util-linux-ng.x86_64\
Compat-libcap1.x86_64\
Compat-libstdc++-33.x86_64\
Elfutils-libelf-devel.x86_64\
Libaio-devel.i686\
Libaio-devel.x86_64\
UnixODBC.i686\
UnixODBC-devel.i686\
Xorg-x11-utils.x86_64\
Xorg-x11-server-Xorg.x86_64\
Ksh\
LibICE.i686\
LibSM.i686\
LibXt.i686
Install RPMS from Oracle, download address https://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/
[root@ebstest01 soft] # rpm-Uvh openmotif21-2.1.30-11.el7.i686.rpm
[root@ebstest01 soft] # rpm-Uvh xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
[root@ebstest01 soft] # ln-s / usr/X11R6/lib/libXtst.so.6.1 / usr/lib/libXtst.so.6
[root@ebstest01 soft] # ls-l / usr/lib/libXtst.so.6
After installing the rpm package, run the following command:
[root@ebstest01 soft] # ldconfig-v
3. Set OS parameters
[root@ebstest01 ~] # vi / etc/sysctl.conf
Fs.aio-max-nr = 1048576
Fs.file-max = 6815744
Kernel.shmall = 20971520
Kernel.shmmax = 34359738367 # memory bytes-1
Kernel.shmmni = 4096
Kernel.msgmni=2878
Kernel.sem = 256 32000 100 142
Net.ipv4.ip_local_port_range = 10000 65500
Net.core.rmem_default = 262144
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 1048586
[root@ebstest01] # sysctl-p
Modify kernel limits:
[root@ebstest01 ~] # vi / etc/security/limits.conf
@ dba hard nofile 65536
@ dba soft nofile 16394
@ dba hard nproc 16384
@ dba soft nproc 8094
@ dba hard stack 16384
@ dba soft stack 10240
4. Modify the host name
[root@ebstest01 ~] # hostnamectl set-hostname ebstest01
[root@ebstest01 ~] # cat / etc/hostname
[root@ebstest01 ~] # vi / etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.18.11.28 ebstest01.danke.life ebstest01
5. Selinux and Firewall
[root@ebstest01 ~] # vi / etc/selinux/config
SELINUX=disable
[root@ebstest01 ~] # systemctl list-unit-files | grep firewall
Firewalld.service enabled
[root@ebstest01 ~] # systemctl stop firewalld.service
[root@ebstest01 ~] # systemctl disable firewalld.service
6. Port 6000 needs to be used for OPMN service during Rapid Install. Use the following command to confirm that the port is not occupied (no return value is available):
[root@ebstest01 ~] # netstat-a | grep 6000
[root@ebstest01 ~] #
7. Users and directories
Db:
[root@ebstest01 ~] # groupadd dba
[root@ebstest01 ~] # useradd-g dba oraprod
[root@ebstest01] # mkdir-p / u01/prod/oraInventory/
[root@ebstest01] # mkdir-p / u01/prod/temp
[root@ebstest01 ~] # cd / U01
[root@ebstest01] # chown-R oraprod:dba prod/
[root@ebstest01] # chmod-R 775 prod/
[root@ebstest01 ~] # chmod 777 / u01/prod/temp
[root@ebstest01 ~] # vi / etc/oraInst.loc
Inventory_loc=/u01/prod/oraInventory
Inst_group=dba
Apps:
[root@ebstest01 ~] # useradd-g dba applprod
[root@ebstest01] # mkdir-p / u02/prod/oraInventory/
[root@ebstest01] # mkdir-p / u02/prod/app/fs1
[root@ebstest01] # mkdir-p / u02/prod/temp
[root@ebstest01 ~] # cd / U02
[root@ebstest01] # chown-R applprod:dba prod/
[root@ebstest01] # chmod-R 775 prod/
[root@ebstest01 ~] # chmod 777 / u02/prod/temp
IV. Clone operation
The concept of port pools in EBS is that each port pool corresponds to a set of ports for databases and applications. For example, when the port pool is selected as 0, the database listening port is 1521 and the application access port is 8000. If the port pool increases by 1, the ports of databases and applications also increase accordingly.
In EBS R12.2, the application layer contains fs1 and fs2 dual file systems. When cloning, first use the files in the tar package to clone the run fs, and then clone the patch fs from the cloned run fs. Run fs uses the same port pool as the database. 1 dint patch fs uses port pool 2. The cloning process of App is shown below:
1. Decompression
Db:
[root@ebstest01 bak] # nohup tar-xzvf db.tar.gz-C / u01/prod/ > > tar_db_x.log &
Apps:
[root@ebstest01 bak] # nohup tar-xzvf apps.tar.gz-C / u01/prod/app/fs1 > > tar_apps_x.log &
2. Modify directory belonging to groups and permissions
Db:
[root@ebstest01 ~] # cd / U01
[root@ebstest01 U01] # chown-R oraprod:dba prod
Apps:
[root@ebstest01 u02] # cd / u02
[root@ebstest01 U02] # chown-R applprod:dba prod
3. Db layer cloning
[oraprod@ebstest01 bin] $cd / u01/prod/db/12.1.0/appsutil/clone/bin/
[oraprod@ebstest01 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.60
Enter the APPS password:
Running: Context clone...
Log file located at / u01/prod/db/12.1.0/appsutil/clone/bin/CloneContext_0423160225.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [ebstest01]:
Target Instance is RAC (yPay) [n]: n
Target System Database SID: prod
Target System Base Directory: / u01/prod/db
Role separation is supported y/n [n]?:
Target System utl_file_dir Directory List: / u01/prod/temp
Number of DATA_TOP's on the Target System [1]:
Target System DATA_TOP Directory 1 [/ u01/prod/db/data]: / u01/prod/db/data
Target System RDBMS ORACLE_HOME Directory [/ u01/prod/db/12.1.0]:
Do you want to preserve the Display [ebstest01:0.0] (yPao): n
Target System Display [ebstest01:0.0]: ebstest01: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/prod/db/12.1.0/appsutil/temp/portpool.lst
The new database context file has been created:
/ u01/prod/db/12.1.0/appsutil/prod_ebstest01.xml
Check CloneContext logfile / u01/prod/db/12.1.0/appsutil/clone/bin/CloneContext_0423160225.log for details.
Running Rapid Clone with command:
Running:
Perl / u01/prod/db/12.1.0/appsutil/clone/bin/adclone.pl java=/u01/prod/db/12.1.0/appsutil/clone/bin/../jre mode=apply stage=/u01/prod/db/12.1.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/prod/db/12.1.0/appsutil/prod_ebstest01.xml showProgress contextValidated=true
Beginning database tier Apply-Mon Apr 23 16:08:10 2018
/ u01/prod/db/12.1.0/appsutil/clone/bin/../jre/bin/java-Xmx600M-DCONTEXT_VALIDATED=true-Doracle.installer.oui_loc=/u01/prod/db/12.1.0/oui-classpath / u01/prod/db/12.1.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/prod/db/12.1.0/appsutil/clone/jlib/ojdbc6.jar:/u01/prod/db/12.1.0/appsutil/clone/ Jlib/java:/u01/prod/db/12.1.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/prod/db/12.1.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/prod/db/12.1.0/appsutil/clone/jlib/oui/share.jar:/u01/prod/db/12.1.0/appsutil/clone/jlib/oui/srvm.jar:/u01/prod/db/12.1.0/appsutil/clone / jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier-e / u01/prod/db/12.1.0/appsutil/prod_ebstest01.xml-stage / u01/prod/db/12.1.0/appsutil/clone-showProgress
APPS Password: Log file located at / u01/prod/db/12.1.0/appsutil/log/prod_ebstest01/ApplyDBTier_04231608.log
\ 15% completed
Completed Apply...
Mon Apr 23 16:12:47 2018
Starting database listener for prod:
Running:
/ u01/prod/db/12.1.0/appsutil/scripts/prod_ebstest01/addlnctl.sh start prod
Logfile: / u01/prod/db/12.1.0/appsutil/log/prod_ebstest01/addlnctl.txt
You are running addlnctl.sh version 120.4
Starting listener process prod...
Listener prod has already been started.
Addlnctl.sh: exiting with status 0
Addlnctl.sh: check the logfile / u01/prod/db/12.1.0/appsutil/log/prod_ebstest01/addlnctl.txt for more information...
Do you want to change the password for all EBS Schemas? (yPo) [n]): n
Do you want to change the password for sysadmin user? (yPo) [n]): n
Do you want to change the apps password? (yPo) [n]): n
Do you want to change the sys and system passwords? (yPo) [n]): n
Running ETCC to check status of DB technology patches...
+ = +
| Copyright (c) 2005, 2017 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/prod/db/12.1.0/appsutil/prod_ebstest01.xml
Starting Database EBS Technology Codelevel Checker, Version 120.55
Mon Apr 23 16:13:53 CST 2018
Log file for this session: / u01/prod/db/12.1.0/appsutil/etcc/checkDBpatch_2456.log
Bugfix XML file version: 120.0.12020000.39
This file will be used for identifying missing bugfixes.
Mapping XML file version: 120.0.12020000.12
This file will be used for mapping bugfixes to patches.
[WARNING] DB-ETCC: Bugfix XML file (/ u01/prod/db/12.1.0/appsutil/etcc/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 prod 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.11.
DB-ETCC is compatible with this opatch version.
Found patch records in the inventory.
Checking Mapping XML file for 12.1.0.2.171017
All the required one-off bugfixes are present in Database ORACLE_HOME.
Stored Technology Codelevel Checker results in the database prod successfully.
Finished checking fixes for Oracle Database: Mon Apr 23 16:14:02 CST 2018
Log file for this session: / u01/prod/db/12.1.0/appsutil/etcc/checkDBpatch_2456.log
=
Add environment variables:
# add the following lines
. / u01/test/db/12.1.0/test_ebstest01.env
Export NLS_DATE_FORMAT= "yyyy-mm-dd hh34:mi:ss"
Export PATH=$ORACLE_HOME/bin:$PATH:$ORACLE_HOME/OPatch
Export LANG=C
Export PATH=$ORACLE_HOME/bin:$PATH:/usr/local/bin/:.
Modify the parameter file (take effect after restarting db):
[oraprod@ebstest01 ~] $vi $ORACLE_HOME/dbs/initprod.ora
Processe = 2000
Sessions = 4000
Sga_target = 20g
Shared_pool_size = 2000m
Shared_pool_reserved_size = 200m
Pga_aggregate_target=12G
Utl_file_dir = / u01Uniqqtemp _ pr _ r _ r
4. App layer cloning
Apps
[applprod@ebstest01 bin] $cd / u02/prod/app/fs1/EBSapps/comn/clone/bin
[applprod@ebstest01 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.60
Enter the APPS password:
Enter the Weblogic AdminServer password:
Do you want to add a node (yes/no) [no]: no
Running: Context clone...
Log file located at / u02/prod/app/fs1/EBSapps/comn/clone/bin/CloneContext_0423164939.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [ebstest01]:
Target System Database SID: prod
Target System Database Server Node [ebstest01]:
Target System Database Domain Name [danke.life]:
Target System Base Directory: / u02/prod/app
Target System Base Directory set to / u02/prod/app
Target System Current File System Base set to / u02/prod/app/fs1
Target System Other File System Base set to / u02/prod/app/fs2
Target System Fusion Middleware Home set to / u02/prod/app/fs1/FMW_Home
Target System Other File System Fusion Middleware Home set to / u02/prod/app/fs2/FMW_Home
Target System Web Oracle Home set to / u02/prod/app/fs1/FMW_Home/webtier
Target System Other File System Web Oracle Home set to / u02/prod/app/fs2/FMW_Home/webtier
Target System Appl TOP set to / u02/prod/app/fs1/EBSapps/appl
Target System Other File System Appl TOP set to / u02/prod/app/fs2/EBSapps/appl
Target System COMMON TOP set to / u02/prod/app/fs1/EBSapps/comn
Target System Other File System COMMON TOP set to / u02/prod/app/fs2/EBSapps/comn
Target System Instance Home Directory [/ u02/prod/app]:
Target System Current File System Instance Top set to / u02/prod/app/fs1/inst/apps/prod_ebstest01
Do you want to preserve the Display [ebstest01:0.0] (yPao): n
Target System Display [ebstest01:0.0]: ebstest01: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]: 10
Checking the port pool 10
Done: Port Pool 10 is free
Report file located at / u02/prod/app/fs1/inst/apps/prod_ebstest01/admin/out/portpool.lst
RC-40201: Unable to connect to Database prod.
Enter the Database listener port [1531]: 1521
UTL_FILE_DIR on database tier consists of the following directories.
1. / usr/tmp
2. / u01/prod/temp
3. / u01/prod/db/12.1.0/appsutil/outbound/prod_ebstest01
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:
/ u02/prod/app/fs1/inst/apps/prod_ebstest01/appl/admin/prod_ebstest01.xml
Check CloneContext logfile / u02/prod/app/fs1/EBSapps/comn/clone/bin/CloneContext_0423164939.log for details.
Creating Patch file system context file.
Log file located at / u02/prod/app/fs1/EBSapps/comn/clone/bin/CloneContextPatch_0423165228.log
Target System Other File System Instance Top set to / u02/prod/app/fs2/inst/apps/prod_ebstest01
Target System Port Pool [0-99]: 20
Checking the port pool 20
Done: Port Pool 20 is free
Report file located at / u02/prod/app/fs2/inst/apps/prod_ebstest01/admin/out/portpool.lst
The new APPL_TOP context file has been created:
/ u02/prod/app/fs2/inst/apps/prod_ebstest01/appl/admin/prod_ebstest01.xml
Check CloneContext logfile / u02/prod/app/fs1/EBSapps/comn/clone/bin/CloneContextPatch_0423165228.log for details.
FMW Pre-requisite check log file location: / u02/prod/app/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log
Running: FMW pre-req check...
Configuring: Run file system....
LogFile located at / u02/prod/app/fs1/inst/apps/prod_ebstest01/admin/log/clone/run/RCloneApplyAppstier_04231653.log
Configuring: Patch file system....
LogFile located at / u02/prod/app/fs1/inst/apps/prod_ebstest01/admin/log/clone/patch/RCloneApplyAppstier_04231718.log
Do you want to startup the Application Services for prod? (YBO) [n]: n
Services not started
Add environment variables:
[applprod@ebstest01 ~] $vi .bash _ profile
# add the following lines
. / u02/prod/app/EBSapps.env run
Export NLS_DATE_FORMAT= "yyyy-mm-dd hh34:mi:ss"
Export PATH=$ORACLE_HOME/bin:$PATH:$ORACLE_HOME/OPatch
Export LANG=C
Export PATH=$ORACLE_HOME/bin:$PATH:/usr/local/bin/:.
[applprod@ebstest01] $. .bash _ profile
5. Post-clone tasks
Db start and stop script:
[oraprod@ebstest01 ~] $vi startDB.sh
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addlnctl.sh start $ORACLE_SID
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addbctl.sh start
[oraprod@ebstest01 ~] $vi stopDB.sh
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addbctl.sh stop immediate
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/addlnctl.sh stop $ORACLE_SID
[oraprod@ebstest01 ~] $chmod 744 st*.sh
Apps start and stop script:
[applprod@ebstest01 ~] $vi startApp.sh
$INST_TOP/admin/scripts/adstrtal.sh apps/password
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.