Failover of backup of CARS

We have the Oracle 11 g 2 RAC database on both nodes. We also have an RMAN backup script that works very well, using a recovery catalog database located in a city of 20 km from the center of data. The script for the backup of the database works very well and is started from crontab job or from Oracle dbconsole (because he now works for crontab). A recovery procedure is checked and everything works fine.

The problem is that the script runs from the first node in the cluster, and if the node is disabled, the backup can be run. How can we ensure that our script have a backup version of failover. We also tried to make the backup on dbconsole, but this only works if the node from which to start work began.

Essentially, the question is 'how to make sure that our backup jobs, if two nodes are active or not'

Hello

SerPedjasim wrote:
We have the Oracle 11 g 2 RAC database on both nodes. We also have an RMAN backup script that works very well, using a recovery catalog database located in a city of 20 km from the center of data. The script for the backup of the database works very well and is started from crontab job or from Oracle dbconsole (because he now works for crontab). A recovery procedure is checked and everything works fine.

The problem is that the script runs from the first node in the cluster, and if the node is disabled, the backup can be run. How can we ensure that our script have a backup version of failover. We also tried to make the backup on dbconsole, but this only works if the node from which to start work began.

Essentially, the question is 'how to make sure that our backup jobs, if two nodes are active or not'

Do not use clusterware nodes to start the backup. You can use the host from the recovery catalog database located in a town 20km.

Move all the rman scripts to host of the recovery catalog and configure scripts in crontab from home from the recovery catalog. The RMAN works as a client, that only the backup is always performed server-side.

Create a Service of RAC with RMAN to connect (for example, RMAN_BACKUP). The service must run on nodes 1 FCAC, but is capable of running on the node 2 or 3, if 1 nodes are not available. (If you are using the default name of the RAC service (database name) and you use parallelism the RMAN can start a session in each node and backup to be performed by all nodes at the same time, this isn't a problem, but you may have some performance issues on your environment). Because I recommend you to create a Service.

http://download.Oracle.com/docs/CD/E11882_01/RAC.112/e16795/hafeats.htm

Configure a network service name using the local naming method on host of the recovery catalog.

If you do SCAN function above, otherwise put all host VIP on address names.

for example:

RMAN_BACKUP =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node-scan.oracle.com)(PORT = 1521))
     (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = RMAN_BACKUP)
    )
  )

Regardless of the node that is active your backup will be started if a node is active

This will work only if you perform an online backup. I hope so.

Hope this helps,
Levi Pereira

Published by: Levi Pereira on August 22, 2011 23:27

Tags: Database

Similar Questions

  • TNS alias failover option

    Hi Experts,

    I'm getting "ORA-12170: TNS: connect Timeout occurred." frequently

    How to set up failover and backup earpiece these wait times for the listener of the backup


    Thanks in advance.

    If this is a random question, I'd enable tracing for your TNS connections as well as for your listener. Who can help find the reason when it comes to the top.

    HTH
    Aman...

  • Dead Peer Detection and email?

    Hello

    Is it possible to get some kind of notification (such as email) when DPD detects a dead peer and failover to the next?

    In this case, EasyVPN is used as a server and a client on two ASA 5505. 5505 has a failover server backup 5505.

    Thanks i.a.

    Hey Stan,

    Check out this document, specifically "send System Log Messages to an e-mail address:

    http://www.Cisco.com/en/us/docs/security/ASA/asa72/system/message/LogConf.html#wpmkr1107270

    James

  • LOG_ARCHIVE_DEST_STATE_n = REPORTER

    Version: 11.2
    OPERATING SYSTEM: AIX 6.1

    It's my understanding of the LOG_ARCHIVE_DEST_n parameter
    LOG_ARCHIVE_DEST_1 is the destination of the archive primary
    LOG_ARCHIVE_DEST_2 specifies the location where the archive logs should be sent and what process (LGWR or ARCr) must be used to transport it again for the rescue site
    LOG_ARCHIVE_DEST_1='LOCATION=/u01/app/oracle/oradata/white/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=white'
    LOG_ARCHIVE_DEST_2='SERVICE=black LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=black'
    My question is about LOG_ARCHIVE_DEST_STATE_n which is normally set to ACTIVATE. I would like to know under what circumstances do we set one of these parameters to DEFER
    LOG_ARCHIVE_DEST_STATE_1=DEFER
    LOG_ARCHIVE_DEST_STATE_2=DEFER

    My question is about LOG_ARCHIVE_DEST_STATE_n which is normally set to ACTIVATE. I would like to know under what circumstances do we set one of these parameters to DEFER

    You should have local LOG_ARCHIVE_DEST/LOG_ARCHIVE_DEST_1 need to be activated because its archives in view log.

    "When database is in ARCHIVE LOG MODE"
    sys@ORCL> alter system set log_archive_dest_state_1='defer' scope=both;
    alter system set log_archive_dest_state_1='defer' scope=both
    *
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-16028: new LOG_ARCHIVE_DEST_STATE_1 causes less destinations than LOG_ARCHIVE_MIN_SUCCEED_DEST
    requires
    sys@ORCL>
    
    "Now Database im putting in NOARCHIVELOG Mode" 
    
    sys@ORCL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    sys@ORCL> startup mount
    ORACLE instance started.
    
    Total System Global Area  770035712 bytes
    Fixed Size                  1377304 bytes
    Variable Size             356518888 bytes
    Database Buffers          406847488 bytes
    Redo Buffers                5292032 bytes
    Database mounted.
    sys@ORCL> alter database noarchivelog;
    
    Database altered.
    
    sys@ORCL> alter database open;
    
    Database altered.
    
    sys@ORCL> archive log list
    Database log mode              No Archive Mode
    Automatic archival             Disabled
    Archive destination            c:\oracle\flash_recovery_area
    Oldest online log sequence     23
    Current log sequence           25
    sys@ORCL> alter system set log_archive_dest_state_1='defer' scope=both;
    
    System altered.
    
    sys@ORCL>
    
    "When noarchivelog mode you should able to disable local destination"
    

    Now lets discuss about remote destinations, i.e.: LOG_ARCHIVE_DEST_2

    When you set this parameter, then sending archive/redo will be stopped to remote destinations.
    In the case of a failover of backup database (or) If make you patches (or) such maintenance you may need to disable the settings.

    Hope this clears.

    Published by: CKPT on March 22, 2012 09:27

  • My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also backed u

    My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also saved to the time capsule. Everything is in 'Data' when I look through the Airport utility. I think that the information that I've lost are still there since I was a Capsule 3 to.

    Time Machine backup to a sparsebundle.

    The sparsebundle will use the share name of computer. So, it should be obvious who is your Macbook and that is your Macpro.

    Open the sparsebundle in Finder and keep open the subfolders until you get to the backup of each separate hard drive...

    You has of course set the exclusion in Time Machine?

    By default, Time Machine will exclude your second drive unless you have included it. Did you?

    Once you get to this level during the backup, you can do a full restore manually whenever you want.

  • What restoration brings back old bags in the device? I was always told that icloud restoration brings all the bugs back, yet care apple lately told me than vice versa. I'm lost in a cleaner for restoration of backup: icloud or itune?

    What restoration brings back old bags in the device? I was always told that icloud restoration brings all the bugs back, yet care apple lately told me than vice versa. I'm lost in a cleaner for restoration of backup: icloud or itune?

    I've never heard a backup report bugs, however if you are interested in, you can always restore the device as good as new.

  • Lost backup utility from One Care to Windows Live Essentials?

    I recently transferred to Windows Live Essentials after my subscription to One Care became unavailable, the transition was easy and I found that Essentials is a great alternative, how ever when I realized that he was not back up installation included in the package, I returned to the accessories of Windows to back up my computer to my external hard drive.

    Only to find that the backup facility had been removed when I removed One Care? I searched my machine and looked at restoring to an earlier installation of date back to the utility originally stae, but have had no joy.

    Because all my back up to external hard disk refer to One Care (which is now removed) my machine does not recognize the back ups, and because One Care isn't here, too, there is no possibility to restore from the hard drive.

    One has the same problem and is there a solution to restore Windows backup utility with doing a full reinstall and lose all my programs, files, data, ect? help urgently needed please!

    I had the same problem after removing a care. Found the original disks supplied with the Microsoft XP Home Edition computer, browsed the disk and found the backup utility program it and reinstalled.

    However, I think that the problem should not have occurredit the first place. I hope this helps.

  • Vista backup care contains only the catalog files

    I got Windows Vista the value to automatically save to a network drive.  I haven't used the computer for a couple of years, so he sat and the laptop battery has been cut.  I discovered more of my photo on my new computer files are missing and I tried to restore from my backup of this old computer which contained all the photos I had ever taken, but now some if these images went on the old computer also.  I use the original computer to restore the files as the new computer does not see the network drive.

    On the network drive, my shirts are:

    Backup utility Windows One Care

    Date My_PC 27/12/2011

    Do_Not_Delete.Mediaid date 12/12/2009

    2009 date 27/12/2011

    Catalogs date 27/12/2011

    DO_NOT_DELETE. GLOBALCATALOG DATE 19/01/2009

    DO_NOT_DELETE_SES(7D3C3BE-A742-486A-BO22-3F3FF61E1F99) DATE 09/02/2009

    WITH 10 OTHER FILES LIKE THIS

    Part1.zip.catalog date 19/01/2009

    With 200 other files numbered accordingly Part2... Part201

    Files

    DO_NOT_DELETE_SES (VARIOUS ISSUES) DATE 19/01/2009

    DO_NOT_DELETE.backupSetID date 19/01/2009

    When I use restore advanced and he say to go to the network drive, it is said that there is not a backup on this drive.

    This network is a network drive of computer at home, we just used for backups and file saving, we want not lost as tax documents.  However I always assumed that my photos were safe because I backingup a week.

    I hope someone can help, as most of the missing images of my mom who is now deceased.

    Is there anyway to restore from one of the above files without the help of the program to restore backup because he does not see the backup.

    You use the Restore tool to recover files saved?

    See the link

    http://answers.Microsoft.com/en-us/protect/Forum/protect_start/how-do-i-retrieve-my-Windows-Live-OneCare-Backup/e99fec82-8b1b-4f6f-B23C-601c8e9a6ff9

  • I receive a "Low disk space" message and to free up space (d) car which seems full of backup files dating from when I got the laptop in 2008.

    I receive a "Low disk space" message and to free up space (d) car which seems full of backup files dating from when I got the laptop. Now I also have the message 'the last backup impossible' because I don't have enough space on this drive.  He had originally 110 GB Local disk (d :)) and it fell to 7.44 MB of free space.) Can I remove the back of the 'safeguards' located in the 3 files and start on the 17/04/2008 right up to 2011-01.05 and just keep the last backup or removing the back will cause problems? Can someone help thank you.

    Hi KarenRoss56,

    You can try to remove the old files of backup from 2008 to 2010 and check.

    Note: When you delete these files and later if you perform a restore, you will not be able to get previous data. If you need one of these files, you can transfer the files to an external drive before you delete the system files.

    You can also use Disk Cleanup to reduce the number of unnecessary files on your hard disk to free up disk space and help your computer run more quickly.

    Delete files using disk cleanup

    Hope this information is useful.

  • Tunnel VPN RV-042 for Dual WAN Failover backup function

    We have customers with dual WAN failover scenarios with site-to-site VPN tunnels.

    In the past, the VPN tunnel backup feature has been available in the RV-082.

    One of the new RV-042 firmware versions have the function of backup Tunnel VPN available?

    The feature is supported on the RV042 V3 hardware.

  • I already turn to the backup car but the computer make them again, why?

    I already turn to the backup car but the computer make them again, why? He made my hard drive full... If I have to delete it after a while... How to stop this thing?

    Hello

    What backup program utility do you use?

    Meanwhile, refer to this link:

    http://Windows.Microsoft.com/en-in/Windows-Vista/back-up-and-restore-frequently-asked-questions

    However if you are using Windows Backup, then try to turn off shadow copy of Volume and check if the problem reappears. It manages and implements Volume Shadow copies used for backup purposes and others. If this service is stopped, shadow copies will be unavailable for backup and the backup may fail. If this service is disabled, any services that explicitly depend on will fail to start.

    Steps to follow:

    a. Click Start, type services and press to enter.
    b. Locate the "Volume Shadow Copy" service and right click and click on "Stop".
    c. close the windows Services.

    Please come back with more information.

  • RMAN takes longer than usual to the database backup cars.

    Hi all

    I have a database of CARS 2 nodes (11.2.0.3) using ASM on OUL5x64 (DB1/DB2) the backup script was running on DB2 for the past 3 years without problem.

    backup with compress is 80 GB Sunday.

    level Inc 1 day = 20 to 30 GB)

    I just added 2 other nodes to this CAR, now there DB1, DB2, DB3, DB4

    moved the backup to DB4 script and set up all of the environments for this work.

    The first 2 days, it did increase normal level 1 backup around time (20-30 GB) between (1 h 30 min)

    but on Thursday which is always increase of LEVEL 1, it took 8 hours to do the job.  and when checking the size

    the backup, the size was 255 GB level 1 (s/n 20/30 GB) and today it did the same.

    Please give suggestions as why backup is so huge.

    Thank you.

    Here's the script.

    RMAN target / < < EOF

    echo setting

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / u02/%F';

    Run {}

    allocate channels d1 type disk maxpiecesize 5 g;

    allocate channels d2 type disk maxpiecesize 5 g;

    Compressed backupset backup

    format ' / d01/pr1/pr1_%s_%t_%p.dbf'

    extra strength 1 cumulative

    Skip inaccessible

    tag hot_db_bk_level1

    filesperset 4

    (data include current controlfile);

    # sql 'alter system archive log current';

    #Backup all archive logs

    Compressed backupset backup

    format ' / d01/pr1/pr0_%s_%t_%p.arc'

    Ark of the tag

    filesperset 4

    (archivelog all delete all entries).

    }

    Hi all

    After you resolve the problem, the support of Oracle pointed out that

    I hit the limit in this note:

    How many incremental backups can be taken when the OWA is enabled? ( Doc ID 452455.1 )

    the default value

    _bct_bitmaps_per_file = 8

    in my case, I ran more than 8 times in the week. sous-séquence then run don't use BTC (block_change_tracking)

    After running a backup full again, backup works like it suppose to.

    Thanks for the replies.

    Kind regards

  • Using RMAN/Flashback to restore or passage / failover to the backup database

    Hello

    I'm new on the protection of the data.  I read the documentation and have implemented the Data Guard for my database of test called PPRD.  So I PPRD for the primary database and PPRD_DR0 for sleep.

    I've implemented the custody of data with the default, maximum Performance. I'm testing. (That's 11 GR 2.  I also use SQL/RMAN to set everything up.  I can implement Grid Control to administer it.

    What I was asking is - as the case may be, are there times where I'm better NOT do a failover to the standby?  Given that the PPRD is in archivelog mode (of course) and we have full and incremental backups archivelogs all being written to the disc, AND my expectation is mode maximum performance... is there times where there was NO data loss by restoring the database and he recovering from RMAN? Indeed, recovery logs are intact, not if the first line of conduct?

    Now, obviously if there is some sort of disaster and the primary is destroyed we would failover to our expectation. But for most typical failures, wouldn't we want to use RMAN and the backups/archivelogs as a first course, because there MAY be loss of data with the maximum performance mode? Also, I know there are views, that we can use to see how in sync is the day before, but I'm a little unclear on this.  At the time of a database problem, if we do not have an automatic failover enabled and configured, exactly how can we check how to synchronize the standby is with the primary?  (I know that this response is common and there, I don't want to ask the obvious question.)

    Since I was in archivelog and flashback as well on mode the primary... If the primary is still intact (but has a problem) I use RMAN, flashback, etc. before making failover/switching in high school?

    Thank you for any response.

    Hello;

    Yes. For me, a failover is a last resort. Ask yourself a few questions:

    My company requires an availability of 100%?

    How long the principal will be not not available?

    How long and how to recover from failover?

    I can make a move to the place?

    Each year we turn off the room of servers for a weekend. What I do, it is a failover, then a switch after the old primary appears as the day before and catch up.

    Here are my notes of failover test:

    http://www.Visi.com/~mseberg/data_guard/Data_Guard_Failover_Test_using_SQL.PDF

    This may help too:

    Roll a standby forward using an RMAN backup to trouble The Nologging changes incremental (Doc ID 958181.1)

    Best regards

    mseberg

  • N500 Vista and Lenovo rescue and recovery Care do not backup

    I would use Lenovo Care - Rescue and Recovery for backup system on DVD. But R & R cannot do, and I don't know why. What is happen? I see that no stop window with the message "a backup on your system is underway" but progress are always 0%. I made the backup several weeks - then backup was corectly. Unfortunately now I have a problem with her.

    my laptop is lenovo n500 and Vista 32

    I solved problem myself in new R & R 4.21 instalation

  • This is ridiculous. Delete my free account from revel. I don't care about backup.

    This is ridiculous. Delete my free account from revel. I don't care about backup.

    All together, your account has been deleted. Sorry to see you go.

Maybe you are looking for

  • Qosmio F10 - cannot change the type of HARD drive in the BIOS

    I want to change my hard drive, but the category in the BIOS is not editable. I can not change the type of hard drive in the BIOS on my desktop PC.

  • XP drivers for Presario CQ60 laptop - 260EV

    Hello all, recently I bought HP Presario Notebook CQ60 - 260EV and I need help to find the drivers for XP. In the HP XP drivers page, I couldn't find Hp Quick Launch Buttons. Can you please help me find the rest? Vista is bad for my mental health Tha

  • Why Windows backup uses as much space?

    Finally Microsoft released a version of windows that has a simple backup utility. Yes I know the old version of windows has the old app ntbackup, but I'm really, really concerned as to why this version of backup eat by so much space of hard drive on

  • The message to dropbox who cannot establish a secure connection

    Original title: could not establish a secure connection to Dropbox Recently, my dropbox could not "establish a connection," citing error clock.  The clock is accurate.  Dropbox makes a connection secured in safe mode and updates.  Until last week, it

  • Transfer the operating system windows 7

    So I have a 2 TB HDD and I want to transfer windows 7 to a 500 GB SSD, I have no idea where to start. I have a 64 bit windows 7 Home premium and the ID sticker on my computer, but also a disc for windows 7 64 bit edition Home premium. I want to know