Change db name in dataguard

Hello
Has anyone experience changing database name(including datafile locations),sid,data and control file location in operational dataguard setup
My understanding following below steps
1)shutdown primary and standby (stop managed recovery)
2)change db name in init.ora of primary and standby change database name control file location
3)create control file for primary from trace(script) make changes for db name and file locations
4)mount and open primary database
5)create standby control file
6) transfer standby control file to standby
7) mount stand by database and start manage recovery
let me know if these steps can change database name and file locations without any error
Thanks

I would think the control file would have to know about the change.
I would consider the DBNEWID Utility to change the database name if I had to.
If you change the database name the DBID will change.
I'm thinking it would require a standby rebuild.
Here's some more info:
http://www.oracle-base.com/articles/9i/DBNEWID.php (Should work in 9 and above)

Similar Messages

  • Change file name with oreilly servlet

    I am using oreilly servlet package and I want to change the file name to the file I am uploading, is this possible ?
    How ?
    Thanks.
    here I post the servlet code:
    package com.reducativa.sitio.servlets;
    * DemoParserUploadServlet.java
    * Example servlet to handle file uploads using MultipartParser for
    * decoding the incoming multipart/form-data stream
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import com.oreilly.servlet.multipart.*;
    public class DemoParserUploadServlet extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    response.setContentType("text/plain");
    out.println("Demo Parser Upload Servlet");
    File dir = new File("f:/");
    if (! dir.isDirectory()) {
    throw new ServletException("Supplied uploadDir " + "f:/ " +
    " is invalid");
    try {
    MultipartParser mp = new MultipartParser(request, 10*1024*1024); // 10MB
    Part part;
    while ((part = mp.readNextPart()) != null) {
    String name = part.getName();
    if (part.isParam()) {
    // it's a parameter part
    ParamPart paramPart = (ParamPart) part;
    String value = paramPart.getStringValue();
    out.println("param; name=" + name + ", value=" + value);
    else if (part.isFile()) {
    // it's a file part
    FilePart filePart = (FilePart) part;
    String fileName = filePart.getFileName();
    if (fileName != null) {
    // the part actually contained a file
    long size = filePart.writeTo(dir);
    out.println("file; name=" + name + "; filename=" + fileName +
    ", filePath=" + filePart.getFilePath() +
    ", content type=" + filePart.getContentType() +
    ", size=" + size);
    else {
    // the field did not contain a file
    out.println("file; name=" + name + "; EMPTY");
    out.flush();
    catch (IOException lEx) {
    this.getServletContext().log("error reading or saving file");
    }

    Hi there,
    I am facing the same problem that you have stated in your Feb 26, 2002 10:28 AM message regarding "change file name with oreilly servlet", I would like to change the file name to include a unique identifier upon upload, did you ever find a solution to your problem?
    Thanks!
    Todd
    [email protected]

  • How can i delete my  music from itunes it dont let me also how to change the name of the ipod shuffle it dont let me

    i need help please help me on itunes i try to change my name for the ipod shuffle and it dont let me it dont do anything also when i try to delete the music on it it dont show me if i want to delete or not the font is just gray and dont show any opitions also when i go on my iphone it lets me do all the stuff that it dont let me do i connect my iphone and it lets me delete music and change the name but the shuffle doesnt

    What happens when you try to change the Shuffle's name from under the Devices section in the left hand pane of iTunes?
    Is your iPod set up to manually manage its contents.  For more information, see your iPod's User Guide.
    http://support.apple.com/manuals/#ipodshuffle
    B-rock

  • I tried to change the name of my device and now I cant sync anything and it says there is a problem with the disk and when I changed the name back it still said the same thing so I restored my ipod (not from itunes but on the ipod itsself)

    And now its saying my ipod is corrupt. None of my stuff was erased from itunes it was only erased from my ipod so why am I not able to just sync everything back onto my ipod? why is it doing this now? I think this is ridiculous that just changing one name would do this much damage.

    There is a backup plan after doing the Restore.  Read this.

  • I changed the name of my imac to reflect it's new location, but inadvertently, it unchecked the box to allow the administrative user account to administer the machine.  I am trying to reinstall with a time machine backup and am unable

    I need a little help.  I changed the name of my imac to reflect it's new location, but inadvertently, when I saved the change, the system unchecked the "allow this account to administer the computer" so now I can't make any changes....  I tried to reinstall the OS, but it wants me to go online while installing and use my apple id, but this is not my iMAC, so I don't want to use my account.  Also, I am working in a building that will not allow me network access until I authenticate, which can't be done unless I open the browser first.  So I'm stuck at this point.  I can't even restore a time machine backup that I have because it gives the error message that the system encountered an error.  Any suggestions?

    Ask the admin/owner to sign in. 

  • Change the name of custom tab in me51n / me52n / me53n

    Hi,
    I have to add a few custom fields in PR item of  transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
    Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
    Can anyone suggest me how to go about doing this???
    Thanks in advance.
    Abhisek.
    P.S.:- Points will be be duly awarded 4 helpfull answers.

    Hi,
    I tried doing whatever you had suggested but it seems that it is not working.
    Could you suggest some other way to do this?
    Thanks and regards.
    Abhisek.

  • Changing Step Name in XML Report programmaticaly

    I am trying to change the step name programmaticaly in TestStand to reflect in the XML report. The step is executed several times in a loop, and every time the loop runs I want the step to be named differently in the XML report. For example, the names will be something like this < Test1: Signal Name 1>, <Test2: Signal Name 2> ....etc. Any help on this will be appreciated .
    Thanks,
    Sam

    Hi,
    The best time to change the name is before you perform the test, then it will get inserted in the ResultList and hence into your report.
    I have attached one way of doing this. You can also perform it after the Step you wish to change, in which case you would use the RunState.PreviousStep as a reference.
    You could call the API method as part of your code.
    Remeber, if you use a PropertyLoader to load Limits, and you have placed this inside the loop, then your Limits file for the Step Name must match the new step name not the old one that you see statically.
    This is a TS3.5 example.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏25 KB

  • How do I change the name I have called my MacBook Air so I can add 11" and 13" into the title of whose computer this is for more clarity when I set up Time Machine and save to it with both computers?  Both are named with "my name and MacBook Air"

    I'm still learning the whole Mac thing but these are great machines!  I purchased a MacBook Air 13" and then thought I should also get a MacBook Air 11" for travel.  When I set it up at the Apple store I told the assistant the exact same name for each machine, i.e., "my name and MacBook Air."  What I want to do is go back in and rename both of them adding the 11" and 13" designation to the name so that when I set up Time Machine or whatever else I know exactly which machine is what.  I'm sure it is very simple but I cannot seem to figure it out.  Help please. Thanks.

    Go to System Preferences - Sharing and change the computer name there. You can also, optionally, change the name of your hard drive to further clarify the origin of your backups. Click once on the "Macintosh HD" on your desktop, then click its name to allow you to edit it.
    Matt

  • I gave my wife a new Ipad 2 she gave me hers old one How do I change her name to mine and get access to my emails

    I gave my wife an ipad 2 she gave me her old ipad how do I change her detail to me and access my email account on her Ipad
    This will be I guess the first of many questions
    Thanks

    You really should download and read the user guide that roaminggnome gave you the link for in the post above.
    If you want to totally start from scratch and erase all of her content go to Settings>General>Reset>Erase All Content and Settings. This removes everything from the device and returns it to out of the box status. You can also restore the iPad as a new device in iTunes and that erases everything as well. This article explains that process.
    http://support.apple.com/kb/ht1414
    If you want to rename the iPad, connect the iPad to your computer and launch iTunes. Double click on the text of the iPad's name on the left grey source list of iTunes and you can change the name of the iPad. When you are finished typing in the new name, hit the return key on your keyboard. This article explains it for you.
    http://support.apple.com/kb/ht3965
    You will want to delete her mail accounts on the iPad if you have not done so already and set up your own mail accounts. This article will tell you how to do that.
    http://www.apple.com/support/ipad/assistant/mail/

  • How can I change the names of catagories that have been added to my music library?  Is it possible to change names or artists or gendre and how to do it?

    How do I change the names of artists or gendre in the itunes list after importing an album?  Is it posssible to change that information?

    Yes. Select one or more tracks (use ctrl or shift clicks to add/remove or extend a selection) then right-click or press CTRL-I to Get Info. Use the different tabs of the dialog to make changes.
    For general advice on getting things neat & tidy see my article on Grouping tracks into albums.
    tt2

  • I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync each phone separately

    I have two iphone 4's with the same name on one computer.  Can I change the name of one so that I can sync contacts separately?

    How to rename your device in iTunes

  • How can I change the name of my home directory?

    When I first set up my Macbook Pro a year ago, I put my first and last name. I didn't like this and later changed the login name to just my first name, but the "home" directory is still listed as my full name on the side panel in Finder windows. How can I change this, it won't let me rename that.

    Barney-15E wrote:
    You should have experienced that same effect when you managed to change you login name. How did you change your login name?
    I imagine that has something to do with why everything 'disappeared' when you changed the directory name.
    It's actually pretty simple to change the login name, and it doesn't affect files at all.
    All I did was change the field labeled "user name".
    Niel wrote:
    Move all of your files to the other home folder in the Users folder and then change the name.
    (38519)
    I'll try that, thanks.

  • How can I change the name of my ipod touch?

    I want to change the name of my ipod touch so that it shows up in itunes as a different name than it currently does. How do I do this or is it not possible?

    No you don't!
    Go to Settings >Genreal> About>Name.  Next to this you should see the existing name.Just click and type!

  • How can I change the name of item in TableViewController iOS

    How can I change the name of item in TableViewController? I want to be able to change the title of an item if I added one. Code:
    //  ViewController.m
    //  Movie List
    //  Created by Damian on 20/02/15.
    //  Copyright (c) 2015 Tika Software. All rights reserved.
    #import "ViewController.h"
    @interface ViewController ()
    These outlets to the buttons use a `strong` reference instead of `weak` because we want
    to keep the buttons around even if they're not inside a view.
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *editButton;
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *cancelButton;
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *deleteButton;
    @property (nonatomic, strong) IBOutlet UIBarButtonItem *addButton;
    // A simple array of strings for the data model.
    @property (nonatomic, strong) NSMutableArray *dataArray;
    @end
    #pragma mark -
    @implementation ViewController
    - (void)viewDidLoad
        [super viewDidLoad];
         This option is also selected in the storyboard. Usually it is better to configure a table view in a xib/storyboard, but we're redundantly configuring this in code to demonstrate how to do that.
        self.tableView.allowsMultipleSelectionDuringEditing = YES;
        // populate the data array with some example objects
        self.dataArray = [NSMutableArray new];
        NSString *itemFormatString = NSLocalizedString(@"Movie %d", @"Format string for item");
        for (unsigned int itemNumber = 1; itemNumber <= 0; itemNumber++)
            NSString *itemName = [NSString stringWithFormat:itemFormatString, itemNumber];
            [self.dataArray addObject:itemName];
        // make our view consistent
        [self updateButtonsToMatchTableState];
    #pragma mark - UITableViewDelegate
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
        return self.dataArray.count;
    - (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath
        // Update the delete button's title based on how many items are selected.
        [self updateDeleteButtonTitle];
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
        // Update the delete button's title based on how many items are selected.
        [self updateButtonsToMatchTableState];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
        // Configure a cell to show the corresponding string from the array.
        static NSString *kCellID = @"cellID";
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kCellID];
        cell.textLabel.text = [self.dataArray objectAtIndex:indexPath.row];
        return cell;
    #pragma mark - Action methods
    - (IBAction)editAction:(id)sender
        [self.tableView setEditing:YES animated:YES];
        [self updateButtonsToMatchTableState];
    - (IBAction)cancelAction:(id)sender
        [self.tableView setEditing:NO animated:YES];
        [self updateButtonsToMatchTableState];
    - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
        // The user tapped one of the OK/Cancel buttons.
        if (buttonIndex == 0)
            // Delete what the user selected.
            NSArray *selectedRows = [self.tableView indexPathsForSelectedRows];
            BOOL deleteSpecificRows = selectedRows.count > 0;
            if (deleteSpecificRows)
                // Build an NSIndexSet of all the objects to delete, so they can all be removed at once.
                NSMutableIndexSet *indicesOfItemsToDelete = [NSMutableIndexSet new];
                for (NSIndexPath *selectionIndex in selectedRows)
                    [indicesOfItemsToDelete addIndex:selectionIndex.row];
                // Delete the objects from our data model.
                [self.dataArray removeObjectsAtIndexes:indicesOfItemsToDelete];
                // Tell the tableView that we deleted the objects
                [self.tableView deleteRowsAtIndexPaths:selectedRows withRowAnimation:UITableViewRowAnimationAutomatic];
            else
                // Delete everything, delete the objects from our data model.
                [self.dataArray removeAllObjects];
                // Tell the tableView that we deleted the objects.
                // Because we are deleting all the rows, just reload the current table section
                [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic];
            // Exit editing mode after the deletion.
            [self.tableView setEditing:NO animated:YES];
            [self updateButtonsToMatchTableState];
    - (IBAction)deleteAction:(id)sender
        // Open a dialog with just an OK button.
        NSString *actionTitle;
        if (([[self.tableView indexPathsForSelectedRows] count] == 1)) {
            actionTitle = NSLocalizedString(@"Are you sure you want to remove this movie?", @"");
        else
            actionTitle = NSLocalizedString(@"Are you sure you want to remove these movies?", @"");
        NSString *cancelTitle = NSLocalizedString(@"Cancel", @"Cancel title for item removal action");
        NSString *okTitle = NSLocalizedString(@"OK", @"OK title for item removal action");
        UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:actionTitle
                                                                 delegate:self
                                                        cancelButtonTitle:cancelTitle
                                                   destructiveButtonTitle:okTitle
                                                        otherButtonTitles:nil];
        actionSheet.actionSheetStyle = UIActionSheetStyleDefault;
        // Show from our table view (pops up in the middle of the table).
        [actionSheet showInView:self.view];
    - (IBAction)addAction:(id)sender
        [self.dataArray addObject:@"New Movie"];
        // Tell the tableView about the item that was added.
        NSIndexPath *indexPathOfNewItem = [NSIndexPath indexPathForRowself.dataArray.count - 1) inSection:0];
        [self.tableView insertRowsAtIndexPaths:@[indexPathOfNewItem]
                              withRowAnimation:UITableViewRowAnimationAutomatic];
        // Tell the tableView we have finished adding or removing items.
        [self.tableView endUpdates];
        // Scroll the tableView so the new item is visible
        [self.tableView scrollToRowAtIndexPath:indexPathOfNewItem
                              atScrollPosition:UITableViewScrollPositionBottom
                                      animated:YES];
        // Update the buttons if we need to.
        [self updateButtonsToMatchTableState];
    #pragma mark - Updating button state
    - (void)updateButtonsToMatchTableState
        if (self.tableView.editing)
            // Show the option to cancel the edit.
            self.navigationItem.rightBarButtonItem = self.cancelButton;
            [self updateDeleteButtonTitle];
            // Show the delete button.
            self.navigationItem.leftBarButtonItem = self.deleteButton;
        else
            // Not in editing mode.
            self.navigationItem.leftBarButtonItem = self.addButton;
            // Show the edit button, but disable the edit button if there's nothing to edit.
            if (self.dataArray.count > 0)
                self.editButton.enabled = YES;
            else
                self.editButton.enabled = NO;
            self.navigationItem.rightBarButtonItem = self.editButton;
    - (void)updateDeleteButtonTitle
        // Update the delete button's title, based on how many items are selected
        NSArray *selectedRows = [self.tableView indexPathsForSelectedRows];
        BOOL allItemsAreSelected = selectedRows.count == self.dataArray.count;
        BOOL noItemsAreSelected = selectedRows.count == 0;
        if (allItemsAreSelected || noItemsAreSelected)
            self.deleteButton.title = NSLocalizedString(@"Delete All", @"");
        else
            NSString *titleFormatString =
            NSLocalizedString(@"Delete (%d)", @"Title for delete button with placeholder for number");
            self.deleteButton.title = [NSString stringWithFormat:titleFormatString, selectedRows.count];
    @end

    Hey JB001,
    Sounds like you have more going on than just a simple issue with Home Sharing and more dealing with Wi-Fi syncing. Start with the article below and see if that may resolve it.
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi syncing
    http://support.apple.com/kb/TS4062
    If it does not work out, then may I suggest contacting Apple for further assistance to walk you through it or just take that time that you were talking about to sort it out.
    Contact Apple Support
    https://getsupport.apple.com/GetproductgroupList.action
    Regards,
    -Norm G.

  • How do I change the name of my Apple ID and iCloud account?

    I want to change my Apple ID to a @me.com or a @apple.com account cause right now it's an ugly hotmail account.
    I did read this page: http://support.apple.com/kb/HE40. But it is not helping me.
    When I change my e-mail to my @me account it gives an error. So what account should I use? Do I have to make a new one?
    Tristan

    I already got an iCloud account which is named the same as my Apple ID but I want to change the name of it to another e-mail account from Apple. So I need a new e-mail addres. Where can I make a new e-mail account? When I've got a new e-mail addres then I will use that in stead of my hotmail account.

Maybe you are looking for

  • WWI Server configuration for EHS

    Dear Experts, First time i have sucessfully installed and started the EHS in my Server, but after installing MS Word in my server i have uninstalled teh EHS and installed again in my server but this time EHS service is not running it is giving the fo

  • HELP!!! Suddenly unable to open .pdf in IE6 or IE7

    Every .pdf I try to open, results in a new window with the deadly red X in the corner. I tried uninstalling Reader 8.1.1 but I get the message: "The installation source for this product is not available. Verify that the source exists and that you can

  • JDBC and Linguistic Sorting

    The problem: oracle jdbc thin driver doesn't see environment variable NLS_SORT Description: We have a lot of code written in coldfusion and now we would like to switch form CF5 to CFMX. We use oracle thin driver to connect CFMX to oracle DB. The prob

  • How to redirect in java code not the jsp or any other

    hello can any one help me how to redirect in java pages the code must be in java function not in jsp or any thing else thanks in advance

  • SharePoint Integration with Elements

    Does the latest version of Photoshop Elements allow you to save directly to a SharePoint library?  If not, is there a third-party tool/add-on that enables this?