Help - Search - Members - Calendar
Full Version: Multinode to Multinode Cloning Process
Oracle DBA Forums > Oracle > Oracle Forum
Dileep
In a Multinode to Multinode Cloning Process, I want to know whether the following steps and their Sequence is correct. Our Production System(2 Node) has been installed as follows:

DB Tier (ebizprod01): DB-ADMIN-CCM
Apps Tier(ebizprod02): WEB-FORMS

1) Preclone Process (Source System):
------------------------------------------
a. On the Source Database Tier:

cd $ORACLE_HOME/appsutil/scripts/PROD_ebizprod01
perl adpreclone.pl dbTier

b. On the Source Web Tier:

cd $COMMON_TOP/admin/scripts/PROD_ebizprod02
perl adpreclone.pl appsTier

c. On the Source CCM(ADMIN) node:

cd $COMMON_TOP/admin/scripts/PROD_ebizprod01
perl adprelcone.pl appsTier


2) Copy the Source System to the Target System


3) Postclone Process (Target System):
------------------------------------------
a. On the Target DB Tier run the following commands to Configure and Start
the Database:

cd $ORACLE_HOME/appsutil/clone/bin
perl adcfgclone.pl dbTier

b. On the Target Web Tier run the following commands:

cd $COMMON_TOP/clone/bin
perl adcfgclone.pl appsTier

c. On the Target CCM (ADMIN) node run the following commands:

cd $COMMON_TOP/clone/bin
perl adcfgclone.pl appsTier


So, Please let me know whether the above mentioned steps are in a correct Sequence and are also correct for Cloning our Multinode (2 Node) Production System to a Multinode (2 Node) Clone.

regards,
Dileep Tallam.
aussie_dba
Rapidclone steps

http://www.freelists.org/archives/ora-apps...6/msg00036.html

Note:230672.1 Subject: Cloning Oracle Applications Release 11i with Rapid Clone
in batch mode without any dialogs (prompting APPS password for example)?

====
A. Generate a context file:
====
You have to produce a Context file
($APPL_TOP/admin/${TWO_TASK}_`hostname -s`.xml) for the environment
you are going to clone first of all.

A.1. If you are cloning other an existing environment you can use an
original XML file.

A.2. If you are duing a fresh (new) target environment you can choose
to do the fist time clone using an interactive (original) mode then
use generated XML file for future clones.

A.3 You can copy XML file from source environment and adjust it
accordantly (it isn't error free process).

A.4 Run the following command to generate a new XML file.

$COMMON_TOP/clone/bin/../jre/bin/java -classpath
$COMMON_TOP/clone/bin/../jlib/java:$COMMON_TOP/clone/bin/../jlib/xmlparserv2.zip:$COMMON_TOP/clone/bin/../jlib/classes12.zip:$COMMON_TOP/clone/bin/../jre/lib/rt.jar
oracle.apps.ad.context.CloneContext -e
$COMMON_TOP/clone/bin/../context/apps/CTXORIG.xml -validate -stage
$COMMON_TOP/clone/bin/../ -perl "$ADPERLPRG" -perl5lib $PERL5LIB
-passwd APPS


Please notice that you need to specify a APPS password for your system


====
B. Run an unsupported cloning command:
====
perl $COMMON_TOP/clone/bin/adclone.pl
java=$COMMON_TOP/clone/bin/../jre mode=apply
stage=$COMMON_TOP/clone/bin/.. component=appsTier method=CUSTOM
appctxtg=$APPL_TOP/admin/${TWO_TASK}_`hostname -s`.xml
contextValidated=true pwd=APPS


Please notice that this is commend I have found from adcfgclone.pl
version 115.81. Oracle might change the command in later versions of
the script.


====
C. Run a half supported cloning command:
====
You can run the cloning command providing a XML file as a parameter.
This method described in mentioned earlier note


perl adcfgclone.pl appsTier <Appltop target context file>


Only problem with this method is that you will be prompted for a APPS password.
A small hack will help you wink.gif
Comment the following lines in the adcfgclone.pl file:
--------------------------
#print("Enter the APPS password [APPS]:\n");
#my $key="";
my $PWD="";
#while ($key ne "\n") {
# $key = getc();
# $PWD = "$PWD" . "$key";
#}
#chomp ( $PWD );
#if ( $PWD eq "") {
$PWD ="APPS";
#}
--------------------------
The original version looks as follows
--------------------------
print("Enter the APPS password [APPS]:\n");
my $key="";
my $PWD="";
while ($key ne "\n") {
$key = getc();
$PWD = "$PWD" . "$key";
}
chomp ( $PWD );
if ( $PWD eq "") {
$PWD ="APPS";
}
--------------------------


Change APPS to apps user's password in your environment and this is
basically it. There is one thing to mention in addition. I had to change the
following line of code in the adcfgclone.pl:
--------------------------
else {
$CONTEXT_VALIDATED = "false";
# target system context is passed as an argument
--------------------------
to
--------------------------
else {
$CONTEXT_VALIDATED = "true";
# target system context is passed as an argument
--------------------------
Otherwise I had got the error listened below:
Cannot proceed with ApplyAppsTechStack - the paths/ports in the
context file are not valid.
Dileep
Hai aussie_dba.
Thanks for you are reply. Our Applications Version is Oracle 11i (11.5.10.2). I'm doing this Cloning of the Production System for the first time. So, Could you let me know clearly the steps.

regards,
Dileep Tallam.
burleson
Hi Dileep,

>> Could you let me know clearly the steps.

Huh? Aussie just posted the steps, do you not understand them?

Make sure that you test your clone carefully before trying it in production. I would also check the Metalink notes on Rapidclone. There are some important notes, especially 230672.1 and Note 295185.1.

http://metalink.oracle.com

Metalink 364565.1

Section 1. Before starting to clone
Section 2. Preparing Source System
Section 3. Copy the files to the Target system
Section 4. Configure Target system References Applies to: Oracle Applications Manager

Information in this document applies to any platform. Goal This Note is NOT a replacement for Note 230672.1. Note 230672.1 must be followed when performing a clone of Oracle Applications 11i.
HAL9000
"I'm doing this Cloning of the Production System for the first time"

Do it in your DEV system first. It's tricky, and I guarantee that you will need to tweak it.
Dileep
Hai Mr.Burleson.
Thanks for your reply. I have gone through the Note: 364565.1 and it has more details which I wanted to know. Actually my Production System is fully qualified, I mean in all aspects to Clone it. I have recently done a Multi node to Single node Cloning successfully. But now, I wanted to do a Multinode to Multinode Cloning. This would be our New Test System which would be a replica of our 2 Node Production System.

So, I wanted to know whether any cleaning process is also needed to remove the earlier information and also whether the Cloning Steps that I mentioned are correct in their Sequence.

regards,
Dileep Tallam.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.