FRA on ASM and to tape

I am using FRA and want to store backups for two days on the disk and also simultaneouly copy to tape everyday from disk. How do I achive this? Does it require a third party tape library that need to be mentioned in the rman script? I see lot of docs talks about copying from ASM to NFS and then allow sys admins to manage the tape copy. Pls advise the steps and best practice/maintenance overhead.

Hello KR,
To store backups on tape devices directly from rman (allocate a tape channel) you must use a MML (Media Management Library eg.: Backupexec, Netbackup, Legato).
But you can store it on a tape backing up you flash recovery area.
In my case to get retention policies...
RMAN> rman target / log=$SCRIPT/WHOLE_DB.log<<EOF
backup as compressed backupset
database tag=WHOLE_DB
plus archivelog tag=ARCHIVED_LOG
delete all input;
delete noprompt obsolete device type disk; #### Erase backup from file system
EOF
Regards,
Rodrigo Mufalani
http://mufalani.blogspot.com

Similar Messages

  • ASM and FRA

    Installed Oracle 11g R2. Configured ASM +DATA (for data files)  and FRA (for backups).
    If the FRA diskgroup (which is non-raided) stops working due to the disk failure, assume all other disks (OS and DATA) are still operating normally, will the Oracle database can still be used/accessed by the user?

    MORE INFO to add:
    Ideally, the FRA should be on RAID 1. But due to the configuration limitation, I can only use one disk for FRA and the spare one for holding the multiplexing files such as REDO, CONTROL, and ARCHIVE.
    By this way, DATA (Two ASM disks + raid 1), FRA (One ASM disk, non-raid), and Multiplexing (one regular disk, non-raid).
    DATA (redo log + control + others) --> multiplexes to --> Multiplex Disk (mentioned above to hold redo log + control)
    FRA (archive + all other backups) --> multiplexes to --> Multiplex Disk (mentioned above to hold archive)
    Like to hear your opinion and comments.
    P.S. The FRA will hold the backups only, nothing else. And DATA (Two ASM disks + raid 1) will hold the regular oracle data files + redo, control and other related files, nothing else.
    Edited by: scottjhn on Aug 27, 2012 3:18 PM

  • The Script root.sh problem - ora.asm and ASM and Clusterware Stack failed

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 VMs (rac1 and rac2) whose OS are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I am installing Grid infrastructure. On step 9 of 10 - execute script /u01/app/grid/root.sh for 2 VMs rac1 and rac2.
    After run root.sh in rac1 successfully. I run root.sh in rac2 and get an error as below:
    [root@rac2 grid]# ./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= ora11g
    ORACLE_HOME= /u01/app/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]: /usr/local/bin
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2012-03-05 16:32:52: Parsing the host name
    2012-03-05 16:32:52: Checking for super user privileges
    2012-03-05 16:32:52: User has super user privileges
    Using configuration parameter file: /u01/app/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1, number 1, and is terminating
    An active cluster was found during exclusive startup, restarting to join the cluster
    CRS-2672: Attempting to start 'ora.mdnsd' on 'rac2'
    CRS-2676: Start of 'ora.mdnsd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.gipcd' on 'rac2'
    CRS-2676: Start of 'ora.gipcd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'rac2'
    CRS-2676: Start of 'ora.gpnpd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac2'
    CRS-2676: Start of 'ora.cssdmonitor' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'rac2'
    CRS-2672: Attempting to start 'ora.diskmon' on 'rac2'
    CRS-2676: Start of 'ora.diskmon' on 'rac2' succeeded
    CRS-2676: Start of 'ora.cssd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'rac2'
    Start action for octssd aborted
    CRS-2676: Start of 'ora.ctssd' on 'rac2' succeeded
    CRS-2672: Attempting to start 'ora.drivers.acfs' on 'rac2'
    CRS-2672: Attempting to start 'ora.asm' on 'rac2'
    CRS-2676: Start of 'ora.drivers.acfs' on 'rac2' succeeded
    CRS-2676: Start of 'ora.asm' on 'rac2' succeeded
    CRS-2664: Resource 'ora.ctssd' is already running on 'rac2'
    CRS-4000: Command Start failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/bin/crsctl start resource ora.asm -init
    Start of resource "ora.asm -init" failed
    Failed to start ASM
    Failed to start Oracle Clusterware stack
    [root@rac2 grid]#
    As we see the output above, at the end of the output
    1) Start of resource ora.asm -init failed
    2) Failed to start ASM
    3) Failed to start Oracle Clusterware stack
    The runInstaller is in the first VM rac1. My question is:
    Do any folk understand how to solve the script root.sh in rac2 problem ( 3 fails of ora.asm, ASM and Clusterware stack as above) ?
    Thanks.

    Please check there is no firewall exist:
    try this like:
    root.sh fails on second node
    MOS note:
    11gR2 Grid: root.sh Fails to Start the Clusterware on the Second Node Due to Firewall on Private Network [ID 981357.1]
    Grid Infrastructure 11.2.0.2 Installation or Upgrade may fail due to Multicasting Requirement [ID 1212703.1] (Most probabily this issue)

  • My trackpad in Macbook is not working properly. The tap and double tap is not working but other gestures are working. Please help me..thanks

    My trackpad in Macbook is not working properly. The tap and double tap is not working but other gestures are working. Please help me..thanks

    Portables and Magic Trackpad: Jumpy or erratic trackpad operation
    Might be something from that link that will help.

  • What do i need to download to my iphone 3gs to be able to view all 4 security cameras at the same time? I can view one at a time live video streaming and just tap the screen to which direction i want to look and the lens moves.i use safari

    What do i need to be able to view all 4 security cameras in the same window on my iphone 3gs? I can view 1 at a time and just tap the screen to move the lens of the security camera on my iphone from my work place. But i once had all 4 cameras but it will not downlosd all 4 now. Is there anything out there like a stronger java to push the activex to my iphone?

    The iPhone does not run ActiveX. That is proprietary to MS Internet Exploder.

  • About ASM and SAN...

    Hello Guys,
    I have to implement 3 nodes RAC 10gR2 ob centOS4 operating system. I have study so many documents about rac instaltion and configurations. I have learn how to set the network requirements with private, public and virtual IPs and all other stuff. I have learn installtion of clusterware and database with cluster enable functionality.
    BUT the storage options are still not clear to me. We have purchases SAN and we are planning to implement ASM for the storage. Now i want to know:
    How many disk and disk partitions 3 node structure will require on SAN?
    How ASM will access SAN, or you can say OS will access this shared storage?
    Voting disk and OCR can not be store on sharted storage and need to be store on raw devices... what these raw device can be? How it can be access by all nodes?
    Above three questions are disturbing me a lot. If they are clear to me the whole storage concept will be clear and i can implement RAC.
    Please help me by answering the above 3 questions. I will be vert greatful to you.
    Regards,
    Imran

    How many disk and disk partitions 3 node structure will require on SAN?
    There's no real answer to that! With Oracle generally, RAC or no RAC, the answer to how many disks you should have is "as many as possible". Partitioning is really up to you, too, depending on what you find easiest to manage. If you have a single SAN array, for example, comprised of 15 disks that you choose to partition into three or four logical volumes so that you can call one 'data', one 'redo', one 'OS', and one 'other' -that's entirely up to you, since Oracle could care less how you partition, what you call them or how many of them there are. Moreover, everything on every partition is being striped across those 15 disks anyway, so who cares?
    I think, however, you might be thinking of the RAC-specific issues of the voting disk and the Oracle Cluster Registry. If you were using a cluster file system, they could be just two files on the file system, about 120M in size between them. Since you are going to use ASM and these two elements can't be stored inside an ASM array, you'll have to create two raw partitions for this purpose. The rest you then chop up for ASM's use.
    It is NOT true, incidentally, that "Voting disk and OCR can not be store on sharted storage". By definition, the voting disk and OCR must be on shared storage! Indeed, raw partitions, ASM arrays and cluster file systems are ALL shared storage technologies. It just so happens that those two files can't use ASM... but raw or cfs are fine.
    A raw partition is not, of course, intrinsically 'shared storage'... but if it's a raw partition on your SAN, to which all three of your nodes are physically attached, then it is shareable. It's shareable simply because three nodes can see it. And because there's no file system there with exclusive and blocking file locks, what one node does to a raw partition doesn't stop another node accessing it simultaneously (which is the definition of shared storage, of course).
    How will ASM access SAN? By you partitioning the SAN into a number of logical volumes, each one of which will be kept raw, and you then declaring each such volume as a candidate disk. You'll wrap all candidate disks up into an ASM disk group... and then Oracle will write to that disk group and hence through to the underlying logical volumes. Which comes back to the original question: how many logical volumes should you create out of, say, a 15 disk LUN on a SAN?
    Depends, as I said, on a lot of things, but for example RAID5 runs best when there are either 5 or 9 disks in the array (or did when last I looked at an EMC Clariion SAN!). So if your underlying RAID technology was going to be RAID5, you might well create 3 5-disk logical volumes on the one LUN. To let ASM use all 15 disks, you'd then create a 3-disk diskgroup (where 1 ASM disk = 1 SAN logical volume). On the other hand, you might want to keep some disks back for future storage, in which case a 1-disk ASM diskgroup representing a single 9-disk logical volume might be the go, with the remaining 6 disks on the LUN available for future expansion.
    It's a complicated topic, unfortunately. You're dealing with physical storage which is already abstracted into logical volumes and then abstracted even further by wrapping those logical volumes up into ASM disk groups. You balance performance, expandability, management convenience, your SAN vendor's optimisation tricks and so on... and hopefully come out with something that works for you!

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • HT5278 I have an iPhone 4, and I go to Settings, General, Software Update, and it says iOS 5.1.1 and I tap on the Install Now, and Agree, then i get the verifying update, and then it says "unable to install update, an error occured installing iOS 5.1.1

    I have an iPhone 4, and I go to Settings, General, Software Update, and it says iOS 5.1.1 and I tap on the Install Now, and Agree, then i get the verifying update, and then it says "unable to install update, an error occured installing iOS 5.1.1

    I have exactly the same problem.  iPhone 4S, never been jailbroken.  Not behind a firewall and it happens whether I am on my home compute (iTunes) or directly thru Settings_Update.
    Looks like loads of people are having the same problem - and as far as I can see, Apple's sole reply is jailbreak or behind firewall/ security settings/anti-virus.  None of those apply here!

  • Cloning a database on ASM and rawdevices.

    Hi list,
    I am in the process to "test" a clone procedure in a database which is using ASM and "rawdevices".
    Is there any special Note that I can follow to accomplish this process?
    How can I copy a raw device from one server to another one?
    Any advice will be really appreciated.
    Thanks in advance.
    Kind regards,
    Francisco Mtz.

    Hello Martin,
    Yes you can clone ASM database from one server to another server. Here is the brief overview of how i was able to do in the same RH Linux 4 and 10g R2
    1) source - take a RMAN backup (ASM databases can be backed up using RMAN only
    2) target -
    a) create a ASM instance on the target
    b) let your unix SA create a raw device disk with the same capacity of the source
    c) create a new diskgroup that includes this new raw device disk using $ORACLE_HOME/bin/dbca of the target's ASM instance (it will be automatically mounted)
    d) Now use RMAN DUPLICATE database option to create a duplicate database (clone) of the source database.

  • Old records and cassette tapes

    I have a number of old LP records and cassette tapes that I would like to import into Itunes. Is this possible and what would I need to do it ? Any help would be appreciated

    One way is to connect your Cassette deck or turntable (through the Tape out sockets of your amplifier) to the audio in socket of your computer. On the computer you'll need audio editing software to capture and edit the resulting long file into individual tracks that can be added to the iTunes Library. There are a number of commercial programs for this (I use Sound Studio for the Mac). If want to try out the process first you could try the open source program Audacity which has Linux, Mac and Windows versions at this link: Audacity. If your Mac came with it installed you could also check out Garageband, I've never used it myself so I'm not sure of it's capabilities.
    In addition to the software you'll need RCA to 3.5 mm audio plug cables to connect the Tape Out sockets of your amplifier to the audio inputs of your computer. There's a short guide to recording here: How to record from vinyl and cassette to a computer also from the BBC Copying Vinyl Recordings to CD
    If your Mac or PC hasn't got an audio in socket you can have a look at the Griffin iMic which connects to a USB port and comes with some software of it's own: iMic USB audio interface

  • HT1476 I bought an adapter for my itouch 5 so that i won't need a computer to charge my itouch gen5 - however, i noticed that it was acting up in such a way that i was having difficulty swiping the screen and even tapping the icons.

    I bought an adapter for my itouch 5 so that i won't need a computer to charge my itouch gen5 - however, i noticed that it was acting up in such a way that i was having difficulty swiping the screen and even tapping the icons. Is the only option for charging is the USB charger/connector? Or is there a specific device that I should use?

    iPhone 5 and the 5th gen iPod touches are having this problem without a charger, and will probably be fixed in the 6.1 update. See http://www.imore.com/iphone-5-touchscreen-behaving-badly-under-multiple-rapid-sw ipes

  • How can I remove asm and ocr installation in AIX?

    Hi,
    I try to install single instance with using ASM in AIX.
    But I did not make successfully.
    Now I want to remove ASM and OCR installation then
    I will plan to make new clear installation.
    How can I remove asm and ocr ??
    Or How can I control my removing is fully correct ?

    1) ASM Instance Clean-Up Procedures
    Stop all of the databases that use the ASM instance that is running from the Oracle home that is on the node that you are deleting.
    On the node that you are deleting, if this is the Oracle home which from which the ASM instance runs, then remove the ASM configuration by completing the following steps. Run the command srvctl stop asm -n node_name for all of the nodes on which this Oracle home exists. Run the command srvctl remove asm -n node for all nodes on which this Oracle home exists. If there are databases on this node that use ASM, then use DBCA Disk Group Management to create an ASM instance on one of the existing Oracle homes on the node, restart the databases if you stopped them.
    If you are using a cluster file system for your ASM Oracle home, then ensure that your local node has the $ORACLE_BASE and $ORACLE_HOME environment variables set correctly. Run the following commands from a node other than the node that you are deleting, where node_number is the node number of the node that you are deleting:
    rm -r $ORACLE_BASE/admin/+ASMnode_number
    rm -f $ORACLE_HOME/dbs/*ASMnode_number
    If you are not using a cluster file system for your ASM Oracle home, then run the rm or delete commands mentioned in the previous step on each node on which the Oracle home exists.
    2) Deleting an Oracle Clusterware Home Using OUI in Silent Mode
    !!! Oracle recommends that you back up your voting disk and OCR files after you complete the node deletion process.
    If you ran the Oracle Interface Configuration Tool (OIFCFG) with the -global flag during the installation, then skip this step. Otherwise, from a node that is going to remain in your cluster, from the CRS_home/bin directory, run the following command where node2 is the name of the node that you are deleting:
    ./oifcfg delif –node node2
    Obtain the remote port number, which you will use in the next step, using the following command from the CRS_home/opmn/conf directory:
    cat ons.config
    From CRS_home/bin on a node that is going to remain in the cluster, run the Oracle Notification Service Utility (RACGONS) as in the following example where remote_port is the ONS remote port number that you obtained in the previous step and node2 is the name of the node that you are deleting:
    ./racgons remove_config node2:remote_port
    On the node to be deleted, run rootdelete.sh as the root user from the CRS_home/install directory. If you are deleting more than one node, then perform this step on all of the other nodes that you are deleting.
    From any node that you are not deleting, run the following command from the CRS_home/install directory as the root user where node2,node2-number represents the node and the node number that you want to delete:
    ./rootdeletenode.sh node2,node2-number
    If necessary, identify the node number using the following command on the node that you are deleting:
    CRS_home/bin/olsnodes -n
    Perform this step only if your are using a non-shared Oracle home. On the node or nodes to be deleted, run the following command from the CRS_home/oui/bin directory where node_to_be_deleted is the name of the node that you are deleting:
    ./runInstaller -updateNodeList ORACLE_HOME=CRS_home
    "CLUSTER_NODES={node_to_be_deleted}"
    CRS=TRUE -local
    Deinstall the Oracle Clusterware home from the node that you are deleting using OUI as follows by running the following command from the Oracle_home/oui/bin directory, where CRS_home is the name defined for the Oracle Clusterware home:
    ./runInstaller -deinstall –silent "REMOVE_HOMES={CRS_home}"
    Perform step 9 from the previous section about using OUI interactively under the heading "Deleting an Oracle Clusterware Home Using OUI in Interactive Mode".

  • Solaris 10, ISALogic SCSI interface and ARCVault tape library

    I put an ISALogic SCSI interface card into a SunBlade 2000, installed
    Solaris 10_u4 on it and attached an ARCVault tape library. The system
    see the tape but fails to see the library and the robot. The robot and the
    tape are on the same scsi bus.
    I followed the instructions on how to do a scsi passthrough and did a probe-scsi-all
    at the ok prompt of the system.
    The probe on the ISAlogic interface card sent the system into a bus error.
    Any idea how I could make the robot visible on the same bus?
    Lydia

    A firmware update on the Blade solve the problem.

  • Combining ufsdump and a tape library

    Hi All,
    I have a question with regards to multi-volume backups using ufsdump and a tape library. Reading through the ufsdump documentation, I see that it has an option "l" (lowercase L), which says "When the end-of-tape is reached before the dump is complete, take the drive offline and wait up to two minutes for the tape drive to be ready again ...". However, when I use this option, and ufsdump reaches the end of the tape, it does not offline the tape drive. It sits there, waiting for a response to the question "DUMP: NEEDS ATTENTION: Do you want to restart?: ("yes" or "no")"...at no time does the tape drive go offline, which would allow me to write a script to detect the offlining of the tape, and swap it out for a fresh one.
    Basically, what i'm looking for is a way to allow ufsdump to span >1 tapes without operator intervention by having a script detect when it needs new media, and ask the library to load the next tape. However, ufsdump doesn't relinquish control of the tape drive, so I can't pop out the tape unless I kill it...
    Can anyone suggest a solution to automating multi-volume ufsdumps to tape?
    Thanks,
    -Adam Lundrigan
    [email protected]

    I don't think you can do this AND have a variable sized output media. You will get the restart question when it gets a tape error (which you will get if you write out too much). I think the only way you can do what you want is to conservatively figure out what would fit on a tape with compression, and giving a tape length where the length*bpi will give you that figure (ie, no errors on tape writes).
    -r

  • RAC with ASM and without ASM

    Hi all,
    we planing to install RAC 11g instance active/active . and we are using SAN storage RAID 10.
    I know ASM is nice feature . but it need more maintenance in future . This is what I see
    it from Manual and training . for patching ..... because it maintain as instance.
    why I do need ASM since I have SAN and I can control mirroring ...etc
    I need sold answer here ?? why I need to use this feature that already can be covered using another facility like SAN.
    Best Regards,

    What I have found in a RAC world is there is maintenance no matter which way you go, A cluster file system will require upgrades, patches, etc. RAW volumes will require extra effort in allocation, etc. as well as increase the number of files in the database. ASM requires additional instance on each node to maintain which is quite simple and rolling patches in ASM is becoming reality slowly. I have found that removing the management of RAW volumes is more trouble then the maintenance of the ASM instances and the added benefits of ASM outweigh the maintenance for sure. I found that the cluster file system mainteance is pretty well a wash.
    As for ASM being widely used, the most recent RAC clusters (last 3) I have built have all been ASM....... 1 on HPUX and 2 on Linux (Red Hat and Oracle Enterprise Linux) and future clusters coming up that I know of are all going to be ASM as well. While it may be true that a lot of existing RAC environments have not yet gone to ASM almost all new RAC environments are. It is certainly taking hold. If you look at the effort on a large database to move to ASM from RAW volumes or cluster file system it can appear to be a lot of work and that is true, but in the long run my experience with ASM has been positive therefore I would not hesitate to recommend new RAC clusters be built with ASM and existing clusters should have a migration plan in place. As with some cluster file systems like veritas, GPFS, etc. There is addtional cost involved where ASM does not have the additional cost so moving existing clusters can save $$........ RAM volumne management may not fall on the DBA but someone has to manage all those volumnes at a SAN level and that is additional management just may not really be with the DBA.
    Just my additional 2 cents worth.
    Hope this helps.

Maybe you are looking for

  • Why can't I print to a Zebra 2746e using the report tool kit?

    I have read on here how peoople have printed barcodes from LV by sending commands directly to a zebra printer. I am using LV8.2.1 on a windows xp computer. I am sending EPL2 messages to the printer using the report tool kit, but all I get is a couple

  • HT201394 Why does my iPhone 5s keep restarting? Updating to iOS 8.0.2 mans it worse.

    My iPhone 5s keeps restarting. Web pages keep resetting, apps crash and restart or freeze. iOS 8.0.1 has not made a scrap of difference. Have tried switching it iphone on and off. Rebooting, restarting. Turning off background apps from runming. Clear

  • Discoverer Server doesn't work (OAS 10.1.2)

    Hello, I tried to create connection in Discoverer Plus service of Oracle Application Server 10g Release 2 (10.1.2). But I get an error as an answer and suggesion: An administrator can further diagnose connection problems by running the "checkdiscover

  • HT5714 Where is my album

    I just got my debit out of my account I bought a iTunes card it was 25 dollars but it said I was credited with 22 on top of that I pre ordered an album that was 10.99 and it took 11 dollars and the album just says its purchased but won't download

  • HT1338 How do i unblock plug ins?

    how do i unblock plug ins?