Change Snapshot controlfile name

We are using RAC.
When I try to chage the location of snapshot controlfile location,connecting to both catalog and target database(as sys) to a locaton shared by all the instance using
RMAN> configure snapshot controlfile name to '/oracle/test_flash/ASYST/backupset/p1/snapcf_ASYST.f';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of configure command at 09/01/2013 02:23:12
RMAN-03014: implicit resync of recovery catalog failed
RMAN-03009: failure of full resync command on default channel at 09/01/2013 02:23:12
ORA-01580: error creating control backup file /f37back/oradata/flash_recovery_area/EDBT/backupset/p1/snapcf_EDBT.f
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
But when I connect to the target database as sys and execute the below, the location of the controlfile chaged
SYS@ASYST1 > EXECUTE SYS.DBMS_BACKUP_RESTORE.CFILESETSNAPSHOTNAME('/oracle/test_flash/ASYST/backupset/p1/snapcf_ASYST.f');
PL/SQL procedure successfully completed.
What is the difference between the two ?

It seems that the *supported* method of the RMAN command line attempts to create the snapshot controlfile while the *unsupported* method of the PLSQL API doesn't attempt to do so.
Which would you rather use, one that is supported or one that is not documented, not supported ?
Hemant K Chitale

Similar Messages

  • Snapshot controlfile

    Hi folks,
    what is the difference between snapshot control file and backup control file ?
    Thanks & regards.

    Hi,,
    For example:
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘/oracle/ora10g/dbs/snapcf_test11g.f’
    RMAN needs a snapshot control file when resynchronizing with the recovery catalog or taking a backup of the current control file. The default location is platform specific and depends on the Oracle home of each target database. In Linux environment it locates in $ORACLE_HOME/dbs directory. You can change its location with this configuration.
    For example:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO ‘%F’
    By default, RMAN automatically names control file backups and  saves them into FRA. To configure RMAN  to write control file backups to the specific directory:  %F will generate a unique filename likes  c-‘IIIIIIIIII- YYYYMMDD-QQ’ . Here  ‘IIIIIIIIII’ is DBID, ‘YYYYMMDD’ is date and  ‘QQ’ is hexadecimal id. You can also backup controlfile to specific location.
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO ‘ora_home/oradata/cf_%F’;
    Thank you

  • Error when I configure snapshot controlfile RMAN

    Dear Experts,
    I have Oracle 11g R2 DB Primary and Standby in Two Machines
    I have Window Server 2008
    I am new for RMAN tools
    I am doing RMAN configuration on Primary Side
    I did OS Maping for one drive on Primary Side
    Now I am doing RMAN configuration as below:
    configure default device type to disk;
    configure device type disk parallelism 4 backup type to backupset;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'Z:\RmanControlFileBackup\cf%F';
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '+FRA';
    configure controlfile autobackup format for device type sbt to 'backup_%d_controlfile_%F';
    configure retention policy to redundancy 4;
    configure archivelog deletion policy to NONE;                                            
    configure snapshot controlfile name to 'Z:\RMANCONTROLFILEBACKUP\SNAPSHOT_EPPROD1_CF.CTL';
    Then I get the following error.... I don't know how can I clear it I did my search on line I found this link
    http://pavelermakov.wordpress.com/2011/11/08/ora-01580-error-creating-control-backup-file/
    EXECUTE SYS.DBMS_BACKUP_RESTORE.CFILESETSNAPSHOTNAME('/u01/app/oracle/product/11.2/db/dbs/snapcf_db1.f');
    I could not implemented on my setup becuase I don't have file snapcf_db1.f ... Please any help will be appreciated.
    any body have any solution .
    I need to clear last configureation ...configure snapshot controlfile name to 'Z:\RMANCONTROLFILEBACKUP\SNAPSHOT_EPPROD1_CF.CTL'; which make this error.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 12/19/2013 08:44:57
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-03009: failure of full resync command on default channel at 12/19/2013 08:44:57
    ORA-01580: error creating control backup file Z:\RMANCONTROLFILEBACKUP\SNAPSHOT_EPPROD1_CF.CTL
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.

    Hi,
    >RMAN-03002: failure of configure command at 12/19/2013 08:44:57
    >RMAN-03014: implicit resync of recovery catalog failed
    >RMAN-03009: failure of full resync command on default channel at 12/19/2013 08:44:57
    "DO NOT CONNECT TO THE CATALOG "
    Thank you

  • Determine location of snapshot controlfile

    Hi,
    Do you know how to determine the location of the snapshot controlfile, whatever your rman version is?
    In 9i and 10g, I can do RMAN> show snapshot controlfile name;I wonder if this is possible in RMAN8i, since the show command does not exist.
    I found out the X$ table where it is stored, x$kccfn and an internal query done by Oracle, select fnnam from x$kccdi di ,x$kccfn fn where ((di.disfp=fn.fnnum and bitand(di.diflg,8192)=8192) and fn.fntyp=0);, which provides the correct answer.
    But it is not too much easy :-( Is there a recommended way to check it in 8i?
    Regards + Thanks
    Laurent
    Regest

    maybe dbms_backup_restore.GETPARM(0) ...

  • Can I change TimeMachine volume name for local snapshots?

    Hi all,
    I had a problem with my hard drive and after restoring the volume, where TimeMachine stores local snapshots, has a strange name (some autogenerated text). Is it possible to specify the volume name explicitly?
    Thank you
    Regards
    Marcel

    I think so, just as you can change any volume name.
    CLick on the title and type in the box to have a new name.  You may have to reelect that volume using TM's preference pane.
    Jay

  • How to change the SID name in the server

    hi all,
    i installed oracle 10g R1 on windows 2003 server. i gave an sid and created a database. the database is new and there is no data in the db. now i want to change the SID name of the database. pls help me in doing this.
    regards,
    nagarjuna

    Hi,
    Just a notice: SID and DBNAME are two different things. But the usual practice is to have SID = DBNAME, so let me assume you want to change both SID and DBNAME.
    Either you can do it manually by recreating the controlfile as orawiss suggests. You may discover some challenges around the way (for instance, for the command CREATE CONTROLFILE SET "new_dbname" to work, you have do delete or rename the old controlfiles first).
    Or, you can change it easier by using nid utility. The detailed howto and all implications can be found on:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dbnewid.htm
    Basically:
    SQL> create pfile from spfile;
    SQL> shutdown immediate;
    nid TARGET=sys/password@oldname DBNAME=newname
    copy the initoldname.ora to initnewname.ora and edit the DB_NAME parameter to reflect the new name
    sqlplus / as sysdba
    SQL> create spfile from pfile;
    SQL>startup mount;
    SQL> alter database open resetlogs;
    Then don't forget to generate new password file for the new dbname (using orapw) and make changes in tnsnames.ora and listener.ora if needed.
    Just make sure, the database has been properly shut down before changing the db_name either manualy by recreating controlfile or by the newid utility, as the renamed database has to be opened with resetlogs - making any crash recover of improperly shut down database impossible.
    Kind regards,
    Martin

  • Change rpool dataset name

    Can I change the dataset name for a root pool? When I built the system I modified the default dataset name to something less confusing. Now it need to change and rebuilding the system is not an option.
    Is this possible w/o damaging the system?
    Thanks

    You can rename the dataset using:
    # zfs rename rpool/ROOT/server-foo rpool/ROOT/app-server
    From the zfs(1M) man page:
         zfs rename filesystem|volume|snapshot
         filesystem|volume|snapshot
         zfs rename [-p] filesystem|volume filesystem|volume
             Renames the given dataset. The new target can be located
             anywhere  in  the  ZFS  hierarchy, with the exception of
             snapshots. Snapshots can  only  be  renamed  within  the
             parent  file system or volume. When renaming a snapshot,
             the parent file system of the snapshot does not need  to
             be  specified  as  part  of the second argument. Renamed
             file systems can inherit new mount points, in which case
             they are unmounted and remounted at the new mount point.
             -p
                 Creates  all  the   nonexistent   parent   datasets.
                 Datasets  created  in  this manner are automatically
                 mounted according to the mountpoint property  inher-
                 ited from their parent.
         zfs rename -r snapshot snapshot
             Recursively  rename  the  snapshots  of  all  descendent
             datasets.  Snapshots  are  the  only dataset that can be
             renamed recursively.You'll need to ensure the application is down so the umount works. Alternatively you can keep the current dataset name and change the mountpoint using 'zfs set mountpoint=/app-server rpool/ROOT/app-server'
    Am I indeed in the wrong forum?Yes. There isn't currently a dedicated ZFS forum so it's best to use the Solaris 10 or Solaris 11 forums. If you have a support contract there IS a dedicated ZFS area on http://communities.oracle.com

  • We have an itunes account on our desktop and my kids have it on their ipod and iphone. I went in and changed our user name from my old e-mail address which is no longer accessible to my new one and now either of my kids can access the itunes store..

    We have an itunes account on our desktop and both my kids have it on iphone and ipod. I went in and changed out user name from an old e-mail address which is no longer accessible to my one I use now... When the kids try to sign onto the itunes store it tells them they have the wrong user name..
    Can this be fixed??

    Did you change the email address or create a new Apple ID?
    If the email address associated with the account was merely changed, sign out of the Apple ID on the devices and sign in using the new credentials.

  • How can I change my user name? Someone else is using "phammm" my user name. At this point I cannot sign in with my email address and change my name. Help!

    When I try to access the user forum, I have this problem. I am trying to access the forum for a problem with Firefox. NOte the typo; my user name is phamm.

    hey...thanks for your post....ok I followed your instructions but seems this is what i had already done...
    so say when I turn my computer on
    I get
    MAC OS X
    Louise xOldsurnamex
    Login user: Louise xnewsurnamex
    Password-----------
    So I have already changed the login name and it is the only one showing in accounts (and is admin)
    What i want to change is the name above...I am unsure how to describe it? Basically the name of my computer???
    Errr is this poss? Do you know what i am describing?
    Thanx Louise

  • How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    How do I change my user name in syn? I typed in the wrong email address. And I cancelled syn thinking this may work but no luck.

    You have to clear saved password for this page:
    # Open you login page (where you have to enter username and password).
    # Right click on page and select '''Page Info''' form context menu.
    # On last tab ('''Security''') there is '''View saved passwords''' button, click it and delete all saved passwords for this page.
    # Also clear all related cookies (just in case) there is button for this next to first one.

  • Unable to change group text name or add person to some group texts in iOS 8

    I really like the ability to change group text names as it helps me separate work group texts from personal especially when I have coworkers that have separate business phones. I'm unable to change the name of some group texts as the option is not there when I go into details. I'm also unable to add contact to the same group texts that I'm unable to change the name on. Is this a glitch or am I missing something?

    Hi CaliWingsFan,
    If you are having issues with renaming and adding users to group texts, you may want to try some things to troubleshoot.
    First, quit all running applications and test again -
    iOS: Force an app to close
    Next, I would try restarting the iPhone -
    Turn your iOS device off and on (restart) and reset
    If the issue is still present, you may want to restore the iPhone as a new device -
    iOS: How to back up your data and set up your device as a new device
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How can I change the account name in iCloud.  My email has changed and I want to change it on iCloud.

    How can I change the account name in iCloud.  My email has changed and I want to change it on iCloud.

    To change your iCloud ID, go to Settings>iCloud, tap Delete Account, then sign back in with the new ID.  This deletes the account and your iCloud data from your device, but not from iCloud.  Provided you are signing back into the same account, your iCloud data will reappear on your device when you sign back in.
    To avoid losing photo stream photos, save them to your camera roll (if not already there) before deleting the account.  To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, then tap Save to Camera Roll.
    To change the ID on your Mac, go to System Preferences>iCloud, sign out, choose Delete for all the prompts (your data will still be in iCloud), then sign back in with the changed ID.

  • How can I change the "Full Name" for my iCloud account?

    Hello,
    At some point in the past, iCloud started identifying me as someone else when I send emails. This incorrect name appears to be the "Full Name" setting of the email account, but when modifying the properties for the email account in Mail the field for modifying the "Full Name" setting is disabled, not allowing me to make any changes.
    Where is the correct place to change the "Full Name" setting for my iCloud account?
    Thanks,
    - Josh
    <Email Edited By Host>

    I believe it can be changed by going to https://appleid.apple.com/, click Manage your Apple ID, sign in with your iCloud ID, select "Name, ID and Email Addresses", then click "Edit" next to the name listed under "Your Name" and change it as desired.
    Also, if you are trying to change the sender name for your iCloud email account, you'll want to go to icloud.com, sign into your account, open Mail, click the gear shaped icon on the bottom left and choose Preferences, go to the Accounts tab and enter the name you want to use in the Full Name field and click Done.  Then quit Mail (Command-Q) on your Mac and re-open it.  Your new From name should now appear in the drop-down list when you compose a new email.
    (The image was removed in your post above because it showed your iCloud email address.)

  • How can i change the screen name in my icould account?

    my Apple ID used to have my Dad's name because of the billing issues.. now is changed again to have my name, but i keep seeing that my account on icloud.com still says my dad's name, so if i try to send an email through there it says my dad's name and my email address instead of my name...
    how can i change the name that appears linked to my icloud account? (note that as i already sayd my Apple ID has my name now, i jsut want to know why is not my name in my icloud account?)
    thank you,

    I believe it can be changed by going to https://appleid.apple.com/, click Manage your Apple ID, sign in with your iCloud ID, select "Name, ID and Email Addresses", then click "Edit" next to the name listed under "Your Name" and change it as desired.
    Also, if you are trying to change the sender name for your iCloud email account, you'll want to go to icloud.com, sign into your account, open Mail, click the gear shaped icon on the bottom left and choose Preferences, go to the Accounts tab and enter the name you want to use in the Full Name field and click Done.  Then quit Mail (Command-Q) on your Mac and re-open it.  Your new From name should now appear in the drop-down list when you compose a new email.
    (The image was removed in your post above because it showed your iCloud email address.)

  • How can I change the "short name" of my account?

    I want to change the short name of my account because when my dad bought this computer for me he set up the account with his name as the short name and it has been bothering me ever since.
    When I go to system preferences and then accounts my account is listed and when I click on it under password I am able to change my name, but not my short name because it is greyed out and cannot be clicked. Is there any way to change the short name on my account? I can't even delete my account and make a new one because the account delete button is greyed out when I click on my account.
    Also, I went to my home folder and changed that from my dad's name to my name. This has reset every program on my computer to default settings! For example when I open my Safari browser a message pops up saying a keychain cannot be found to store Safari and asks me if I want to restore default settings.
    So pretty much I've tried to change the short name on my administrative account, I reset everything to default settings and my short name is still my father's name. Can anyone help me out here?

    Try this.
    Or you could just create a new account and delete the old one.

Maybe you are looking for

  • Wish list for Premiere CS6

    Please invest in getting a good slow motion plugin bundled with premiere cs6, the current slow mo is choppy at best even with frame blending. Get twixtor or other bundled with cs6 please. There should be a button to deactivate all plugins/effects on

  • Additional field in infotype 0009 issue ( PBO and PAI )

    Hi Guru, I need your help please. I have a additional field in IT0009 and when I want created a new infotype 0009, I fill all field but after ENTER or SAVE all field are save in the layout but not the additional field. To save the additional field in

  • Why I use bing rather than google?

    What are the benefits of searching information in bing rather than google?

  • Why iTunes 10.4 can't see myiPhone 3gs FW 4.3.3?

    I tried reintsatlling iTunes but this didnt help at all. I have OSX 10.7

  • LR or PS for best uprezzing - confused

    Just read the excellent article "The Right Resolution" by Jeff Schewe in DigitalPhotoPro. But it has left me with a question: I have a (new) Epson R3000, so I want to print my images at 360ppi. 0. Using Photoshop CS5, I can use Image Resize to set th