首页 > 数字化转型 > ERP > Clone EBS 11i on test47
[oracle@test47 ~]$ cd /u02
[oracle@test47 u02]$ ls
dl lost+found nohup.out oracle patch
[oracle@test47 u02]$ cd oracle
[oracle@test47 oracle]$ ls
testappl testcomn testdata testdb testora
[oracle@test47 oracle]$ mv testappl/ bestitappl
[oracle@test47 oracle]$ ls
bestitappl testcomn testdata testdb testora
[oracle@test47 oracle]$ mv testcomn/ bestitcomn
[oracle@test47 oracle]$ mv testdata/ bestitdata
[oracle@test47 oracle]$ mv testdb/ bestitdb
[oracle@test47 oracle]$ mv testora/ bestitora
[oracle@test47 oracle]$ ls
bestitappl bestitcomn bestitdata bestitdb bestitora
[oracle@test47 oracle]$ cd bestitdb
[oracle@test47 bestitdb]$ ls
9.2.0
[oracle@test47 bestitdb]$ cd 9.2.0/
[oracle@test47 9.2.0]$ cd appsutil
[oracle@test47 appsutil]$ ls
admin DEV_orapps2.xml.080610 jlib outbound template
bin driver jre perl TEST_dev.xml.080617
clone html log scripts TEST_orapps2.xml
context install media sql xml
db java out temp
[oracle@test47 appsutil]$ cd clone/
[oracle@test47 clone]$ ls
bin context data db html jlib jre
[oracle@test47 clone]$ cd bin
[oracle@test47 bin]$ ls
adcfgclone.pl adclonectx.pl CloneContext_06161145.log
adchkutl.sh adclone.pl CloneContext_06260125.log
[oracle@test47 bin]$ perl adcfgclone.pl dbTier
Enter the APPS password [APPS]:
apps
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 Database Context file.
Do you want to use a virtual hostname for the target node (y/n) [n] ?:
Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:
Target System database name [TEST]:BESTIT
Target system RDBMS ORACLE_HOME directory [/u01/oracle/testdb/9.2.0]:/u02/oracle/bestitdb/9.2.0
Target system utl_file accessible directories list [/usr/tmp, /u01/oracle/testdb/9.2.0/appsutil/outbound/TEST_orapps2]:/usr/tmp, /u02/oracle/bestitdb/9.2.0/appsutil/outbound/BESTIT_test47
Number of DATA_TOP's on the target system [1]:
Target system DATA_TOP 1 [/u01/oracle/testdata]:/u02/oracle/bestitdata
Do you want to preserve the Display set to orapps2:0.0 (y/n) [y] ?:n
Target system Display [test47:0.0]:
Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n
Clone Context uses the same port pool mechanism as the Rapid Install
Once you choose a port pool, Clone Context will validate the port availability.
Enter the port pool number [0-99]:
1
Checking the port pool 1
done: Port Pool 1 is free
Database port is 1522
Creating the new Database Context file from :
/u02/oracle/bestitdb/9.2.0/appsutil/template/adxdbctx.tmp
The new database context file has been created :
/u02/oracle/bestitdb/9.2.0/appsutil/BESTIT_test47.xml
Log file located at /u02/oracle/bestitdb/9.2.0/appsutil/clone/bin/CloneContext_08110738.log
Running Rapid Clone with command:
perl /u02/oracle/bestitdb/9.2.0/appsutil/clone/bin/adclone.pl java=/u02/oracle/bestitdb/9.2.0/appsutil/clone/bin/../jre mode=apply stage=/u02/oracle/bestitdb/9.2.0/appsutil/clone/bin/.. component=dbTier method=CUSTOM dbctxtg=/u02/oracle/bestitdb/9.2.0/appsutil/BESTIT_test47.xml showProgress contextValidated=true
Beginning database tier Apply - Mon Aug 11 19:41:01 2008
Log file located at /u02/oracle/bestitdb/9.2.0/appsutil/log/BESTIT_test47/ApplyDBTier_08110741.log
Completed Apply...
Mon Aug 11 19:47:27 2008
Beginning APPSDB_BESTIT registration to central inventory...
ORACLE_HOME NAME : APPSDB_BESTIT
ORACLE_HOME PATH : /u02/oracle/bestitdb/9.2.0
Using Inventory location in /etc/oraInst.loc
Log file located at /u01/app/oraInventory/logs/OracleHomeCloner_08110747.log
RC-00123: Warning: ORACLE_HOME APPSDB_BESTIT already exists inside the inventory
Starting database listener for BESTIT:
Running:
/u02/oracle/bestitdb/9.2.0/appsutil/scripts/BESTIT_test47/addlnctl.sh start BESTIT
You are running addlnctl.sh version 115.6
Logfile: /u02/oracle/bestitdb/9.2.0/appsutil/log/BESTIT_test47/addlnctl.txt
Starting listener process BESTIT ...
Listener BESTIT has already been started.
addlnctl.sh: exiting with status 0
[oracle@test47 bin]$ cd /u02/oracle/bestitcomn/clone
[oracle@test47 clone]$ ls
appl bin context html ias jlib jre
[oracle@test47 clone]$ cd bin
[oracle@test47 bin]$ ls
adaddnode.pl adchkutl.sh adclone.pl CloneContext_06260132.log sqlnet.log
adcfgclone.pl adclonectx.pl CloneContext_06161155.log CloneContext_07141153.log
[oracle@test47 bin]$ perl adcfgclone.pl appsTier
Enter the APPS password [APPS]:
apps
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 [TEST]:BESTIT
Target system database server node [orapps2]:test47
Target system database domain name [intminerals.com]:bestit.com
Does the target system have more than one application tier server node (y/n) [n] ?:
Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?:
Target system APPL_TOP mount point [/u01/oracle/testappl]:/u02/oracle/bestitappl
Target system COMMON_TOP directory [/u01/oracle/testcomn]:/u02/oracle/bestitcomn
Target system 8.0.6 ORACLE_HOME directory [/u01/oracle/testora/8.0.6]:/u02/oracle/bestitora/8.0.6
Target system iAS ORACLE_HOME directory [/u01/oracle/testora/iAS]:/u02/oracle/bestitora/iAS
Do you want to preserve the Display set to orapps2:2.0 (y/n) [y] ?:n
Target system Display [test47:0.0]:
Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n
Clone Context uses the same port pool mechanism as the Rapid Install
Once you choose a port pool, Clone Context will validate the port availability.
Enter the port pool number [0-99]:
1
Checking the port pool 1
done: Port Pool 1 is free
Web Listener port is 8001
Complete port information available at /u02/oracle/bestitappl/admin/out/BESTIT_test47/portpool.lst
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /usr/tmp
3. /u02/oracle/bestitdb/9.2.0/appsutil/outbound/BESTIT_test47
4. /u02/oracle/bestitdb/9.2.0/appsutil/outbound/BESTIT_test47
5. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1]:4
Creating the new APPL_TOP Context file from :
/u02/oracle/bestitappl/ad/11.5.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/u02/oracle/bestitappl/admin/BESTIT_test47.xml
Log file located at /u02/oracle/bestitcomn/clone/bin/CloneContext_08110750.log
Running Rapid Clone with command:
perl /u02/oracle/bestitcomn/clone/bin/adclone.pl java=/u02/oracle/bestitcomn/clone/bin/../jre mode=apply stage=/u02/oracle/bestitcomn/clone/bin/.. component=appsTier method=CUSTOM appctxtg=/u02/oracle/bestitappl/admin/BESTIT_test47.xml showProgress contextValidated=true
Beginning application tier Apply - Mon Aug 11 19:52:23 2008
Log file located at /u02/oracle/bestitappl/admin/BESTIT_test47/log/ApplyAppsTier_08110752.log
Completed Apply...
Mon Aug 11 20:04:56 2008
Beginning APPSIAS_BESTIT registration to central inventory...
ORACLE_HOME NAME : APPSIAS_BESTIT
ORACLE_HOME PATH : /u02/oracle/bestitora/iAS
Using Inventory location in /etc/oraInst.loc
Log file located at /u01/app/oraInventory/logs/OracleHomeCloner_08110804.log
RC-00123: Warning: ORACLE_HOME APPSIAS_BESTIT already exists inside the inventory
Starting application Services for BESTIT:
Running:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adstrtal.sh
APPS/
You are running adstrtal.sh version 115.14
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adapcctl.sh start
script returned:
****************************************************
adapcctl.sh version 115.43
Starting Apache Web Server Listener (dedicated HTTP) ...
Starting Apache Web Server Listener (dedicated PLSQL) ...
adapcctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adalnctl.sh start
script returned:
****************************************************
adalnctl.sh version
Checking for FNDFS executable.
Starting listener process APPS_BESTIT.
adalnctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adcmctl.sh start
script returned:
****************************************************
You are running adcmctl.sh version 115.20
Starting concurrent manager for BESTIT ...
Starting BESTIT_0811@BESTIT Internal Concurrent Manager
Default printer is noprint
adcmctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adfrmctl.sh start
script returned:
****************************************************
You are running adfrmctl.sh version 115.34
Starting forms server for BESTIT on port 9001.
adfrmctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adrepctl.sh start
script returned:
****************************************************
You are running adrepctl.sh version 115.29
starting Reports Server for BESTIT on port 7001.
adrepctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adfmcctl.sh start
script returned:
****************************************************
You are running adfmcctl.sh version 115.17
Starting forms load balancing client for BESTIT.
adfmcctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/adfmsctl.sh start
script returned:
****************************************************
You are running adfmsctl.sh version 115.13
starting forms metrics server for BESTIT.
adfmsctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/jtffmctl.sh start
script returned:
****************************************************
You are running jtffmctl.sh version 115.16
Validating Fulfillment patch level via /u02/oracle/bestitcomn/java
Fulfillment patch level validated.
Starting Fulfillment Server for BESTIT on port 9301 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script:
/u02/oracle/bestitcomn/admin/scripts/BESTIT_test47/addisctl.sh start
script returned:
****************************************************
addisctl.sh version 115.14
/u02/oracle/bestitora/8.0.6/vbroker/bin/osagent
Started osagent.
Osagent logs messages to the file /u02/oracle/bestitora/8.0.6/discwb4/util/osagent.log.
Waiting for OAD to start...
Started OAD.
OAD logs messages to the file /u02/oracle/bestitora/8.0.6/discwb4/util/oad.log.
Discoverer Locator Started.
Locator logs messages to the file /u02/oracle/bestitora/8.0.6/discwb4/util/locator.log.
Registering Discoverer Session
Completed registration of repository_id = IDL:DCISessionManager:1.0
object_name = test47.bestit.com_8001OracleDiscovererSession4
reference data =
path_name = /u02/oracle/bestitora/8.0.6/discwb4/util/runses.sh
activation_policy = UNSHARED_SERVER
args = (length=4)[-session; test47.bestit.com_8001OracleDiscovererSession4; -preference; test47.bestit.com_8001OracleDiscovererPreferences4; ]
env = NONE
for OAD on host 10.0.0.47
Registering the Collector
Completed registration of repository_id = IDL:DCICollector:1.0
object_name = test47.bestit.com_8001OracleDiscovererCollector4
reference data =
path_name = /u02/oracle/bestitora/8.0.6/discwb4/util/runcol.sh
activation_policy = SHARED_SERVER
args = (length=2)[-collector; test47.bestit.com_8001OracleDiscovererCollector4; ]
env = NONE
for OAD on host 10.0.0.47
Applying preferences from file : /u02/oracle/bestitora/8.0.6/discwb4/util/pref.txt
Finished applying preferences
Closing down registry..
Registry File sync...
Registering Discoverer Preference Repository
Completed registration of repository_id = IDL:DCICORBAInterface:1.0
object_name = test47.bestit.com_8001OracleDiscovererPreferences4
reference data =
path_name = /u02/oracle/bestitora/8.0.6/discwb4/util/runpref.sh
activation_policy = SHARED_SERVER
args = (length=2)[-preference; test47.bestit.com_8001OracleDiscovererPreferences4; ]
env = NONE
for OAD on host 10.0.0.47
addisctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
All enabled services for this node are started.
Check logfile /u02/oracle/bestitcomn/admin/log/BESTIT_test47/08112005.log for details
Exiting with status 0
[oracle@test47 bin]$
[@more@]Clone EBS 11i on test47
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9907339/viewspace-1048064/ ,如需转载,请注明出处,否则将追究法律责任。