Test ASM Database refresh

Hello,
I am trying to refresh the test db from prod and both are of type ASM. Can someone provide me the detailed steps?
The test and prod nodes are part of a cluster.
Thanks.

803045 wrote:
I am trying to refresh the test db from prod and both are of type ASM. Can someone provide me the detailed steps?
The test and prod nodes are part of a cluster.You need to be more precise than this.
Are you referring to 2 ASM instanaces? On which case, exactly what do you want to refresh?
Or are you referring to to 2 database instances that both are using ASM? Also, exactly what is to be refreshed?
Cluster - are you referring to RAC? How are these test and prod nodes configured? Are these separate RAC db instances in the same RAC? Are these stand-alone db instances running on RAC nodes? Something else? And for the ASM part - do these ASM instances use the same shared storage server, or are local disks used instead?
Are the databases in archive log mode? Are rman used for backup and recovery?
And as already mentioned, the Oracle and o/s versions are very applicable too. Oracle version must include all 4 digits (Oracle 11gr2 is for example a product identifier and not a version number).

Similar Messages

  • Database Refresh From ASM Filesystem to Local Filesystem

    Hi ALL,
    I am performing a database refresh from production server to a demo server. Our Production database is 11.2.0.1 and it is using ASM filesystem to keep the data, redo and other files in ASM disks.
    On the other hand demo server is not having ASM, all the database files are stored in a local filesytem.
    I have taken a fresh backup of our production database, but I am not sure to perform the restore part as the demo server is not having ASM.
    Can anyone suggest me how to perform this, I mean datafile restore from ASM to local filesystem.
    Any usefull links will be helpful.
    Regards,
    Arijit

    Hello,
    You can restore the backup of your Production database which is using ASM to your demo server (using file system).
    Make sure that the control_files parameter in the pfile/spfile is pointing to the file system location where you want to have contol files located on the demo server.
    Next, before you use the restore command to restore the database, provide the location of the datafile where you need to restore using the "set newname" clause.
    run
    set newname for datafile 1 to '<file-system-location-on-demo-server>';
    set newname for datafile 2 to '<file-system-location-on-demo-server>';
    restore database;
    switch datafile all;
    recover database;
    }

  • Database refresh from production to test -how to clean existing test env

    All,
    My environment is
    Both Production and Test databases are in two node RAC environment
    Oracle version - 10.2.0.4.0
    OS - RHEL5
    Production database size 80GB
    We need to refresh the test environment from production database. Complete objects, data etc should be refreshed.
    We have a datapump export from production environment. With this export dump from production environment, I need to import into test environment.
    So far, I have imported with this kind of dump to the fresh database only.
    Now, we have already objects, data sitting in the test environment. How to clean the existing test environment and refresh the production datapump export dump.
    I thought of dropping all the tablespaces in test (other than system,sysaux, undo and temp). But not able to drop few tablespaces, it is telling that index is available in other tablespaces, dependency errors etc.
    Which is the best method to clean the existing test database. Management is not interested in dropping the test database and recreating it.

    I understand that you are Newbie , let give me simple steps.
    Follow the steps on testing envi.
    1. Drop only Application users that you want to refresh from Prod(Do NOT drop users system,sysaux.. or tablespaces)
    2. Create the users that you dropped.
    3. using import or import data pump import the data.
    In case you want to import user"A" data to "B" use REMAP_SCHEMA option.
    See the below link for data pump export/import with examples.
    http://oracleracexpert.blogspot.com/2009/08/oracle-data-pump-exportimport.html
    Hope this helps.
    Regards,
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com
    Click here for [How to add and remove OCR|http://oracleracexpert.blogspot.com/2009/09/how-to-add-and-remove-ocr-oracle.html]
    Click here in [ Making decisions and migrating your databases |http://oracleracexpert.blogspot.com/2009/08/download-sql-developer-migration.html]
    Click here to lean [ Static parameters change in SPFILE and PFILE|http://oracleracexpert.blogspot.com/2009/09/how-to-change-static-parameters-in.html]
    Edited by: Satishbabu Gunukula on Sep 14, 2009 5:09 PM
    Edited by: Satishbabu Gunukula on Sep 18, 2009 10:35 AM

  • Database Refresh:  Save Job Components?

    Our DBAs will be performing a database refresh of our dev/test environments based on a current Production model. To account for differences in our existing jobs/chains between Production and our other environments, it would be ideal to save off the existing objects in dev/test before the refresh. Once the refresh is complete, we could then restore the jobs/chains.
    Has anyone experienced similar?
    - If a schema refresh is done of the particular owner of the jobs, will the underlying jobs, chains, programs, steps, etc. be included in the schema refresh?
    - If not, where, specifically, are the scheduler objects stored so they can be copied?
    Any insight would be appreciated.

    Thanks for the caution. After we performed the export I removed the jobs owned by that schema user and was able to rebuild using the DDL. I did notice that when the chain rules were created, the 'condition' syntax was converted. For example, instead of my first rule having a condition of 'TRUE', Oracle converted it to 1=1. Instead of 'STEP_1 Completed and STEP_2 Completed' it converted to
    ':STEP_1.STATE = 'COMPLETED' , etc. I don't think this should really be an issue.
    However, the real kicker is that the chain rule 'action' came back null. This includes removing actions such as 'START "STEP_3" ', and even my 'END' action. Is that to what you are referring? Not sure if this is a bug and/or if there is a workaround?

  • Database refresh Steps

    Hi,
    Can anyone give the procedure for DB Refresh pls?
    I couldnot find a clear explanation anywhere.
    Bipin

    Sory Werner if im wrong, Does the following forum explain about db refresh or they are just talking about cloning...
    Database Refresh
    I thought Refreshing the test db with production is termed as "db refresh"..
    Is it so? Can u pls explain?
    Bipin

  • Database Refresh Query

    Hi,
    A Very Happy New Year to all !!
    We want to refresh our Test system database with Production data.
    ECC 6.0 ABAP + JAVA system.
    We will be using Backup-Restore method (BRTOOLS) for the same.
    However, the problem is, our Production schema for ABAP and JAVA are SAPMI3 and SAPMI3DB resp. and that for Test are SAPMI2 and SAPMI2DB.
    After the database refresh, the schema of Test server will be changed to that of Producion.
    We can make the necessary changes for ABAP schema (ops$), however, would like to know, what changes (If any) are to be made for Java schema.
    Request your suggetions.
    Regards,
    Kiran Pol

    Hi Kiran
    The JAVA schema can be set in the configtool -> secure store -> jdbc/pool/<SID>/User
    However i am not fully sure, if you have to change it, i think the information is stored in the database already, so it will be already fine when you do a backup/restore.
    Do the test and prod system have the same instance numbers? Otherwise you will have the additional struggle with the ports. For example the dispatchers http/https ports.
    Don't forget to change the sidadm env variable dbs_ora_schema as well.
    Best regards, Michael

  • SRM 7.0 Database Refresh

    Hi everyone,
    We are going to be performing a database refresh from our production system down to our development system.  We would like to maintain the current org structure that is in development though.  Does anyone know what tables we would need to export / import during the refresh to keep the org structure the same?  Also, do we need to worry about the product category replications?
    If anyone has had any experience with this your advice would be very appreciated.
    Thanks,
    Jeff

    Hi Nikhil,
    Ok thank you.  Do you know anything about maintaining the same org structure that was in place already in our Dev system?  It is different than our production system as we do not have all of the users setup in Dev.  Also we have some test ID's in Dev that we would like to keep.  Do you know how to maintain the same org structure?
    Thanks,
    Jeff

  • Full database refresh

    Hello Gurus,
    I am need to take make full database refresh from one database to other, Can someone let me know step how to do it?
    select * from V$VERSIONBANNER                                                          
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production                          
    CORE     10.2.0.5.0     Production                                        
    TNS for HPUX: Version 10.2.0.5.0 - Production                   
    NLSRTL Version 10.2.0.5.0 - Production      

    CKPT wrote:
    jgarry wrote:
    I'm with Ed and Brendan on this. 3 main reasons:
    1. Legacy has some special requirements.
    2. Definitely want different schema names, this has saved my bacon sooo many times. Even so, people still get it wrong (including me, and I'm totally paranoid about it to begin with).
    3. There are many more copies of production than actual production, for various reasons (test, several dev, special projects, future app versions...) . We would rather have one db with many schemata than many db's, right?
    Now if we could just rename user...Agreed some extent, I can say to refresh entire database the preferred method is RMAN restore, where it can manage very easily
    how?
    1) To import again we need to create a new database
    2) Need to create all the tablespaces with same names or we can use REMAP option
    3) need to monitor entire import process,
    4) need to take care of other things like , temp utilization and all.
    5) need to perform export, Need to copy those dumpfiles, We should have enough space on mount points of both source & destinations. ;-)
    I would just caution there that you shouldn't think that because you are taking rman backups you have no need to also regularly export the db. A good backup policy includes both physical backup (rman) and logical backup of the data (export).
    If you talk with couple of schemas the preferred method is EXPDP/IMPDP, totally agreed.
    If in case of database size is huge, then better to go with RMAN to refresh database. Either DUPLICATE or manual way restore.
    as ED said, still we could have chance to test RMAN backups too. Multiple advantages.
    Let me know if I'm wrong. :)

  • Cloning ASM database on windows 2003.

    Guys,
    Can someone please share steps regarding cloning ASM database, I am done with creating the ASM instance on the target server and I want to create the test database from the production DB ( which is also on ASM ). OS is windows 2003 and any help is appreciated on this.
    Thanks.

    Can someone please share steps regarding cloning ASM database,Clone as you have done in the past.
    RMAN, Oracle & none of the other utilities knows or cares about underlying filesystem.

  • Connection test to database failed: could not connect to server

    I restarted one of my HPOV NNMi 9.23 servers this morning and NNMi is no longer loading.  I am seeing the following errors in the logs indicated:
    /var/opt/OV/log/nnm/public/nmsdbmgr.log
    04/06/2015 09:28:05 AM Connection test to database failed: could not connect to server: Connection refused
    Is the server running on host "127.0.0.1" and accepting
    TCP/IP connections on port 5432?
    /var/opt/OV/log/nnm/public/postgres.log
    2015-04-06 09:25:55.312 EDT: :8580:0LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
    2015-04-06 09:25:55.312 EDT: :8580:0WARNING: could not create listen socket for "localhost"
    2015-04-06 09:25:55.312 EDT: :8580:0FATAL: could not create any TCP/IP sockets
    I checked /etc/hosts and found the following entry:
    #; Local
    127.0.0.1 localhost
    From the command line I can ping localhost with no issue.  Not sure why NNMi is not starting at this point. 
    This question was solved.
    View Solution.

    I also attempted to do a reset using nnmresetebdb.ovpl.  I recieved the following:
    Attempting to reset the embedded database...
    Starting nmsdbmgr process for database reset...
    nmsdbmgr process did not restart successfully - please try reset again.
    When I run ovstart -c I receive the following:
    Name PID State Last Message(s)
    OVsPMD 29831 RUNNING -
    pmd 29832 RUNNING Initialization complete.
    nmsdbmgr - NOT_RUNNING - Exit(1)
    ovjboss - UNSTARTABLE -
    nnmaction - UNSTARTABLE -
    ovspmd: Attempt to start HP OpenView services is complete.
    I definitely need some help with this please!  
    Thanks!

  • Database Refresh Failed

    Hi All,
    I am working on a database refresh and it failed with the following errors
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 04/15/2011 16:27:41
    RMAN-03015: error occurred in stored script Memory Script
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/srv/database/arch2/1_65508_689972797.dbf'
    ORA-00283: recovery session canceled due to errors
    ORA-00368: checksum error in redo log block
    ORA-00353: log corruption near block 256 change 43879018791 time 04/12/2011 04:30:54
    ORA-00334: archived log: '/srv/database/arch2/1_65508_689972797.dbf'
    Do you have any idea of how to solve this error.
    Please help.

    Hi;
    What is your OS? If its solaris than please see:
    Duplicate Fails with Corruption Errors on Solaris QFS Filesystem [ID 764113.1]
    Regard
    Helios

  • Risks associated with database refresh.

    Hi experts,
    I need to clarify a  doubt .I have a cloned SAP BW system (from another system i.e SAn to SAN copy)and then after few months after the first clone I need to refresh the database(Oracle 10 G).The reason being I will have some changes in data at the source system from where it was copied earlier.I shall be applying the application changes by tracking the transport requests(from the original system).
    I need to clarify if we don't refresh the whole system again  by SAN to SAN copy and then do  a database refresh will there be any problem .Is there any risk associated with it.
    Will the requests be available to me on the monitor with the new data or there will be some issues.
    A quick response shall be very useful.
    Shailja.

    Hello,
    Orders for Production , Maintenance, Deliveries, Transfer Order  etc. are created according to the factory calendar .
    You must be sure that all operations can be carried out in the seven days of the week (e.g. deliveries), because SAP can be scheduling aTransfer Order for a Sunday and somebody can be calling you for fixing the issue!
    The normal case is that some operations can take place in the weekend (Production, Maintenance) but other Logistic Operations ( Deliveries) are done only from Mo to Fr. If this is your case, I would create an additional seven days calendar and assign it to the work centers in Production and maintenance, but the Plant would remain linked to the old five days calendar
    Hope this can solve your issue.
    Dario

  • Database refresh from Prod to UAT

    Please check whether i have missed out any step in database refresh in 11.5.10.2
    Step 1 preclone executed on source Instance
    Step 2 copied all datafiles in backup mode to UAT instance
    Step 3 controlfile create and opened db in resetlogs.
    Step 4 adcfgclone.pl dbconfig <target context file>
    Step 5 Autoconfig executed on both db aswell apps
    Is it required to execute adcfgclone.pl dbTechstack and adcfgclone.pl appsTier
    environment is apps 11.5.10.2
    db 10g
    os AIX 5.3

    Hello,
    You will need to run:
    perl adcfgclone.pl dbTier [Database Target Context File]
    perl adcfgclone.pl appsTier [Appltop Target Context File]
    and other tasks as per Section 4: Advanced Cloning Options / 1. Refreshing a Target System
    of Note 230672.1 : "Cloning Oracle Applications Release 11i with Rapid Clone"
    Regards, Carlo.

  • Database Refresh Status log (Info)

    Dear All,
    Is there thing that can help to find out completion status for database refresh.
    Application log like hyplive.log located in the following location
    Oracle\Middleware\user_projects\epmsystem1\diagnostics\logs\essbase\essbase_0\app\HypLive
    the log file says this
    "[Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1013091)
    Received Command [Restructure] from user [admin@Native Directory]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1019017)
    Reading Parameters For Database [Drxxxxxx]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1019012)
    Reading Outline For Database [Drxxxxxx]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1019024)
    Reading Outline Transaction For Database [Drxxxxxx]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1007043)
    Declared Dimension Sizes = [1408 4 82 2 2 3 10 14 16 17 33 66 183 193 265 852 922 920 2 1 4 3 3 3 6 ]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1007042)
    Actual Dimension Sizes = [1395 4 81 1 1 3 10 12 16 8 26 64 145 163 245 848 898 914 0 0 0 0 0 0 5 ]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1007125)
    The number of Dynamic Calc Non-Store Members = [191 0 54 0 0 0 0 2 0 9 6 2 34 20 19 4 0 5 ]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1007126)
    The number of Dynamic Calc Store Members = [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1007127)
    The logical block size is [112995]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1010008)
    Maximum Declared Blocks is [26928283342271066000000000] with data block size of [115456]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1010007)
    Maximum Actual Possible Blocks is [5868290301232498000000000] with data block size of [32508]
    [Wed Apr 04 14:53:50 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1200481)
    Formula for member [2050103] will be executed in [CELL] mode
    [Wed Apr 04 14:53:51 2012]Local/HypLive/Plan1/admin@Native Directory/Info(1007067)
    Total Restructure Elapsed Time : [0.235] seconds
    [Wed Apr 04 14:53:52 2012]Local/HypLive/Plan2/admin@Native Directory/Info(1007067)
    Total Restructure Elapsed Time : [0.266] seconds
    but i am looking for the status of database refresh failed or succeeded?
    Any suggestions.
    Regards
    Ace

    If it failed then you would of got an error generated in the essbase application log and the planning log.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Database refresh from standby database

    All,
    OS : Sun version : 11.1.0.7
    I'm doing database refresh using stand by database datafiles in different server.
    1)Disabled Data guard broker in standby database .
    2)Copied all datafiles in mount stage to target server (different server)
    3)created controlfile and started the database in mount stage in different server
    4)Applied all archive log files .
    5)But still the database not recovered .
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 10401147296308 generated at 01/13/2012 09:03:43 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    ORA-00280: change 10401147296308 for thread 1 is in sequence #57879
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc
    ORA-00279: change 10401156453328 generated at 01/13/2012 10:48:01 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Am I missing any steps here ? Please advice me on this .
    Thanks.

    Hi,
    When you copy files of standby server to another target server ? - Yesterday.
    Is standby is SYNC with primary? or MRP is still running? - ---------yes, standby db is running fine .
    Even you can open database with resetlogs after recreating controlfile, no need of recovery too -- >I was unable to open . So went to apply arch files.
    Do you have archive of thread 1 is in sequence #57887, -- No , Because sequence 57887 yet generate. I have applied all recent available archive log files.
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Edited by: 805877 on Jan 12, 2012 10:43 PM

Maybe you are looking for

  • My Itunes store wont open after I did the update on my Iphone.

    I cant get itunes store to open now after i did the update?

  • ORA-20103: Null input is not allowed

    Hi, Got a bit of a problem I'm struggling with. Hoping someone can help ! I've got some PL/SQL code which performs some simple checks against XML to see if its Malformed.I can't cut and paste the real code due to security constraints but this should

  • How can one search SmartForms for a particular text or string?

    Hello fellow SAP developers, Our client has a need to search for a particular string in all of our Smart Forms and SAPScripts.  For SAPScripts I was able to write a simple Z-Program using function module u201CREAD_FORMu201D to accomplish this.  Howev

  • Lync for Mac - Problems to add contacts

    Hello, we recently added Lync online to an Office 365 setup.  Everything is working fine with PC's. But On the couple of Mac's we've setup so far with the latest version of Lync Online (including updates), users can't add contacts. They can communica

  • SOAP Receiver sync call timeout

    Hi guys, I need to increase the sync call timeout value for SOAP adpter as my receiver system has vaery slow response time. Which parameter to set? Currently is the message valid for 3 minutes. Thanks, Andrzej