Recovery after disaster - new host names, locations of different files. -noob

Hello

I am a "junior dba' best, pardon the beginner questions.

I'm learning works recovery after disaster before that I never do. My scenario is that I'm assuming the worse where I actually take backups RMAN backupsets and auto, copy them to a new computer, and all rise again.

In the documentation, I read that it says that you should copy tnsnames.ora and listener.ora. My first question is my hostname dead.franklyn.bignose.ca machine "works, but pretending is dead" and the NEW machine has live.franklyn.bignose.ca. tnsnames and listener.ora both of course refers to old.franklyn.bignose.ca, so I do not know how to approach this problem.

Second, the new machine is that a new installation of 11.2.0.3 and the db home in/u01/app/oracle/product/11.2.0/dbhome_1/ old one was an update of 11.2.0.1 11.2.0.3 so he lives at u01/app/oracle/product/11.2.0.3/dbhome_1/. I don't know how cranky that will make Oracle.

Any comments or advice?

My first question is my hostname dead.franklyn.bignose.ca machine "works, but pretending is dead" and the NEW machine has live.franklyn.bignose.ca. tnsnames and listener.ora both of course refers to old.franklyn.bignose.ca, so I do not know how to approach this problem.

You must set your file listener.ora accordingly with respective host names. Say about the live host name, the listener.ora should have the hostname as living and dead server, the listener.ora must have the hostname as dead

Second, the new machine is that a new installation of 11.2.0.3 and the db home in/u01/app/oracle/product/11.2.0/dbhome_1/ old one was an update of 11.2.0.1 11.2.0.3 so he lives at u01/app/oracle/product/11.2.0.3/dbhome_1/. I don't know how cranky that will make Oracle.

It wouldn't matter. Only thing is, you must make the appropriate changes in the required files (say listener.ora).

Refer to this

http://learnwithme11g.WordPress.com/2011/12/20/creating-physical-standby-database-with-RMAN-duplicate/
http://learnwithme11g.WordPress.com/2011/12/07/creating-a-physical-standby-database-11gr2-3/
http://www.Oracle-base.com/articles/11g/DataGuardSetup_11gR2.php
http://gavinsoorma.com/2010/03/17/create-standby-database-using-11g-duplicate-from-active-database/

Tags: Database

Similar Questions

  • Breaking SMB permissions after the NAS host name change.

    Broken SMB permissions after the NAS host name change

    ReadyNAS 104 firmware 6.5.1

    Who can help me?

    I couldn't reach the NAS with Windows Explorer. Problem solved now.

  • Homepage of database no. connect after changing PC host name

    I changed the host name of the computer recently in Windows 7 and since then, I am unable
    to connect to the oracle database home page, I tried to enter to change some iniialization oracle files, but they are
    locked. How can I save the new host name in oracle 10g XE?

    GabyPR wrote:
    I changed the host name of the computer recently in Windows 7 and since then, I am unable
    to connect to the oracle database home page, I tried to enter to change some iniialization oracle files, but they are
    locked. How can I save the new host name in oracle 10g XE?

    Hello Gaby,.

    You may need to 'operating system administrator' privileges to change these files. Run Notepad as 'administrator' file (right click and run as admin option), then open the files in Notepad.

    You can try to change the listener.ora and replace the old name to the new host, or you can simply add your old host for the 'c:\Windows\System32\drivers\etc\hosts' file name (if the old host name is not used by another computer on your network).

    Concerning

    Gokhan Atil

  • Creating a menu in Powershell after collecting ESX host names

    Hello

    I give up .

    I found this script which offers a menu in Powershell (no popups). I enjoy my guests, then perform the functions.

    At the end of the script after I chose the pair I want to, I'm trying to find/set a variable so that I can then use the host name for my next order.

    I can't understand how to do this, because I don't understand what is happening to my choice (which I think is in the $choice variable), but $choice ends up empty when I check it manually later.

    Can someone help me please? Below, you'll see my guests meeting and the call to the function.

    Thank you!

    function {Write-choice

    Param ($prompt, $choice)

    write-host - n "[]".

    write-host - n f yellow $prompt

    write-host "]", $choice

    Write-Output $prompt

    }

    function {Get-selection

    (param

    [Parameter (Mandatory = $true, ValueFromPipeline = $true, Position = 0, HelpMessage = "Choices")]

    [Object]

    $choice,

    [Parameter (HelpMessage = "Intro Message")]

    [string]

    $introMessage = "" choose from the following options: ","

    [Parameter (HelpMessage = "Prompt Message")]

    [string]

    $prompt = "select an option", he said.

    [Parameter (HelpMessage = "Window size")]

    [Int]

    windowSize $= 10

    )

    $currentWindow = 0

    $maxWindow = [math]: Floor($choice.length / $windowSize)

    While ($true) {}

    Clear-Host

    $start = $currentWindow * $windowSize

    $thisWindowSize = [math]: Min ($windowSize, $choice.length - $start)

    If {($introMessage)

    write-host-fore yellow $introMessage

    }

    $choices = @)

    for ($i = 1; $i - lt $thisWindowSize + 1; $i ++) {}

    $choices += write-choice $i $choice [$start + $i - 1]

    }

    If ($currentWindow - gt 0) {}

    $choices += write-choice 'P' 'previous Page of choices.

    }

    If ($currentWindow - lt $maxWindow) {}

    $choices += write-choice "N" "Next Page of choices.

    }

    While ($true) {}

    $input = read-host $prompt

    If ($choices - notcontains $input) {}

    continue

    }

    If {($input - eq "N")

    $currentWindow ++

    breaking

    } elseif ($input - eq 'P') {}

    $currentWindow-

    breaking

    } else {}

    Write-Output $choice [$start + [int] $input - 1]

    return

    }

    }

    }

    }

    # Get the hosts

    $choosehost = get-vmhost | Get - views | Select name

    # Call the function

    Get-selection $choosehost

    Try like this

    $selected = get-selection (Get-VMHost |) Select the name-ExpandProperty)

    In $selected you now the name of the host of ESXi slected.

  • [HELP] Problem with the restoration and recovery in the new host

    Hi, guys!

    I have tried for two days, but still can't make it work.
    I took a hot (online) full backup archive as well as the control file logs with the SPFILE and then copy the backup to the new host with the same directory structure and parameters. Finally, I tried to restore and recover the database on the new host, but failed during the restore process.

    The original host and the new host have the same subject Oracle installed until the patch level. I couldn't understand the solution to this problem based on my knowledge on Oracle DB.

    Could someone help me out here? Any advice would be appreciated!

    -----
    RMAN > restore the database up to the wire of the sequence 10 1;

    From restoration to November 8, 11
    using channel ORA_DISK_1

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01. DBF
    restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01. DBF
    restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01. DBF
    restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01. DBF
    restoring datafile 00005 to D:\ORA_DATADATA01. DBF
    restoring datafile 00006 to D:\ORA_DATA\DATA02. DBF
    restoring datafile 00007 to D:\ORA_DATA\INDX01. DBF
    restoring datafile 00008 to D:\ORA_DATA\INDX02. DBF
    channel ORA_DISK_1: backup C:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
    OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_. BK
    P

    switch to the previous backup

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 11/08/2011 11:41:33
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of the file 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    -----

    Here is some additional information you might want to know about:

    -----
    RMAN > list incarnation;


    List of Incarnations of the database
    DB key Inc key STATE ID DB name DB reset reset time SNA
    ------- ------- -------- ---------------- --- ---------- ----------
    1 1 PRODDB 3774691295 PARENT 1 17 APRIL 07
    2 2 3774691295 PRODDB PARENT 521803 6 OCTOBER 11
    3 3 3774691295 PRODDB PARENT 1595143 20 OCTOBER 11
    4 4 3774691295 PRODDB PARENT 1600974 20 OCTOBER 11
    5 5 3774691295 PRODDB PARENT 1952053 27 OCTOBER 11
    6 6 PRODDB 3774691295 CURRENT 2146951 7 NOVEMBER 11

    RMAN > backup recoverable list;


    List of backup sets
    ===================

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    37 full 822,34 M DISK 00:29:47 7 November 11
    BP key: 37 status: AVAILABLE Tablet: NO Tag: TAG20111107T175037
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_. BKP
    List of files to backup data value 37
    Name of file LV Type cash SNA cash time
    ---- -- ---- ---------- --------- ----
    2149673 full 1 7 November 11 D:\DBDATA\PRODDB\SYSTEM01. DBF
    2 full 2149673 D:\DBDATA\PRODDB\UNDOTBS01 7 November 11. DBF
    3 full 2149673 D:\DBDATA\PRODDB\SYSAUX01 7 November 11. DBF
    4 integer 2149673 D:\DBDATA\PRODDB\USERS01 7 November 11. DBF
    5 integer 2149673 D:\ORA_DATA\DATA01 7 November 11. DBF
    full 2149673 D:\ORA_DATA\DATA02 6 7 November 11. DBF
    7 full 2149673 D:\ORA_DATA\INDX01 7 November 11. DBF
    8 whole 2149673 D:\ORA_DATA\INDX02 7 November 11. DBF

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    38 full 6.95 M DISK 00:00:03 7 November 11
    BP key: 38 status: AVAILABLE Tablet: NO Tag: TAG20111107T182034
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_07\O1_MF_S_766606834_7CH8Q439_. BKP
    Control file included: cash SNA: 2151141 cash time: 7 November 11
    SPFILE included: Modification Date: 7 November 11

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    18,46 39 M DISK 00:00:05 8 NOVEMBER 11
    BP key: 39 status: AVAILABLE Tablet: NO Tag: TAG20111108T093359
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_08\O1_MF_ANNNN_TAG20111108T093359_7CJY7TG1_. BKP

    List of newspapers archived on backup value 39
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 1 2146951 7 NOVEMBER 11 2149493 NOVEMBER 7, 11
    1 2 2149493 7 NOVEMBER 11 2149519 NOVEMBER 7, 11
    1 3 2149519 7 NOVEMBER 11 2149565 NOVEMBER 7, 11
    1 4 2149565 7 NOVEMBER 11 2149641 NOVEMBER 7, 11
    1 5 2149641 7 NOVEMBER 11 2172859 NOVEMBER 7, 11
    1 6 2172859 7 NOVEMBER 11 2197851 NOVEMBER 7, 11
    1 7 2197851 7 NOVEMBER 11 2220349 NOVEMBER 8, 11
    1 8 2220349 8 NOVEMBER 11 2222621 NOVEMBER 8, 11
    1 9 2222621 8 NOVEMBER 11 2222729 NOVEMBER 8, 11
    1-10 2222729 8 NOVEMBER 11 2223088 NOVEMBER 8, 11

    Time of accomplishment BS key Type LV size device Type elapsed time
    ------- ---- -- ---------- ----------- ------------ ---------------
    40 full 6.95 M DISK 00:00:00 November 8, 11
    BP key: 40 status: AVAILABLE Tablet: NO Tag: TAG20111108T093411
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_08\O1_MF_S_766661651_7CJY84LK_. BKP
    Control file included: cash SNA: 2223097 cash time: November 8, 11
    SPFILE included: Modification Date: 8 November 11
    -----

    Thanks in advance!

    Jay

    In short, the RCS of the controlfile will be generally higher than corresponding SCN of the data in the event of hot backup (online) file; However, the two SNA will be the same in the case of cold (off-line) backup. Am I entitled?

    Yes, it's true. In a backup cold (assuming that the CLOSURE was not a SURRENDER but was NORMAL, TRANSACTIONAL, or IMMEDIATE) all files in the database (data files, redo log and controlfiles files) are 'compatible' - at the same point in time, to the same SCN. In a hot backup, the files are updated. RMAN is not necessarily take all the data files at the same time - for example when you have several data files, RMAN would backup the files in batches of 4 or 8 - data files are therefore controlled at different points in time. Similarly, the controlfile is saved last.

    Hemant K Collette

  • Problem of Listener after changing the host name & ip address of a node

    Environment - Oracle 11g R2 is installed in the OEL 5 (node Oracle VirtualBox). Voluntarily, I changed the IP address and the host name of the node for use as a node pending. What are the changes that are needed to make in listener.ora and tnsnames.ora file?

    Thanks in advance.

    Kind regards
    Sandy

    Published by: 918868 on October 26, 2012 20:21

    issue following commands OS below

    lsnrctl stop
    CD /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/
    MV listener.ora listener.ora.sav
    lsnrctl start
    lsnrctl status
    # now wait 65 seconds before continuing as below
    lsnrctl service

    COPY orders & results from above, then PASTE it back here

  • HowTO: Toshiba HDD Recovery after the new installation of Windows 7

    If you install a new windows format or toshiba by a cd of windows you will not be able to see the Toshiba Hdd Recovery on F8 to restore the menu.

    Like this

    So if you have a recovery partition, you can make a recovery system to factory default. Follow these steps...

    1. format your USB key. Paste that file to a usb flash drive.

    2 - reboot the system and press F12 to start from usb...

    After these steps you can restore the system to factory default...

    Toshiba recovery steps

    Thanks for your interesting ad.
    I m very interested in how it works and will try to test it soon.

  • Satellite Pro U400-12y: how to use HDD recovery after the new installation of the OS

    Dear Sir

    I have the Satellite Pro U400-12y and give tem my friend use it when he gets back, the laptops it do format c: and reinstalled new windows.
    I try to do the recovery only by pressing f8 without answering.

    How can I recover my laptop to its state of origin as drive HARD recovery again in d:
    Thanks in adv

    Hello

    You will not be able to restore the factory settings because another operating system has been installed on the first partition.
    Usually by pressing F8 immediately after the laptop has been powered should allow the advanced on-screen menu. Here, you should choose option called repair my computer and Toshiba Recovery HARD drive.

    But if this doesn t work then you will not be able to use HARD drive recovery.
    In this case, you will need to order the new CD from here:

    https://backupmedia.Toshiba.EU/landing.aspx

    Good bye

  • SRM API: How to specify if the recovery operation must be planned migration or recovery after disaster

    Is it possible using the SRM API to specify whether we want a planned Migration or a recovery during failover?

    In addition, exactly how do we use the APIs AnswerPrompt and ListPrompts? Examples would be appreciated. Thank you!

    If you want to run the disaster recovery, you must use the recovery option (number 0) failover Mode. The SRM 5.8, we introduce a new Mode of recovery option - migration (planned Migration - number 5). This command is not added to the SRM API documentation, but will be updated soon.

    Example:

    PowerCLI > $RPmode = New-Object VMware.VimAutomation.Srm.Views.SrmRecoveryPlanRecoveryMode

    PowerCLI > $RPmode.Value__ = 5

    PowerCLI > $RPmode.ToString)

    > Migrate

    Orders ListPrompts and AnswerPrompt have nothing to do with the implementation of the plan (planned or disaster recovery Migration).

    -Daniel G.

  • How to add a LUN replicated to vCenter for test of recovery after disaster?

    We are currently on version 5.1 of ESXi and vCenter.  We have a DR test to come to one of our applications that includes about 12 VMs.  My question is, when he introduced the LUNS replicated to our Dominican Republic / Test environment vSphere on our DR site, should we choose to will Lun?  I thought I had read somewhere that for all hosts in a cluster VMware can see the LUN, it must be resigned, rather than simply mount the LUNS without resignaturing, which I believe cannot be presented to a host then do it this way.  I just wanted to confirm whether or not it is correct.

    Also, if will be resignaturing LUN, we must manually update the references for each virtual machines vmdk files, or which is done automatically?

    When making a DR test previously and just pick up the LUN and not at will, the logic unit number was visible as a single host that is located in a three-node cluster.

    Thank you

    What will happen when you present a LUN to a host depends on whether the host saw the signature before, i.e. the LUN was mounted previously and was not dismantled/detached correctly. In the case of a known signature, the LUN will be considered to be a 'snapshot LUN' and it is necessary to will it to make it appear like a new LUN on the host, or you will have to manually force mount the LUNS. By resignaturing the LUN to one of the hosts, it will be recognized by all other guests too. Editing should be done separately on each host. For more information, see http://kb.vmware.com/kb/1011387.

    You can also take a look at http://kb.vmware.com/kb/2004605 to find out how properly remove/detach a unit logic of a host number, so that should not keep the signature.

    André

  • Where to start with recovery after disaster

    We start making a disaster recovery plan for the data center.  We have a small failry installation using vSphere 4.1 Enterprise with 6 hosts (blades) and about 30 vms, Windows, Linux, and Netware running on an IBM BladeCenter S.  The BladeCenter S shared storage in the chassis, and we also have a storage DS3300 iSCSI array.  In the event that something happens to this building we want to be able to bring our most important vms (~ 12 of them, the others will be restored from backup but not immediately) upwards to another place which is connected to this construction over a fiber of 1 GB connection.  We do not necessarily expect to provide the same level of service, just that our basic services are available.

    I understand this is a major project that can be answered in a forum, but I don't know where to start, if someone could point me in the right direction or give me some ideas, I would be happy.

    You need to take a look at the Site Recovery Manager. SRM is unfortunately not the whole solution, you also need the level of the SAN for this replication.

    If you storage does not support it or it's too expensive - you have the option to upgrade to vSphere 5 and use the replication host + RS.

  • Satellite Pro A210 - error recovery after a new installation of HARD drive

    Hello

    I have a satellite pro 210 (bios v1.6) has died the HARD drive.

    I bought a new WD Scorpio Blue 250 GB HARD drive and ran the reinstall drive (I've done exactly this for a friends Equium a month or so back and all worked flawlessy!)

    Everything worked fine until the first re-boot, went through the usual stuff:
    Please wait a moment while windows starts for the first time
    Then a windows background, spinning slider with waiting message please, much HDD activity
    Then the sudden error:
    "Installation of Windows could not configure windows to run on a hardware on this computer."

    Does anyone have ideas, what it might be?
    A google search suggests the sata bios settings, but I do not see in the configuration of the bios page.
    In my view, there is a new bios v2 by download - would this help?
    If so how can I install it when the computer does not start vista? Or any other suggestions?

    Thanks for reading.

    Cheers, Stephen

    Hello

    The SATA driver is not necessary if you use the Toshiba Recovery disk because the image on the recovery disk contains the SATA driver.
    So there must be other reason for it.

    In your case, I recommend setting the BIOS settings by default and start over once the recovery procedure.
    Maybe something went wrong during the configuration of the OS if second installation is worth a try

  • recovery after installing new hard drive

    The recovery disc will reset windows on a new hard drive with the key at the back of the pc

    Yes.

  • Why my counterpart has solved my new host name successfully?

    Hi guys.

    Given: On a workgroup network, today I installed a new Windows 8 box, adds a new name of charges. I created a share. I turned on the sharing printers and files, and network discovery.
    I tried to pull up on the part of the workstation peer by typing in \\MY-EXAMPLE-FRESH-NEW-SERVERNAME\SHARE-NAME, and it is resolved successfully.
    Question: Speaking in the OSI model, why was my old computer that can be associated with my new box of Windows 8?
    Thank you!
    -Matt

    Hi Matt,

    Advanced networking issues are supported in the TechNet Forums. I suggest you to send the query in the link for better support.

    8.1 Windows networking forum
    http://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w8itpronetworking

    Hope this information helps.

  • Recovery after disaster - 8.6.1 CUCM system

    Hello

    I'm unable to make a backup of my cluster CUCM, I tried to use FreeSSHd and Titan FTP but I get the following error message:

    Failed to contact server. Captain or the Local Agent could be down

    I tried to restart the services and also restarted the servers, but I have always the same question.

    Kind regards

    Mark

    Hi Mark,

    It could be this bug;

    CSCtq70900 - Tomcat and/or key IPSEC store corruption causes backup WA errors

    Description

    Symptom:
    Impossible to save one or more nodes in a cluster
    Conditions:
    Corruption of tomcat or ipsec keystore
    Workaround solution:
    Special orders focused on the root, to re - generate the certificates on Pub or compiler
    (IE certs tomcat must be produced on a per-Sub base and)
    IPSec certs should be produced on the Pub)

    Details

    Found in 1: (1).
    8.6 (1.10000.40)

    More

    Less

Maybe you are looking for

  • Received a message "You must change your password within 60 minutes" what's the problem?

    10 minutes ago, I got a message "You must change your password in 60 minutes", what is the problem? Please help me!

  • How one table based on another table on average?

    Example: I have the ARRAY1 array with the following: 1 1 1 2 2 3 Array2 contains: 1 2 3 4 5 6 In the end, ARRAY3 would contain: 2                  (1+2+3)/3 4.5               (4+5)/2 6                  (6)/1

  • I can't install avalon hills third riech on windows vista

    When I try to install it says that my it cannot run full-screen mode. I tried to change to windows 95 and windows xp compability mode but no dice. I also tried run as admin, once again no dice. can anyone help?

  • XPS 8500 disc boot failure

    Twice in the past four weeks, my computer would be locked up in the morning. I had to cut the power and it reboot OK. Now all of a sudden, I get a boot failure of the disk on the 2 TB drive. I'm running Windows 7 Pro - where I was before the accident

  • SX10 and TMS 13.2

    Hi all I try to add SX10 endpoint version TC7.1.4.908e4a9 to version 13.2 TMS and get this error message "failed to update field on: EndPoint_VolumeLevel: value cannot be null." ' Parameter name: String. You have an idea about this? Best regards Mesu