cp -R /u01/oratest/testdata /u02/oraprod/proddata
cp -R /u01/oratest/testdb /u02/oraprod/proddb
/dev/fslv01 135.00 93.40 31% 339864 2% /u02
-- one ---
zip2.3
cp /unix/Makefile
make
cp zip /clone/bin
chown -R oraprod:dba /u02/oraprod
-- two ---
/u02/oraprod/proddb/9.2.0/appsutil/clone/jre
cd /proddb/9.2.0/appsutil/clone/jre
mv lib lib.old
mv bin bin.old
ln -s /usr/java14/jre/bin bin
ln -s /usr/java14/jre/lib lib
-- three ---
/u02/oraprod/proddb/9.2.0/appsutil/clone/jre/jre
cd ./proddb/9.2.0/appsutil/clone/jre/jre
mv bin bin.old
mv lib lib.old
ln -s /usr/java14/jre/bin bin
ln -s /usr/java14/jre/lib lib
---------------------------------------------------------------------------
df -g
note :304037.1
806_home/vbroker/adm/imp1_dir
Database Connection on Port 1530: Successful
RC-50004: Error occurred in CloneContext:
ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
Check logfile /tmp//CloneContext_03150355.log for details.
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_1274064.err file for errors
nohup zcat /u01/appltest/testappl.tar.Z |tar xvf - &
nohup zcat /u01/appltest/testcomn.tar.Z |tar xvf - &
nohup zcat /u01/appltest/testora.tar.Z |tar xvf - &
copy /u02/applprod/prodappl/fnd/11.5.0/java/3rdparty/stdalone/jdbc12.zip
jdbc12.zip 替换/u02/applprod/prodcomn/clone/jlib/classes12.zip
$ perl adcfgclone.pl appsTier
Enter the APPS password [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]:PROD
Target system database server node [fintest]:
Target system database domain name [jilin.com]:
Does the target system have more than one application tier server node (y/n) [n] ?:y
Does the target system application tier utilize multiple domain names (y/n) [n] ?:n
Target system concurrent processing node [fintest]:
Target system administration node [fintest]:
Target system forms server node [fintest]:
Target system web server node [fintest]:
Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?:
Target system APPL_TOP mount point [/u01/appltest/testappl]:/u02/applprod/prodappl
Target system COMMON_TOP directory [/u01/appltest/testcomn]:/u02/applprod/prodcomn
Target system 8.0.6 ORACLE_HOME directory [/u01/appltest/testora/8.0.6]:/u02/applprod/prodora/8.0.6
Target system iAS ORACLE_HOME directory [/u01/appltest/testora/iAS]:/u02/applprod/prodora/iAS
Do you want to preserve the Display set to fintest (y/n) [y] ?:y
Location of the JDK on the target system [/usr/java14]:
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]:
9
Checking the port pool 9
done: Port Pool 9 is free
Complete port information available at /u02/applprod/prodappl/admin/out/PROD_fintest/portpool.lst
Verifying Database Connection...
Database Connection on Port 1530: Successful
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /usr/tmp
3. /u02/oraprod/proddb/9.2.0/appsutil/outbound/PROD_fintest
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 :
/u01/appltest/testappl/ad/11.5.0/admin/template/adxmlctx.tmp
The new APPL_TOP context file has been created :
/u02/applprod/prodappl/admin/PROD_fintest.xml
Log file located at /tmp/CloneContext_03190226.log
Running Rapid Clone with command:
perl /u02/applprod/prodcomn/clone/bin/adclone.pl java=/u02/applprod/prodcomn/clone/bin/../jre/jre mode=apply stage=/u02/applprod/prodcomn/clone/bin/.. component=appsTier method=CUSTOM appctxtg=/u02/applprod/prodappl/admin/PROD_fintest.xml showProgress contextValidated=true
Beginning application tier Apply - Wed Mar 19 14:29:24 2008
Log file located at /u02/applprod/prodappl/admin/PROD_fintest/log/ApplyAppsTier_03190229.log
Completed Apply...
Wed Mar 19 14:38:42 2008
Beginning APPSIAS_PROD registration to central inventory...
ORACLE_HOME NAME : APPSIAS_PROD
ORACLE_HOME PATH : /u02/applprod/prodora/iAS
Using Inventory location in /etc/oraInst.loc
Log file located at /etc/oraInventory/logs/OracleHomeCloner_03190238.log
RC-00123: Warning: ORACLE_HOME APPSIAS_PROD already exists inside the inventory
Starting application Services for PROD:
Running:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/adstrtal.sh APPS/
You are running adstrtal.sh version 115.16
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/adapcctl.sh start
script. returned:
****************************************************
adapcctl.sh version 115.47
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/applprod/prodcomn/admin/scripts/PROD_fintest/adalnctl.sh start
script. returned:
****************************************************
adalnctl.sh version
Checking for FNDFS executable.
Starting listener process APPS_PROD.
adalnctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/adcmctl.sh start
script. returned:
****************************************************
You are running adcmctl.sh version 115.24
Starting concurrent manager for PROD ...
Starting PROD_0319@PROD Internal Concurrent Manager
Default printer is noprint
adcmctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/adfrmctl.sh start
script. returned:
****************************************************
You are running adfrmctl.sh version 115.37
Starting forms server for PROD on port 9009.
adfrmctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/adrepctl.sh start
script. returned:
****************************************************
You are running adrepctl.sh version 115.31
starting Reports Server for PROD on port 7009.
adrepctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/adfmcctl.sh start
script. returned:
****************************************************
You are running adfmcctl.sh version 115.19
Starting forms load balancing client for PROD.
adfmcctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/adfmsctl.sh start
script. returned:
****************************************************
You are running adfmsctl.sh version 115.15
starting forms metrics server for PROD.
adfmsctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/jtffmctl.sh start
script. returned:
****************************************************
You are running jtffmctl.sh version 115.16
Validating Fulfillment patch level via /u02/applprod/prodcomn/java
Fulfillment patch level validated.
Starting Fulfillment Server for PROD on port 9309 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
Executing service control script.:
/u02/applprod/prodcomn/admin/scripts/PROD_fintest/addisctl.sh start
script. returned:
****************************************************
addisctl.sh version 115.14
/u02/applprod/prodora/8.0.6/vbroker/bin/osagent
Started osagent.
Osagent logs messages to the file /u02/applprod/prodora/8.0.6/discwb4/util/osagent.log.
Waiting for OAD to start...
Started OAD.
OAD logs messages to the file /u02/applprod/prodora/8.0.6/discwb4/util/oad.log.
Discoverer Locator Started.
Locator logs messages to the file /u02/applprod/prodora/8.0.6/discwb4/util/locator.log.
Registering Discoverer Session
Completed registration of repository_id = IDL:DCISessionManager:1.0
object_name = fintest.jilin.com_8009OracleDiscovererSession4
reference data =
path_name = /u02/applprod/prodora/8.0.6/discwb4/util/runses.sh
activation_policy = UNSHARED_SERVER
args = (length=4)[-session; fintest.jilin.com_8009OracleDiscovererSession4; -preference; fintest.jilin.com_8009OracleDiscovererPreferences4; ]
env = NONE
for OAD on host 10.172.33.81
Registering the Collector
Completed registration of repository_id = IDL:DCICollector:1.0
object_name = fintest.jilin.com_8009OracleDiscovererCollector4
reference data =
path_name = /u02/applprod/prodora/8.0.6/discwb4/util/runcol.sh
activation_policy = SHARED_SERVER
args = (length=2)[-collector; fintest.jilin.com_8009OracleDiscovererCollector4; ]
env = NONE
for OAD on host 10.172.33.81
Applying preferences from file : /u02/applprod/prodora/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 = fintest.jilin.com_8009OracleDiscovererPreferences4
reference data =
path_name = /u02/applprod/prodora/8.0.6/discwb4/util/runpref.sh
activation_policy = SHARED_SERVER
args = (length=2)[-preference; fintest.jilin.com_8009OracleDiscovererPreferences4; ]
env = NONE
for OAD on host 10.172.33.81
addisctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
All enabled services for this node are started.
Check logfile /u02/applprod/prodcomn/admin/log/PROD_fintest/03191441.log for details
Exiting with status 0
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/46907/viewspace-219105/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/46907/viewspace-219105/