MULLTI-NODE CLONING R12
Means Application and Batch processing in different -different Node. and database on different node.
NOTE: Independent apps ,concurrent server both start and stop independently server.
On VM limited resource on your PC then follow cloning.
Multi node clonning Shared APPLICATION.
Multi Machine-
DB
hostname oracle.com
ip: 192.168.0.20
hostfile entry: 192.168.0.20 oracle.com oracle
VM NAME: R12
APPS
hostname linux.com
ip: 192.168.0.21
hostfile entry: 192.168.0.21 linux.com linux
VM NAME: AppsNode
1. After that you have plan the cloning multi node middle tier i.e
CM and OPMN service is same on DB node
APPS is another node i.e AppsNode
It's multi node system.
2. DB and APPS on running state on
run adpreclone.sh on application tier.
3. after completeing stop application and db
./adstpall.sh apps/apps - APPS
./addlnctl.sh stop PROD - DB Listener
./addbctl.sh stop - DB
After That both Node host file entry is
hostfile entry: 192.168.0.20 oracle.com oracle
hostfile entry: 192.168.0.21 linux.com oracle
communicate both machine ping with host name like :
ping oracle
ping linux
7. Start both machine
Check NFS mount point accessible
8. Start db on VM Node R12
9. perl adcfgclone.pl appsTier on Node R12
------------------------------
Purpose:-running batch processing and opmn service on db side user available and both apps and inst exist else scp source to target node in my case AppsNode To R12.
-bash-3.2$ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.20.12000000.11
Enter the APPS password :
Running:/u01/oracle/PROD/apps/apps_st/
Log file located at /u01/oracle/PROD/apps/apps_st/
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [oracle] :
Target System Database SID : PROD
Target System Database Server Node [oracle] :
Target System Base Directory : /u01/oracle/PROD
Target System Forms ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_
Target System Web ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_
Target System APPL_TOP Mountpoint [/u01/oracle/PROD/apps/apps_
Target System COMMON_TOP Directory [/u01/oracle/PROD/apps/apps_
Target System Instance Home Directory [/u01/oracle/PROD/inst] :
Target System Root Service [enabled] :
Target System Web Entry Point Services [enabled] : disabled
Target System Web Application Services [enabled] : disabled
Target System Batch Processing Services [enabled] :
Target System Other Services [disabled] :
Do you want to preserve the Display [linux:0.0] (y/n) ? : n
Target System Display [oracle: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] : 0
Checking the port pool 0
done: Port Pool 0 is freeReport file located at /u01/oracle/PROD/inst/apps/
Complete port information available at /u01/oracle/PROD/inst/apps/
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /usr/tmp
3. /u01/oracle/PROD/db/tech_st/
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/oracle/PROD/apps/apps_st/
The new APPL_TOP context file has been created : /u01/oracle/PROD/inst/apps/
Log file located at /u01/oracle/PROD/apps/apps_st/
Check Clone Context logfile /u01/oracle/PROD/apps/apps_st/
Running Rapid Clone with command:perl /u01/oracle/PROD/apps/apps_st/
Running:
perl /u01/oracle/PROD/apps/apps_st/
APPS Password :
Beginning application tier Apply - Tue Nov 4 15:40:44 2014
/u01/oracle/PROD/apps/apps_st/
APPS Password : Log file located at /u01/oracle/PROD/inst/apps/
\ 73% completed
Completed Apply...
Tue Nov 4 15:53:17 2014
Starting application Services for PROD:
Running:/u01/oracle/PROD/inst/apps/
You are running adstrtal.sh version 120.13.12000000.3
Executing service control script:/u01/oracle/PROD/inst/apps/
script returned:
******************************
You are running adopmnctl.sh version 120.4.12000000.3
Starting Oracle Process Manager (OPMN) ...
adopmnctl.sh: exiting with status 0
adopmnctl.sh: check the logfile /u01/oracle/PROD/inst/apps/
.end std out.
.end err out.
******************************
Executing service control script:/u01/oracle/PROD/inst/apps/
script returned:
******************************
adalnctl.sh version 120.3
Checking for FNDFS executable.
Starting listener process APPS_PROD.
adalnctl.sh: exiting with status 0
adalnctl.sh: check the logfile /u01/oracle/PROD/inst/apps/
.end std out.
.end err out.
******************************
Executing service control script:/u01/oracle/PROD/inst/apps/
script returned:
******************************
You are running adcmctl.sh version 120.14
Starting concurrent manager for PROD ...
Starting PROD_1104@PROD Internal Concurrent Manager
Default printer is noprint
adcmctl.sh: exiting with status 0
adcmctl.sh: check the logfile /u01/oracle/PROD/inst/apps/
.end std out.
.end err out.
******************************
Executing service control script:/u01/oracle/PROD/inst/apps/
script returned:
******************************
You are running jtffmctl.sh version 120.3
Validating Fulfillment patch level via /u01/oracle/PROD/apps/apps_st/
Fulfillment patch level validated.
Starting Fulfillment Server for PROD on port 9300 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
******************************
All enabled services for this node are started.
adstrtal.sh: Exiting with status 0
adstrtal.sh: check the logfile /u01/oracle/PROD/inst/apps/
------------------------------
10. perl adcfgclone.pl appsTier on AppsNode
-bash-3.2$ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.20.12000000.11
Enter the APPS password :
Running:/u01/oracle/PROD/apps/apps_st/
Log file located at /u01/oracle/PROD/apps/apps_st/
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [linux] :
Target System Database SID : PROD
Target System Database Server Node [linux] : oracle
Target System Base Directory : /u01/oracle/PROD
Target System Forms ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_
Target System Web ORACLE_HOME Directory [/u01/oracle/PROD/apps/tech_
Target System APPL_TOP Mountpoint [/u01/oracle/PROD/apps/apps_
Target System COMMON_TOP Directory [/u01/oracle/PROD/apps/apps_
Target System Instance Home Directory [/u01/oracle/PROD/inst] :
Target System Root Service [enabled] : disabled
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] : disabled
Target System Other Services [disabled] : enabled
Do you want to preserve the Display [linux:0.0] (y/n) ? : n
Target System Display [linux: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/oracle/PROD/inst/apps/
Complete port information available at /u01/oracle/PROD/inst/apps/
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /usr/tmp
3. /u01/oracle/PROD/db/tech_st/
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/oracle/PROD/apps/apps_st/
The new APPL_TOP context file has been created :
/u01/oracle/PROD/inst/apps/
Log file located at /u01/oracle/PROD/apps/apps_st/
Check Clone Context logfile /u01/oracle/PROD/apps/apps_st/
Running Rapid Clone with command:
perl /u01/oracle/PROD/apps/apps_st/
Running:
perl /u01/oracle/PROD/apps/apps_st/
APPS Password :
Beginning application tier Apply - Tue Nov 4 16:09:31 2014
/u01/oracle/PROD/apps/apps_st/
- 89% completed
Completed Apply...
Tue Nov 4 16:28:01 2014
Starting application Services for PROD:
Running:
/u01/oracle/PROD/inst/apps/
You are running adstrtal.sh version 120.13.12000000.3
Executing service control script:/u01/oracle/PROD/inst/apps/
script returned:
******************************
You are running adapcctl.sh version 120.6.12000000.2
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 0
adapcctl.sh: check the logfile /u01/oracle/PROD/inst/apps/
.end std out.
.end err out.
******************************
Executing service control script:
/u01/oracle/PROD/inst/apps/
******************************
You are running adoacorectl.sh version 120.11.12000000.2
Starting OPMN managed OACORE OC4J instance ...
adoacorectl.sh: exiting with status 0
adoacorectl.sh: check the logfile /u01/oracle/PROD/inst/apps/
.end std out.
.end err out.
******************************
Executing service control script:/u01/oracle/PROD/inst/apps/
script returned:
******************************
You are running adformsctl.sh version 120.12.12000000.3
Starting OPMN managed FORMS OC4J instance ...
adformsctl.sh: exiting with status 0
adformsctl.sh: check the logfile /u01/oracle/PROD/inst/apps/
.end std out.
.end err out.
******************************
Executing service control script:/u01/oracle/PROD/inst/apps/
script returned:
******************************
You are running adoafmctl.sh version 120.6.12000000.2
Starting OPMN managed OAFM OC4J instance ...
adoafmctl.sh: exiting with status 0
adoafmctl.sh: check the logfile /u01/oracle/PROD/inst/apps/
.end std out.
.end err out.
******************************
All enabled services for this node are started.
adstrtal.sh: Exiting with status 0
adstrtal.sh: check the logfile /u01/oracle/PROD/inst/apps/
Thanks
Srini
No comments:
Post a Comment
No one has ever become poor by giving