R12 Cloning, pre-determined ports

Hi guys
I am learning to do cloning myself and successfully done the same few times already. The one area which is still beyond my reach is how to clone both db & apps tiers against pre-determined ports. Ie, all my recent attempts where creating listener port at 1563 and forms servlet port at 8042
I prefer to use 1521 & 8001/8002 etc for forms. Is there a context setting which I can use prior the cloning done, so that I don't have to change the files manually and do autoconfig?
regards,
raj

Hi Raj,
The post clone script (adcfgclone.pl ) is created by the preclone script as you must be knowing. Therefore specific ports can be transferred to the target instance as long as you can answer the question as" USE THE SAME PORT AS SOURCE" by having those ports in the Source Instance when running the post clone script. But if it is not the case you will have to go with clone and then change the ports and consequently run the autoconfig. I am personally not aware of any predefined context file which can hep you achieve your objective.
Please see:
How To Preserve Customizations In adcfgclone.pl Script (Doc ID 828874.1)
Anyhow I have not tried the following but you may give a try, whether this achieves your objective.
- Run pre-clone script
- Transfer the backup
- Take a backup of the context file
- Change the desired port values on the context file
- Run post clone as:
perl adcfgclone.pl (appsTier/dbTier)  <LOCATION_target_xmlfile>
- Answer the post clone script as:
Do you want to preserve the Display set to sourcehost:0.0 (y/n) [y] ? Y
Let us know if it helps!
Thanks &
Best Regards,

Similar Messages

  • R12 cloning on RAC windows 2003 R2.

    Dear All Gurus,
    I'm facing this issue with R12 cloning on RAC environment in windows 2003 R2..
    Steps Followed:
    After preclone steps completed in Source servers
    then on Target server..
    1, On DB being in D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin>perl adcfgclone.pl dbTier
    error: perl is not recognized as internal or external command,
    so we made changes in .env (.cmd) file like,
    ORACLE_HOME:to new copied home
    ORACLE_SID; test2
    after we run the .env (.cmd) file.
    now again i run the perl adcfgclone.pl dbTier
    It is started, but then throw's an error like
    D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin>perl adcfgclone.pl dbTier 
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                            Oracle Applications Rapid Clone
                                     Version 12.0.0
                          adcfgclone Version 120.20.12000000.12
    Enter the APPS password : apps
    Running:
    D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre\bin\java.exe -Xmx6
    00M -cp D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\jlib\java;D:\oracle\p
    roduct\TEST2\10.2.0\db_1\appsutil\clone\jlib\xmlparserv2.jar;D:\oracle\product\T
    EST2\10.2.0\db_1\appsutil\clone\jlib\ojdbc14.jar oracle.apps.ad.context.CloneCon
    text -e D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\context\db\CTX
    ORIG.xml -validate -pairsfile C:\TEMP\adpairsfile_5128.lst -stage D:\oracle\prod
    uct\TEST2\10.2.0\db_1\appsutil\clone  2> C:\TEMP\adcfgclone_5128.err && echo %ER
    RORLEVEL% > C:\TEMP\adcfgclone_5128.res
    Log file located at D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\Clone
    Context_0622124927.log
    Provide the values required for creation of the new Database Context file.
    Target System Hostname (virtual or normal) [testdb1] :
    Target Instance is RAC (y/n) [y] : y
    Target System Database Name : TEST2
    Do you want the the target system to have the same port values as the source sys
    tem (y/n) [y] ? : n
    Target System Port Pool [0-99] : 10
    Checking the port pool 10
    done: Port Pool 10 is free
    RC-50004: Error occurred in CloneContext:
    null
    Check Clone Context logfile D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\b
    in\CloneContext_0622124927.log for details.
    Running Rapid Clone with command:
    perl D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\adclone.pl java=D:\o
    racle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre mode=apply stage=D:\or
    acle\product\TEST2\10.2.0\db_1\appsutil\clone component=dbTier method=CUSTOM dbc
    txtg= showProgress contextValidated=true
    Running:
    perl D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\adclone.pl java=D:\o
    racle\product\TEST2\10.2.0\db_1\appsutil\clone\bin\..\jre mode=apply stage=D:\or
    acle\product\TEST2\10.2.0\db_1\appsutil\clone component=dbTier method=CUSTOM dbc
    txtg= showProgress contextValidated=true
    APPS Password :
    You must define the target database context to use
            dbctxtg=<applications context file>
    Restart adclone.pl after performing required corrections.
    ERROR: Failed to execute D:\oracle\product\TEST2\10.2.0\db_1\appsutil\clone\bin
    \adclone.pl

    Please follow the steps in (Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1]) for the supported method to clone RAC-to-RAC.
    Thanks,
    Hussein

  • How to confiuge RMAN offline and online back-up at a pre-determined time.

    Hallo!I am an Oracle newbie currently studying the Oracle 10g Database Administration Certification.Still very new to Enterprise Manager.
    My query is that can you configure an offline database back-up such that you can set up an offline backup at a pre-determined time?
    I am assumng a real-office scenario where a DBA would like to have an offline back-up at night e.g. at 1 am when they are no users in the office.If the DBA can set the system such that everday at 1 am ,the instance shuts down,back-up is done e.g a backup set that can be stored on tape,then after backup the instance re-starts itself.All this should be automated such that by the time staff report in the morning ,the instance is up and running and users can work seamlessely
    How can I automate this entire process using RMAN and/or Enterprise Manager or a sript to achieve this?Also,I would like to know if you can automate the same for online back-up such that it can backup while instance is still running and users are accessing the DB.
    Please help me on this and I shall be infinitely grateful.Thanks in advance.

    Hi,
    On UNIX server, you can use shell script and sql scripts that can do this job for you. Once the scripts are tested succesfully, you can put them in the crontab.
    Crontab entry should reflect the time, day, week, month details as you thought to schedule it.
    This link may help you. http://www.dbasupport.com/oracle/scripts/Backup_Recovery/RMAN_Backup/
    Regards,
    vasu

  • Pre determination of activities to be executed

    Hi,
    Is there any way to find the possible path an instance will take depending upon the values of certain variables. To be more clear, consider when an instance is created 3 values a,b,c are passed (assigned). depending upon these values , instance will take different route. or in other words, the activities executed will vary depending upon these values. My req is to pre determine the set of activities which will be executed( without any hard coding).
    Please provide valuable opinions on this.
    Thanks,
    Sana

    You could use PAPIs to route the instance to the desired activity, always if the instance itself is not on a mandatory interactive task. If so you can choose dynamically your path.
    I'm sorry I've no example for this, but as far as I know it should be possible in this way.
    Another mode could be the usage of business rules and business rule transitions but you'll be probably forced to define all of your possible paths. Once the process has been defined you can easily know which will be the path starting from the rules.
    HTH
    Giuliano

  • I want to insert .pdf files into a "Master" .pdf file at pre-determined intervals - how do I do this?

    I want to insert .pdf files into a "Master" .pdf file at pre-determined intervals - how do I do this?

    Hi markm11762689,
    When you insert pages, you can determine whether they go before or after the first or last page, or a page number that you specify.
    If you're inserting multiple files at once, they will all be inserted in the same spot that you specify in the Select File to Insert dialog box.
    There may be a way to handle this programmatically, and there are some very clever folks who visit these forums regularly. Let's see if they chime in...
    Best,
    Sara

  • Firstly hello to all. I'm looking to create a vi that will take a single logged output from a thermocoup​le and monitor the temperatur​e and produce a Boolean when the temperatur​e has stabilised for a pre determined time say 1minuet.

    Firstly hello to all. I’m looking to create a vi that will
    take a single logged output from a thermocouple and monitor the temperature and
    produce a Boolean when the temperature has stabilised for a pre determined time
    say 1minuet. I have managed to find a couple of examples on the forum but one
    will only run on V8.2 and I have V8, the other is for more than one channel
    witch is fine I can always reduce this, but it was the timing feature I was
    having difficulty with. I looking to monitor the temperature of a motor until
    it has stabilised prior to testing and then to use this temperature as a
    reference. Pleas forgive my ignorance if this is a very simple thing but I’ am
    learning and really enjoying it. Thank you in advance for your answers.

    Hi
    Graham, thank you for you reply.
    What I’ am trying to achieve is a vi I can use in a motor
    testing setup, a part of this would be to warm the motor up until the exhaust
    air temperature has stabilised, this takes approximately 10 minuets. I was
    thinking of just letting the motor run for this time and leave it at this, but
    some motors warm up quicker that others and. I am basically looking for a vi with
    an adjustable temperature window of say ±5 C° in 1° increments, timing wise 1minuet
    to 10min the adjustment is so I a can use this for another application. I tried
    to adjust the code I found at the link below but had a little difficulty with
    the timing. Thank you so much for your help it’s much appreciated.
    sine.ni.com/niforum/niforum?forumDU=http://forums.​ni.com/ni/board/message?board.id=170&message.id=25​1017&requireLogin=False

  • Pre-determining transformed name of Page_ClientValidate()

    We are developing .NET gadgets for 4.5WS using Web Controls 2.0.1.
    One one particular gadget we have a button (normal HTML; not ASP.NET button) which executes some JavaScript code in the onclick handle. Because this gadget is a submittable data form, we do not want the onclick code to execute if the data is invalid, and so we want to hook into the in-built ASP.NET validation functions. I've noticed that if we include if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate();and only that, in the onclick code, then it is correctly transformed toif (typeof(Page_ClientValidate_1_1_4322_573) == 'function') {PTValidate_1354();Page_ClientValidate_1_1_4322_573();}
    However, if we modify that line in any way, then the transformation does not take place. I was hoping to modify it toif (typeof(Page_ClientValidate) == 'function') {if (Page_ClientValidate()) myProc();}and let the Web Controls filter do the conversion... but this doesn't work. (I'm thinking the WC filter matches on the full string, not individual function names).
    Is there a workaround that will allow us to call the ASP.NET validation functions, and then a function of our choosing? Is this fixed in v2.1?
    Alternatively, I've noticed that the Page_ClientValidate function is always converted to Page_ClientValidate_1_1_4322_573 in our samples and also in the Developer Guide for Plumtree .NET Web Controls. Is this simply a coincidence? What do the 1_1_4322_573 numbers represent? Can we assume that this is what the function will always be called, and thus write our own javascript code that references the transformed function explicitly? Or should we 'build' it by referencing variables (in the same way we can pre-determine the transformed names of controls and the form itself)? If so, what elements should we reference as variables?
    Thanks,Nick.

    Nick,
    I am not sure of the best way to do this, although I will describe how the string is built up, then you should be able to create your own. The 1354 in your code is the portlet ID - you can get this from the EDK. The 1_1_4322_573 is the .NET Framework version - this you can get by calling System.Environment.Version.
    Jonathan

  • Java manually installaiton is required in the case of  r12 cloning on the new server.

    Hi experts, 
    i have need some suggestion. i have required to clone my production database to a fully new test server. for this i know i have  required  to prepare the new test server for ebs r12. for exp install rpm package, setup the kernel parameters create the group and os users etc...
    my confusion is that  "  have I required to install java manually when going to clone the database to a fully new test server( 1st time on that server direct cloning) "
    as per my knowledge java  already bundle with r12 and need not to install manually when we are going to install r12   1st  time on a new server. but what in  the case of cloning.
    plz plz suggest me right way. i have to do the cloning on client side so i m little nervous. plz help me......

    as per my knowledge java  already bundle with r12 and need not to install manually when we are going to install r12   1st  time on a new server. but what in  the case of cloning.
    The same thing applies to cloning. So, you need to install OS software and pre-req. packages (which you are already aware of), then you Rapid Clone (pre-clone, copy files, post-clone).
    Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)
    Rapid Clone Documentation Resources For Release 11i and 12 (Doc ID 799735.1)
    Thanks,
    Hussein

  • R12 Cloning RAC ASM to Single

    Hi,
    customer has 3 environments: 2 single (dev and pre) and 1 RAC-ASM (prod). We are doing the first complete refresh from PROD to PRE, then from RAC to Single, following Note Cloning Oracle Applications Release 12 with Rapid Clone [Article ID 406982.1] , which has a reference to Cloning an Oracle RAC System, which refers to follow Note Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1].
    Following this Note, you have to create a Database Image in an stage directory, then you need unless the same database size as free space for this db image. This is not an option for very big application databases, then our idea is not to create the db image, but cloning database separatelly, following steps in Option6 in cloning Note 406982.1.
    The question is, we have to refresh DB and app tier from PROD (RAC ASM) to PRE (single), colud we ignore Note " Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1]" and follow Clone Article ID 406982.1 specially Option 6, recovering PROD database separatelly with rman duplicate or we have to follow Note 559518.1 and create a db image? Any experience cloning R12 from RAC to single?
    Thanks,
    Alvaro

    Hi All
    Can any one provide step to step configuration for RAC to RAC cloning in EBS R12
    How to clone multi tier (2 node application Tier) using adcfgclone ... Thanks in Advance.
    Searched Below metalink notes
    Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1]
    Certified RAC Scenarios for E-Business Suite Cloning [ID 783188.1]
    Regards
    Subbu

  • "RC-50004: Error occurred in CloneContext" during R12 cloning

    Hi,
    I have installed Oracle Apps R12 on Linux server.
    The installation was smooth with no issues.
    Now I am doing cloning using rapid clone on the same server.
    I ran the preclone on db and apps tier of source.
    Then I shutdown apps + db and copied to target instance directories.
    Now I am running the adcfgclone on db tier (the first step)
    I run adcfgclone as orasimp user (not root)
    I get the following error immed after I start the adcfgclone.
    Performing file system cleanup specific to Platform Migration:
    StackTrace:
    java.lang.NullPointerException
    at java.util.Hashtable.put(Unknown Source)
    at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:697)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:4801)
    RC-50004: Error occurred in CloneContext:
    null
    Context file creation not succesful
    What could be the reason?
    Thanks,
    DR

    Hi,
    Refer to the following documents.
    Note: 460391.1 - CloneContext detects incorrect platform on AIX
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=460391.1
    Note: 443667.1 - Rc-50004: Error Occurred In Clonecontext
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443667.1
    Regards,
    Hussein

  • Ebs r12 cloning using rman online backup

    dear all,
                 how are you guys? i have ebs r12  on multi node and i want to clone db tier and apps tier using rman online backup,can  anybody provide me the detail steps of cloning ebs(db tier and appstier ) using rman online backup and  directory structure on source and target database is also different.your help highly appreciated thanks in advance.
    regards.

    Hi,
    You cannot use RMAN to clone the Apps tier of the EBS and you may use RMAN only on the DB tier. For a complete backup, as mentioned by Hemant K Chitale, you will have to use the rapid clone utility.
    To perform a rapid clone using RMAN there are plenty of step by step instructions in google which may guide in addition to support.oracle.com, Let me google that for you
    Thanks &
    Best Regards,

  • Programatically determine port and COM mapping

    Hello all,
    Please let me know the method of programatically determining the port and COMx mapping using labwindows CVI. I mean to ask which port referes to which COM or which resource(like ASRL1). I am using NI PCI 8433 card.
    Thanks in advance.
    Sri Vidya

    Hi,
    using the Search function of this forum (e.g. serial port) will uncover the following thread with a nice code by msaxon:
    http://forums.ni.com/t5/LabWindows-CVI/What-CVI-functions-do-I-need-to-use-in-order-to-check-the/m-p...

  • Oracle Apps R12 Cloning

    Hi,
    I'm cloning oracle apps R12. I followed metalink document [ID 406982.1]. while i'm coping the application tier files from source to target system,It is showing error that 27 files are not copied. Tried copying through ftp,external device. But in every task of copying, some files didnt copy. Pls tel me the way so that i can copy the apps tier files completely without missing even the single file.
    Thanks in Advance.

    Thanks for ur reply.
    >
    You can make it tar and can copy it,by the way cant you copy 27 files manualy?In our scenario, we copied through filezilla ftp, the entire VIS folder which is into the u01/oracle path. It takes nearly 12 hours to move the entire VIS folder and finally 27 files has been failed in the queue. again we made a reset and tranfered the 27 files but it failed to reset the queue and i dont know how to find the ftp log.
    If we do a manuall copy, it shows an error "symbolic link files cannot be copied".
    We also did a tar copy. but we get a error msg as "tar: Error is not recoverable; existing now". We used a command "tar -jc /path/to/your/folder > /path/to/your/backup_file.tar.bz2" to copy as a tar file.

  • Determine port for ethernet card

    I have been emailing with support trying to figure out why MAX cannot communicate with an ethernet card in my pc. I am new to ethernet and don't have the experience to solve this. I had explained that the MAX was giving error: " Insufficient location information or the device or resource is not present in the system." One solution suggested in the Ethernet tutorial was to run ping from the command line and see if it worked. I did that using the IP address of the ethernet card and it did work. I was then told by support to also use ping including the port number at the end for example 192.55.5.3:1. I do not know how to find port number. I did a web search and one solution was to run netstat from command line. I did that and go a long list of values and could not determine which was the ethernet card. Another thing I tried was in Wireshark under Conversations where the UDP: 2 tab selection showed port numbers for the card of both 138 and 139. When I tried using either of those port numbers with ping it gave me a error "Ping request could not find host 192.168.55.2:138. Please check the name and try again."
    Can someone please tell me if there is another way to figure out the port for this ethernet card?
    Thanks.

    I don't understand. MAX will communicate to an instrument - not a nic. Is there something on an Ethernet port that you are trying to communicate to? If so, what is it? In order to use LabVIEW and VISA, you often have to manually add the instrument in MAX. Right click on Devices and Interfaces and Select>Create New>VISA TCP/IP Resource.

  • R12 cloning

    Hi all,
    I need to clone so wat r the minimum patches i have to apply..
    my Apps release is 12.0.0 ..plz help me..

    Hi user;
    Please check below, i belive you will find your answer in it
    Note: 799735.1 - Rapid Clone Documentation Resources, Release 11i and 12
    Descriptive Checklist for performing Rapid Clone with 11i/R12 http://ID 811715.1
    Subject: Cloning Oracle Applications Release 12 with Rapid Clone Doc ID: 406982.1
    Also check
    Re: Rapid clone
    Regard
    Helios

Maybe you are looking for

  • J2me API to make phone calls

    i want to know whether there is any API available in J2ME to make phone calls

  • Ipad screen is dark

    My ipad screen is not showing but when i put a flashlight on it i can faintly see the screen ive tried fully powering it off, charging, Restoring but it hasnt helped!!! Please help Also it is not low brightness

  • N95 Music,Appilication,Photo, and video PROBLEM

    hey everyone, i had jsut got my nokia n95(1) yesterday and it all worked fine but now when i transfer music the nokia software says the music is on the memory card but when i refresh library it says 0 songs were found all my photos, old songs, videos

  • IMac 20" vs 24"

    Which one has the better GFX card? x1600 w/ 256MB ram or 7600 GT w/ 256MB ram? I will be playing games and doing some 3D modeling/animation with it and I want the best performance in Gaming. (Battlefield 2/2142 and Crysis once it comes out) Thanks in

  • Discover other oracle server

    is there an api/oci function to discover other oracle servers on a LAN? pretty much i want to provide a list of oracle servers a user can connected to.