Friday, March 5, 2021

Cloud EBS Clonning--12.2.0

 

Clonning ebs 12.2.0

 

·         Running Pre-Clone on the Source Apps Tier
·         Running Pre-Clone on the Source DB Tier
·         Copying Application Tier from Source to Target
·         Copying RDBMS Oracle Home from the Source To Target
·         Backing up to database online (with rman)
·         Copying source database backup from Source to Target
·         Configuring the ownership of the directories on the Target Servers
·         Configuring Oracle RDBMS on the Target Server
·         Duplicating/ Opening the cloned database on the Target Database Server
·         Running Post Clone in the Target Database Server
·         Running Post Clone in the Target Application Tier
·         Running Pre-Clone on the Target Apps Tier
·         Copying EBSpps directory from Run edition to patch edition (in this case fs2 to fs1) in the Target Application server
·         Running postclone on the Patch Edition of the Target Application server & fixing the errors
·         Starting our clone environment

Source      :     150.136.107.33                       db-name  :                prod

Cloning    :     150.136.141.101                     db-name  :                clone


Running Pre-Clone on the Source Apps Tier

 a)Make sure the database is in archive mode.

[oracle@inbacloud prod_inbacloud]$ pwd

/u01/oracle/prod/12.1.0/appsutil/scripts/prod_inbacloud




·         Running Pre-Clone on the Source Apps Tier





·         Backing up to database online (with rman)




·         Copying source database backup from Source to Target




·         Copying Application Tier from Source to Target: 

[applmgr@inbacloud u01]$ tar –zvcf  /u01/applmgr/EBSapps.tar.gz  EBSapps

 [applmgr@inbacloud u01]$ tar –zvcf  /u01/applmgr/EBSapps.tar.gz  EBSapps

·       Copying RDBMS Oracle Home from the Source To Target:

 [oracle@inbacloud u01]$ scp –r 12.1.0 oracle@150.136.141.101:/u01/oracle/clone/   

·         Configuring the ownership of the directories on the Target Servers 

chown -R applmgr:dba /u01/applmgr/prod/fs1

chown -R applmgr:dba /u01/applmgr/prod/fs2

chown -R oracle:dba /u01/oracle/

chown -R oracle:oinstall /u01/oracle/prod/12.1.0/dbs/rman_backup 

·         Configuring Oracle RDBMS on the Target Server 

a) Set below value




b)Run adcfgclone for configuring oracle Home.





·         Duplicating/ Opening the cloned database on the Target Database Server 

a)Keep this parameters in updated existing pfile

db_file_name_convert='/u01/oracle/prod/data','/u01/oracle/clone/data'

log_file_name_convert='/u01/oracle/prod/data','/u01/oracle/clone/data' 

b) source the env file start the database in nomount with pfile by adding the above parameters 



c)Start Duplicate



d) Now the target database is open stage





e) Connect to sqlplus using apps/source_Apps_password and run fnd conc cleanup.







f) 












Run Autoconfig on DB Tier





·         Running Post Clone in the Target Application Tier







a)      Configure application tier

[root@cloning dbs]# chown -R applmgr:oinstall /u01/applmgr/clone/fs1

[root@cloning dbs]# chown -R applmgr:oinstall /u01/applmgr/clone/fs2

[root@cloning fs1]# chmod -R 777 /u01/applmgr/clone/fs1

[root@cloning fs1]# chmod -R 777 /u01/applmgr/clone/fs2

 

b)Copy the tar taken in source to fs1 as it was taken from run file system which at source and untar it.

 tar -zxvf EBSapps.tar.gz


If your EBS version is higher then 12.2.0 then u can use dualfs 

c)Run adcfgclone for application configuration now.






























We need to start Application  services Manually






·         Running Pre-Clone on the Target Apps Tier


·   Copying EBSpps directory from Run edition to patch edition (in this case fs2 to fs1) in the Target Application server


[applmgr@cloning fs1]$ cp -R EBSapps /u01/applmgr/clone/fs2/

·         Running postclone on the Patch Edition of the Target Application server & fixing the errors














check the URL 







 


1 comment:

Aniket Ghagre said...

Well explained.. Thanks

Table import and export.

Create Data Pump Directory. The first step in Oracle Data Pump is to create an OS level directory which will be used by Oracle for perform...