Clone question 11i
Hi:
I have a question and hope some expert can tell me. I have cloned a database and after a couple of weeks, some datafiles are messed so I have to backup datafiles. My question is that is it possible to backup the data only without clone it again? If yes, what is the steps. Thank you very much for your help.
Hi,
some datafiles are messed so I have to backup datafilesOn which instance? The source or the target?
My question is that is it possible to backup the data only without clone it again? If yes, what is the steps.What do you mean by backup the data only? If you mean to restore the corrupted files on the target instance, then you could do if you have taken a backup of those files after the clone. If you have no backup, then you need to reclone the target database again.
Regards,
Hussein
Similar Messages
-
1. This question is related to use adclone utility to clone applications 11i....
If your production system is a multi-node
installation, which is everything (forms, reports,
concurrent, database, web) is on its own node, how do
you configure the test system if adclone is being
used? Do you need to configure your test system
the same multi-node setup as the production? Can you use
test system as single-node installation to save money?
2. There is also a unsupported way of cloning. The idea is
to copy everything from the production. Although it is
not supported, many shops actually use it and it
works. My question is if you use this
direct-copy method, can you still apply patch on the target system?Hi,
There is no need to use multinode configuration for your test system. You can use single node and ofcouse oracle dosn't provide any utility or procedure to shift from multinode to single node configuration. You can apply patches to your single node test system without any problem.
kapil -
Failed to clone oracle 11i on linux 5.2
I have Oracle 11.10.2.0.5 R.U.P 6
I success platform migration from HP Tru64 one node
to
02 Nodes Database on Oracle Linux 5.2 (64 bit) with Oracle database 10.2.0.4
01 Node Application on Oracle Linux 5.2 (32 bit)
then I wanted to Clone Oracle 11i from Prod to test with same Topology (2 node RAC and 1 node apps)
I followed the metalink note 760637.1 and I success to clone databse Tier from Rac to Rac
But When I tired to clone the application Side i got the flowing error when I execute adcfgclone.pl
$ 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:
ERROR: context creation not completed successfully.
Please check /tmp/adcfgclone_18883.err file for errors
$ more /tmp/adcfgclone_18883.err
./../jre/bin/jre[83]: exec: /u02/apps_st/devcomn/clone/bin/./../jre/bin/../bin/i686/native_threads/jre: not found
It seems that adcfgclone.sh is looking for i686 JRE under $COMMON_TOP/clone/jre/bin
but i have under $COMMON_TOP/clone/jre/bin only that
$ ll
total 24
drwxr-xr-x 3 oracle dba 4096 Jan 16 2010 alpha
-rwxr-xr-x 1 oracle dba 5147 Jan 16 2010 javakey
-rwxr-xr-x 1 oracle dba 2097 Jan 16 2010 jre
-rwxr-xr-x 1 oracle dba 5147 Jan 16 2010 rmiregistry
Please help
AljaroHi Hussien
Thanks for your answer ..
i don't have any JAVA_HOME variable in my environment you can see below
$ env
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
USER=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
INPUTRC=/etc/inputrc
PWD=/home/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/oracle
LOGNAME=oracle
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env
and this is my .bash_profile user
$ more .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
so the note [ID 371405.1] didn't help me
Aljaro
Edited by: user10612717 on Jan 6, 2011 5:23 AM -
Hi all,
It's been awhile since I've cloned our EBS 11i.
We used to have identical structure on the apps and db tiers between Prod, Uat and Crp environments. Some time ago we moved our Prod d/b on the SAN. So, now I have datafiles, redo logs and control files in different locations then before. In prod they are now in /prod/oraprd/oracle/data, /prod/oraprd/oracle/redo, /prod/oraprd/oracle/control.
In Uat, they are in /uat/orauat/data directory.
My question is: after I run a adpreclone.pl and copy files over to Uat, then untar them into correct directories, do I then go to init.ora parameter and change locations of control files?
After that, do I modify (new locations) and rebuild controlfile before run adcfgclone.pl ???
Thanks,
Eugenedo I then go to init.ora parameter and change locations of control files?After that, do I modify (new locations) and rebuild controlfile before run adcfgclone.pl ???You do not have to update any file manually, just run adcfgclone.pl script and it will prompt you to type the location of the data/redo/ log files.
Just make sure you have the directories already created on the target server before you run postclone script.
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1] -- Section 4. Configure Target system
Thanks,
Hussein -
Oracle database error after clone EBS 11i.
Hi,
I am getting following error ORA-01578 message when I open forms after the cloning.
APP-FND-01564: Oracle error 1578 in fdmgrated.
But no error in database alert log file.
Clone was done by RMAN.
Oracle 10gR2 on AIX.
EBS 11i.
Thanks.Yes, Autocofig completed without any error message.
But no errors in database alert log file.
Full error message is when I open Forms:
Cause: fdmgranted failed due to ORa-01578: Oracle data block corrupted
(file#440, block#9291)
ORA-01110: data file 440:
ORA_26040: Data block was loaded using the NOLOGGING option. please seee this
ORA-1578 / ORA-26040 Corrupt blocks by NOLOGGING - Error explanation and solution [ID 794505.1]
Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g/11g [ID 28814.1]
How to identify all the Corrupted Objects in the Database with RMAN [ID 472231.1]
OERR: ORA-1578 "ORACLE data block corrupted (file # %s, block # %s)" Master Note [ID 1578.1]
Master Note for Handling Oracle Database Corruption Issues [ID 1088018.1]
;) AppsMAsti ;)
sharing is Caring -
I am cloning the hard drive before updating to tiger.
Is it OK to clone the other internal hard drive? Or should it be to another firewire.Hi again geo3,
you can clone to a second partition but it would be much safer to clone to an external firewire drive so that you have a bootable backup. Internal hard disk sometimes fail . The cloning is more reliable if you boot from the second partition when you want to clone the first partition.
If this answered your question please consider granting some stars: Why reward points? -
Hi
EBS Version : 12.1.3
OS : Linux X86-64
I have plan to refresh the existing clone. Usually I had done using preclone procedure and copied to target machine and apply post clone. Now I have plan to do using RMAN restore procedure. So First dropped the existing clone database and then Restore database from production to target and plan to apply post clone procedure. Shall i do like? or Should i copy application file from clone?Azar wrote:
Hi
EBS Version : 12.1.3
OS : Linux X86-64
I have plan to refresh the existing clone. Usually I had done using preclone procedure and copied to target machine and apply post clone. Now I have plan to do using RMAN restore procedure. So First dropped the existing clone database and then Restore database from production to target and plan to apply post clone procedure. Shall i do like? or Should i copy application file from clone?
If no changes been done at the application/database level since the last time preclone was run (i.e. applied patches, modified custom code, ..etc) then you can restore from the backup, otherwise you will need to re-run preclone again and copy the files.
Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)
R11i / R12.0 / R12.1 : Cloning Oracle Application with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database (Doc ID 760772.1)
Rapid Clone Documentation Resources For Release 11i and 12 (Doc ID 799735.1)
Thanks,
Hussein -
Good Morning,
I normally use CCC to copy a bootable image of my computer's HD on to an external Firewire HD. Yesterday (to experiment) I created a sparse disk image with CCC on my external HD... Seems like a good option since I don't have to use the entire HD as a bootable copy.
I've ended up with a file called "Littlemac.sparseimage" on my external. When I double-click it, a volume entitled "Littlemac" shows up on my desktop.
So here's my question:
Let's say that sometime in the future my internal HD crashes (I had a bad day with a Leopard install) and I need to restore my internal HD from my external.
What's the procedure/process for getting booted up to a point where I can use CCC to clone the external HD back to the Internal HD?
Thanks,
BobBob:
I use a registered version of SuperDuper in which I have used the feature of a read only compressed .dmg. I knew that CCC offered the option of a disk image. I had only the latest version on my computer, downloaded the earlier version for Panther and found no mention of a compressed .dmg. I read through the documentation in the Help menu and found no mention there, either. I may have missed something in my quick read, but I don't think it is offered. As far as I can tell, the offer only an expandable sparseimage. Nor am I sure if the unregistered version of SD offers the feature of a compressed read only .dmg as the registered version does. I suggest that you download it and try. You may also want to post a question in CCC Discussions Forum and see what you find out. Sorry about that
Please let me know what you find out, especially if you download SD and check the unregistered version.
Good luck.
cornelius -
Hi,
we wanted to clone an Oracle Application. We copied RDBMS, Appl_TOP and FORMS_TOP. But no succes on dbTier.Then according to Note:230672.1 Appendix B we create database by creating manualy the controlfiles :
Create controlfiles SET DATABASE
and then applied sqlplus "/ as sysdba" @adupdlib.sql so (we use Sun Solaris OS). It was OK. But now adcfgclone appsTier on concurrent manager (and administration server) tier does not function. It means that at the end of clonnong, adrepctl.sh exit indicating not to be able to contact DB and the other services stay disable. And consequently (after applying adcfgclone.pl appstier on FORMS tier without any error message) when go to URL in IE browser we have error message : can not connect to DB.
We think that we should repeate clonning juste on appsTiers with a good copy of APPL_TOP , since we are not sure of copies that we have from APPL_TOP.
Then we are going to apply
1-PERL ./adcfgclone.pl appsTier ( on applications tier).
2-PERL ./adcfgclone.pl appsTier ( on forms tier).
without anything on dbTier (just keeping database open).
Can we do it ? Is there any thing wrong with this idea?
many thanks before.First try to connect to your database frown any client. You may also have to configure listner. Also dont forget to start your listner.
You can definitely do the cloning only at Apps Tier after DB tier. This time dont forget to copy all the required file (refer metalink cloning docs).
Vishnu -
HashMap.clone() question?
Dear all,
I got something really confused me. Here is a programme from JDT
http://developer.java.sun.com/developer/JDCTechTips/2001/tt0306.html#cloning
import java.util.*;
class A implements Cloneable {
public HashMap map;
public A() {
map = new HashMap();
map.put("key1", "value1");
map.put("key2", "value2");
public Object clone() {
try {
A aobj = (A)super.clone();
aobj.map = (HashMap)map.clone();
return aobj;
catch (CloneNotSupportedException e) {
throw new InternalError(e.toString());
public class CloneDemo5 {
public static void main(String args[]) {
A obj1 = new A();
A obj2 = (A)obj1.clone();
obj1.map.remove("key1");
System.out.println(obj2.map.get("key1"));
The output is :
Value1
From my viewpoint, the keys and values in the obj1 have been cloned to obj2, because even the key1 of obj1 is deleted, the key1 of obj2 is still there.
However, according to the API specification, in the Hashmap.clone(), "The keys and values themselves are not cloned."
Please clarify this for me. Thank you.
Leo
The keys and values are object references, and when you clone a HashMap you get a new HashMap with copies of those references - the referenced objects are not cloned. When you remove something from the first hashmap, the second hashmap still contains a reference to the object you just removed, so it still contains it. To see the difference, try putting a mutable object into the HashMap before cloning it. Then get the object from either of the HashMaps, alter the state of that object, get value held against the same key in the other HashMap, and print its state - you will see that the change has been reflected in both HashMaps because both HashMaps are referencing the same object. Try this:
import java.util.*;
class A implements Cloneable {
public HashMap map;
public A() {
map = new HashMap();
map.put("key1", new B("value1"));
map.put("key2", new B("value2"));
public Object clone() {
try {
A aobj = (A) super.clone();
aobj.map = (HashMap) map.clone();
return aobj;
} catch (CloneNotSupportedException e) {
throw new InternalError(e.toString());
class B {
String s;
B(String s) {
this.s = s;
public String toString() {
return s;
public class CloneDemo5 {
public static void main(String args[]) {
A obj1 = new A();
A obj2 = (A) obj1.clone();
B b1 = (B)obj1.map.get("key1");
B b2 = (B)obj2.map.get("key1");
System.out.println(b1);
System.out.println(b2);
b1.s = "A changed value";
System.out.println(b1);
System.out.println(b2);
} -
The documentation for the clone() method in the Vector class says that the method will
/** The copy will contain a
* reference to a clone of the internal data array, not a reference
* to the original internal data array of this Vector object.
*/I wanted to confirm that according to the above documentation, AFTER changing or modifying the original Vector, those changes will NOT be seen / reflected in the cloned Vector.
Furthermore, what about 2D and 3D Vectors. Vectors that may contain other Vectors as their objects. Do I need a "deepClone()" method... or will "clone() " handle all the copying for me?
-Thanks in advanceHey thanks for the clarification... so this
mutability term is a somewhat "looser" definition
than what I had originally assumed it to be. It's certainly not part of the Java language, but it is pretty widely accepted to refer only to objects, and to mean that the state cannot be changed (or cannot be changed in a way that will be visible publicly) afte the object has been created.
So
getting back to the clone part of this discussion. Is
there a relationship between how Suns choice of their
Objects mutability vs. Suns choice of their
respective clone() implementation? .. or are they two
different, and/or unrelated things?Not sure what you mean here, but there would be no reason to ever make an immutable object cloneable. String, all the wrapper classes, BigInteger, these are all immutable, and so it's pointless to clone them*. Since the copies will be indistinguishable from the original, and the state can never change, there's no reason to clone them.
Furtheremore, If I remember correctly, a Vectors
clone method JavaDoc describes the method as
follows:
/** The copy will contain a reference to a
clone of the internal data array,
not a reference to the original internal data array
of the Vector object.
*/...which suggests that a call such as:
(Assume for example I have a Vector ("myOldVector")
with 12 elements)
Vector myNewVector = myOldVector.clone();... would produce 2 Vectors and a total of 24
distinct Objects...No. There wil be two Vectors. Each Vector will have a reference to an array. The two arrays will be distinct. Each array will refer to the same group of objects.
So if you clone a Vector of 12 dates, you'll still have 12 dates, but now you'll have two different arrays referring to those 12 dates. If you change the contents of one of the Dates, both Vectors will see it. If you change the contents of one of the arrays (i.e., remove an element, or point it at a different Date objectd), it will only be seen by one Vector.
I know that the "toString()" method for a Vector will
call each of its elements respective toString()
method during its process, I was assuming that a
clone() method would do the same thing after creating
a new Vector. .. which would recursively handle any
nested Vectors appropriately as well.Why would you assume that? The docs for Vector's toString say that it toStrings each element. The docs for Vector's clone method don't say that--they say it just clones the array (not the objects referred to by the array).
Is this or is this not how the clone operation
executes? ... from reading the Cloneable interface
documentation, it suggests to me that this could be
the case...Why not peruse the source code for Vector's clone method? It's in src.zip in the JDK download.
*Okay, there could be a reason to clone them, but it's not something would normally be an issue when coding. For generational issues related to GC, it could theoretically be beneficial to create a new object, to be referred to by other new objects, rather than letting new objects refer to an old object. I only add this for thorughness' sake, not because it really matters for your purposes. -
Clone/refresh of oracle applications 11i
i hav two requirements here:-
1. to clone our prod instance to a new server i.e no binaries on target server (clone)
2. to clone our prod instance to PREPRD servers i.e binaries on target server (refresh)
3. want to clone database using rman
prod instance: 2 node setup
Node1: db n application (db n cp)
Node2: application (web n form)
versions:
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) on HP box
db: 9.2.0.8.0
ebs: 11.5.9
thanks for ur patience guys
might b the solution/steps are already here but i m unaware
Edited by: Haafiz on Dec 14, 2012 8:02 PM1. to clone our prod instance to a new server i.e no binaries on target server (clone)Make sure you have all OS pre-req. software/packages installed the use Rapid clone.
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1] -- Section 2: Clone Oracle Applications 11i)
2. to clone our prod instance to PREPRD servers i.e binaries on target server (refresh)Use Rapid Clone.
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1] -- Section 2: Clone Oracle Applications 11i)
3. want to clone database using rman
prod instance: 2 node setup
Node1: db n application (db n cp)
Node2: application (web n form)Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1] -- Appendix B: Recreating Database control files manually in Rapid Clone.
11i : Cloning E-Business Suite Using Hot Backup for minimal Downtime of Source Environment. [ID 362473.1]
Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1]
Thanks,
Hussein -
EBS 11i java error during clone.
Hi,
I am getting following error during the clone EBS 11i on IBM AIX 6.1.
applmgr@PROD11]/u01/oracle/prod11comn/clone/bin> perl adcfgclone.pl appsTier
ERROR: cannot find jre or java under /u01/oracle/prod11comn/clone/bin/../jre/bin
Please verify that you ran adpreclone.pl successfully
Any help would be appreciated.
Thanks.Hi,
check if any softlinks pointing to the source path under $COMMON_TOP/clone/jre/bin.
if not delete clone directory under $COMMON_TOP/ on target node
rerun adpreclone.pl on source node,
copy the $COMMON_TOP/clone fro source to target and retest the issue.
Thanks
RK -
Clone 11i from multinode to single node to new server.
Hi,
As per the following details, I have to clone the 11i environment from multinode (3 nodes) to single node on OLE5.
ServerA: FORMS, WEB, ADMIN
ServerB: CP, FORMS, WEB, ADMIN
serverC: DB
Hardware Loadbalancer used with SSL encryption.
Clone requirements:
ServerX: CP, FORMS, WEB, ADMIN, DB (No hardware Load balancing & No SSL)
Please guide me with the important steps to clone from multi-node to single node in this situation.
Thanks,959674 wrote:
Hi,
As per the following details, I have to clone the 11i environment from multinode (3 nodes) to single node on OLE5.
ServerA: FORMS, WEB, ADMIN
ServerB: CP, FORMS, WEB, ADMIN
serverC: DB
Hardware Loadbalancer used with SSL encryption.
Clone requirements:
ServerX: CP, FORMS, WEB, ADMIN, DB (No hardware Load balancing & No SSL)
Please guide me with the important steps to clone from multi-node to single node in this situation.
Thanks,Use Rapid Clone.
Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
Thanks,
Hussein -
SRKIM: Rel.11i- PA- GL_IMPORT_REFERENCES mapping with Project Transaction
Purpose
=====
R11i: Project Transaction 이 GL Journal 로 import 되었을 시 mapping 하는 방법에 대해 알아 보도록 한다.
Question
=====
11i 에서 Project Transaction 을 GL 로 Transfer 후 reconcile 을 위해 gl_import_references table 과 mapping 을 하고 싶다.
어떻게 mapping 해야 하는가.
Answer
=====
Project Accounting 의 Category 별로 아래와 같이 mapping 할 수 있다.
Category: BORROWED_AND_LENT
reference_1 = PA_CC_DIST_LINES_ALL.GL_BATCH_NAME
reference_2 = CCID (either PA_CC_DIST_LINES_ALL.DR_CODE_COMBINATION_ID or CR_CODE_COMBINATION_ID)
reference_3 = Account Type (either Cross Charge Debit or Cross Charge Credit)
reference_6 = same as reference_1
Category: Burden Cost, Inventory, Labor Cost, Miscellaneous Transaction, Total Burden Cost, or Usage Cost
reference_1 = PA_COST_DISTRIBUTION_LINES_ALL.BATCH_NAME
reference_2 = CCID (either PA_COST_DISTRIBUTION_LINES_ALLDR_CODE_COMBINATION_ID or CR_CODE_COMBINATION_ID)
reference_3 = Account Type (either Cost or Liability)
reference_6 = same as reference_1
Category: Revenue
reference_1 =
If "Revenue - Normal Revenue" => PA_COST_DISTRIBUTION_LINES_ALL.BATCH_NAME
If "Revenue - Event Revenue" => PA_CUST_EVENT_RDL_ALL..BATCH_NAME
If "Revenue - UBR" => PA_DRAFT_REVENUES_ALL.UNBILLED_BATCH_NAME
If "Revenue - UER" => PA_DRAFT_REVENUES_ALL.UNEARNED_BATCH_NAME
reference_2 =
If "Revenue - Normal Revenue" => PA_CUST_REV_DIST_LINES_ALL.CODE_COMBINATION_ID
If "Revenue - Event Revenue" => PA_CUST_EVENT_RDL_ALL.CODE_COMBINATION_ID
If "Revenue - UBR" => PA_DRAFT_REVENUES_ALL.UNBILLED_CODE_COMBINATION_ID
If "Revenue - UER" => PA_DRAFT_REVENUES_ALL.UNEARNED_CODE_COMBINATION_ID
reference_3 = Account Type, either:
If expenditure item revenue =>"Revenue - Normal Revenue"
If event revenue => "Revenue - Event Revenue"
If unbilled receivables => "Revenue - UBR"
If unearned revenue => "Revenue - UER"
reference_6 = same as reference_1
나머지 reference columns 은 모두 null 값으로 update 될 것이다.
Reference
======
Note. 331622.1 - How Are References Populated in GL_IMPORT_REFERENCES For Projects Transactions?Hi DST
This is a great effort and gesture. thank you on behalf of all the newbies.
PJ
Maybe you are looking for
-
Is there a way to automatically open the Activity Viewer & make it float?
I just upgraded from Panther Mail, and I really miss knowing what was going on and having to constantly open the activity viewer and reordering the windows every time I do something. Is there a way to somehow make the activity viewer open with mail e
-
Daisy Chain Camcorder- External Hard Drive (firewire)- PowerBook?
Will it really cause problems? I'm going to buy a firewire card to avoid any fw bus problems but for now, would it drop frames and cause trouble? Thanks Vito
-
Infoset vs Indexed nested loop
Hello all, i have an requirement in which i need to fetch data from several tables almost 6-8 tables (eventually to IT). right now i am fetching data using Select stmt using For all entries addition. So my requirement is to combine them into a big
-
Hi expert, I have an urgent requirement from the client. Delete the sales order item totally in ECC. I planned to implement this enhancement in ECC. Check the data in BDOC from CRM middleware, according to the user status in the order item,decide whe
-
Hi all, I've noticed a small issue (that is probably my fault). My color settings for some reason are all off. When I open a document in my OS preview the colors are as they should be. When I open that same document in Photoshop the colors are all