1. Extract file system from backup
$ tar -xvf test.tar2. Change user and Permission to binary owner
$ Chown -R oracle:dba TEST $ chmod -R 775 TEST3. Switch to binary owner
$ su - oracle4. Run postclone for DB Tier
$ cd /u01/TEST/db/tech_st/11.1.0/appsutil/clone/bin/ $ perl adcfgclone.pl dbTier
Target System Hostname (virtual or normal) [test] : Target Instance is RAC (y/n) [n] : Target System Database SID : TEST Target System Base Directory : /u01/TEST/ Target System utl_file_dir Directory List : /u01/TEST/db/tech_st/11.1.0/appsutil Number of DATA_TOP's on the Target System [1] : Target System DATA_TOP Directory 1 [/findata/TEST/db/apps_st/data] : /u01/TEST/db/apps_st/data Target System RDBMS ORACLE_HOME Directory [/u01/TEST/db/tech_st/11.1.0] : Do you want to preserve the Display [kiawiz:0.0] (y/n) : n Target System Display [test:0.0] : Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n Target System Port Pool [0-99] : 305. After Successful of DB Clone then Run postclone for Application Tier
$ cd /u01/TEST/apps/apps_st/comn/clone/bin/ $ perl adcfgclone.pl appsTier
Target System Hostname (virtual or normal) [test] : Target System Database SID : TEST Target System Database Server Node [test] : Target System Database Domain Name [kia.lk] : Target System Base Directory : /u01/TEST/ Target System Tools ORACLE_HOME Directory [/u01/TEST/apps/tech_st/10.1.2] : Target System Web ORACLE_HOME Directory [/u01/TEST/apps/tech_st/10.1.3] : Target System APPL_TOP Directory [/u01/TEST/apps/apps_st/appl] : Target System COMMON_TOP Directory [/u01/TEST/apps/apps_st/comn] : Target System Instance Home Directory [/u01/TEST/inst] : 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] : Do you want to preserve the Display [kiawiz:0.0] (y/n) : n Target System Display [test:0.0] : Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n Target System Port Pool [0-99] : 30 Checking the port pool 30 done: Port Pool 30 is free Report file located at /u01/TEST/inst/apps/TEST_test/temp/portpool.lst Complete port information available at /u01/TEST/inst/apps/TEST_test/temp/portpool.lst UTL_FILE_DIR on database tier consists of the following directories. 1. /usr/tmp 2. /u01/TEST/db/tech_st/11.1.0/appsutil 3. /u01/TEST/db/tech_st/11.1.0/appsutil/outbound/TEST_test 4. /usr/tmp Choose a value which will be set as APPLPTMP value on the target node[1]After successful of post clone, Can access to the system.
No comments:
Post a Comment