Stop seconday database when it is in restoring state

Hi All,
We are planning to perform Switch from primary  to secondary server by using Libelle tool.
Before switch we have planned to increase the server resources and make it same as primary.
So for that we need to stop database running on secondary server. and database is in restoring mode.
So my question is it good to simply stop the database and when resources are increased start the database again.
If yes: Then database will come to restore stage again?
If No: Then what other strategy should we take?
Regards,
Mohit

Hi Mohit
Yes its simple shutdown & start the secondary server during the time primary restore stage. before that you can perform the truncate log backup in primary, check the log truncate completed on both servers and than do the hardware maintenance during this process keep an eye on log DB
Regards
Ram

Similar Messages

  • Restore state of listview connected with CollectionViewSource

    Hi it's 10 days that I'm stuck on saving and restoring state of ListView connected to collection ViewSource
    there's nothing special... the problem is that when I try to restore state save scrollview(extracting from ListView) position (VerticalOffset), then restoring, the position of scroll is wrong, so for eg. items in the middle of the listview are wrong.
    In few words all seem works, I mean saving and restoring,  but actually the scroll position is completely wrong, when I try to restore scrollposition near middle of the list, if the position to restore is near bottom or top it works fine.
    So, I mean, if I scrolled near item in the middle, then suspending and resuming the position is not right but is some items down...
    the listview is groupped with albums (group ) and songs (item), nothing special, here's a piece of code
    restore
    /// <summary>
           /// Invoked when this page is about to be displayed in a Frame.
           /// </summary>
           /// <param name="e">Event data that describes how this page was reached.
           /// This parameter is typically used to configure the page.</param>
           protected override void OnNavigatedTo(NavigationEventArgs e)
               //RESTORE
               if (!string.IsNullOrWhiteSpace(_pageKey)) return;   //vuol dire che lo stato è caricato e non necessita altro
               this._pageKey = "PageSongView";
               var frameState = SuspensionManager.SessionStateForFrame(this.Frame);
               if (frameState.ContainsKey(_pageKey))
                   var pageState = frameState[_pageKey] as Dictionary<String, Object>;
                   if (pageState.ContainsKey("AlbumListIn.VerticalOffset"))
                       var v_offset = (double?)pageState["AlbumListIn.VerticalOffset"];
                       AlbumListIn.Loaded += (snd, arg) =>
                           var scroll_viewer = VisualTreeHelperEx.ScanVisualTree<ScrollViewer>(AlbumListIn).First();
                           scroll_viewer.Loaded += (snd2, arg2) =>
                              scroll_viewer.ChangeView(null, v_offset, null, false);
    save
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    //SAVE
    var frameState = SuspensionManager.SessionStateForFrame(this.Frame);
    var pageState = new Dictionary<String, Object>();
    _saveState(pageState);
    frameState[_pageKey] = pageState;
    private void _saveState(Dictionary<string, object> pageState)
    var scroll_viewer = VisualTreeHelperEx.ScanVisualTree<ScrollViewer>(AlbumListIn).First();
    pageState["AlbumListIn.VerticalOffset"] = (double?)scroll_viewer.VerticalOffset;
    var k = 0;
    in the xaml
    <ListView x:Name="AlbumListIn"
    ItemsSource="{Binding Source={StaticResource AlbumCollection}}"
    XamlHlp:XamlHelper.SetItemsCommand="{Binding Path=VM.SongItemControl.SelectedSongItemsCommand, Source={StaticResource SongService}}"
    SelectionMode="{Binding Path=VM.SongItemControl.IsMultipleSelection, Source={StaticResource SongService},Converter={StaticResource BoolSelMode}}"
    Style="{StaticResource AlbumSongZoomInStyle}"
    >
    <ListView.GroupStyle>
    <GroupStyle HeaderTemplate="{StaticResource AlbumListGroupHeaderDT }">
    </GroupStyle>
    </ListView.GroupStyle>
    </ListView>
    please help me I'm really stuck and I don't find any solution...

    >In few words all seem works, I mean saving and restoring,  but actually the scroll position is completely wrong, when I try to restore scrollposition near middle of the list, if the position to restore is near bottom or top it works fine.
    I think this may be due to cached UI layout, this need to measure again manually: 
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.measure.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.arrange.aspx
    If the above methods are not working, share a demo.
    Best Regards,
    Please remember to mark the replies as answers if they help

  • When I try to restore my iPod, it stops restoring at the same place and doesn't work. How do I fix this and make it completely restore itself?

    When I try to restore my iPod, it stops restoring at the same place and doesn't work. How do I fix this and make it completely restore itself?

    Did you make sure that your security software allows iTunes to contact Apple during the restore process? http://support.apple.com/kb/TS3125

  • HT201263 how do you stop recovery mode to prevent you loseing all your data on your device when you have to restore it?

    How do you stop recovery mode to prevent you loseing all your data on your device when you have to restore it?

    The thing is i did not start recovery mode, it did it automatically when i was updating to ios6 and  an error occured.

  • Why when i go to restore my iphone does itunes stop working?

    my phone went into recovery mode for some reason, and when i go to restore it on itunes it gets to "registering with apple" and then a message comes up saying itunes has stopped working. any ideas?

    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    The above comes from:
    http://support.apple.com/kb/TS3694

  • TS3694 when i try to restore my phone on itunes it stops half way through and says error 29 unable to restore

    when i try to restore my iphone 4s it say unable to complete restore error 29 now i cant use my phone at all

    Hello, gordy69. 
    Thank you for visiting Apple Support Communities. 
    I see you came from the most relevant article in regard to not being able to restore your iOS device.  I would take a look at the section I highlighted below.  Make sure to try the steps outlined in that section. 
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/TS3694
    Cheers,
    Jason H. 

  • I just got a new iPhone 6 but when I did the restore from backup of my old iPhone 4; none of my pictures were there and almost all of my calendar was missing. Can anyone help?

    Hi, I just bought an iPhone 6, 64GB and had everything ready to do the "restore from backup" from my old iPhone 4 8GB. It kept stopping and I'd have to start over from the beginning. When I finally got it to do something with the help of my provider(who had walked me thru from the beginning anyway); I figured I was all set. Then I went to see my pics to use one for my lock screen and there were NO PICTURES AT ALL and only part of my calendar came over. I'm missing a lot of future appointments that I know are set up. I made sure not to wipe out my old one yet; as I will have to since I did the trade in plan; so I still have my old iPhone 4 and it has everything in it, in addition to having the backup on two computers in the house.
    I also tried syncing it after the restore since things were missing, but that didn't work either.
    I would appreciate any help so I can use my phone and get going with it.
    Thanks!

    Did you choose the wrong back up? There should be a drop box when you go to "Restore from Back up" in iTunes and your iPhone is plugged in, on the Summary page. Choose the correct back up. If you can't find one, and you still have your device, back up your iPhone 4 again and then choose that back up. Or check for an old iCloud back up if you have one.

  • I downloaded 5 to my itunes.  When I tried to update my iPad 2 it extracted the informaion and then when it tried to restore the iPad, I got an error message saying that my iPad malfunctioned, it went into recovery mode, and it would not restore.

    When I downloaded (on PC) the new 5 it crashed my iPad 2. I worked for two days to get it to stop the malfuction, went to the apple store for four hours, iPad crashed again, got a new one, new iPad crashed when I tried to restore my back up.  Down loaded iTunes to an employees computer, I was able to restore iPad to factory settings but my itunes account is on my office computer and now I am afraid to plug it into my computer.  I did delete the back up as maybe that is currupt and making it crash???  Any body know about this? 

    This is Linda again.  The new iPad actually as not restored on my employees computer. I thought it was working.  Message said the device is in recovery mode and can not be restored.  I have been at the Apple store for a total of 6 hours and on the phone with support for at least 4 hours.  And now the replacement has crashed???  Has this happened to any one else?

  • I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one made AFTER the lost data. How can I access an older backup from the cloud?

    I upgraded to the new IOS, but lost data and apps. When I try and restore the only backup I see is the one it made AFTER the lost data. How can I access an older backup from the cloud?

    Why don't you talk to apple and find out if backup exists? That conversation with apple will stop your guessing.

  • ANY ONE KNOW WHAT IS ERROR 3 IN ITUNES WHEN I TRY TO RESTORE

    Please help ,what is (UNKOWN ERROR 3) in itunes when i try to restore ipad 3 to ios7 please help >   
    Does someone know how to fix it?

    I am also facing the same issue.
    four days back, my power buttton stopped working.
    Then my sim card slot stopped reading like it was stuck at gsm/cdma band.
    Even without simcard it said searching..
    then I changed the power button and antenna strip myself as my iphone5 is uk ee and i live in india.
    Everything was fine and I booted the phone.
    The power button worked like a new device... but the searching problem still remained.
    I hard resetted my phone but to no vail. even Find My phone was not turning off.
    then I forced my phone to recovery mode and downloaded iphone5,2 7.0.2,11A501_restore.ipsw from web and flashed it.
    At the start it recognised and everything was good until the "restoring iphone firmware" was stuck at the end point.
    I tried every trick on net. Even tried to downgrade.. but it was blocked.
    at the last it is either stuck at firmware or itunes unknown error (3)
    Please somebody help me to recover this PAPERWEIGHT to a phone again...

  • Database in "Restoring" state --- HELP

    Ok.  I have spent hours on this already.
    We were restoring a database from tape.  The tape drive failed in the middle of the restore.  So now we CANNOT restore from tape to try again.
    Before I started the restore, I detached and made a copy of the database files.
    The database is in "Restoring" state.  All I want to do is DELETE the "restoring" database and attach the copy.
    How do I get rid of this thing?????  In 2000 it was an update of the sys.databases.  In 2005, you cannot do that anymore.
    SQL 2005 (9.0.2153)

    I had a situation where my database showed restoring state and I couldn't run any queries and couldn't connect with our software.
    What I did to get out of this situation is:
    1. Stop all SQL related services from windows services.
    2. I opened the DATA folder where the Ldf and Mdf files resides in the SQL directory, normally its like :
    "C:\Program Files\***********\MSSQL\DATA
    3. Then I copied both the Ldf and Mdf files of the database:
          [db name].mdf         and        [db name]_log.ldf
    I copied both of these files to another folder.
    4. Then I started all the SQL related services (in step 1) again from windows services.
    5. Started my MS SQL Management studio with normal login.
    6. Right click on the culprit database and hit DELETE (to delete the database at all).
    7. All the LDF and MDF files related to this database have gone from DATA folder (mentioned in step 2).
    8. Created a new database with the same name (same name of the one I deleted in step 6 - the culprit database).
    9. Then [database name]->right click -> tasks -> Take Offline.
    10. I then Copied both the files (from step 3) back to the DATA folder (step 2).
    11. [database name]->right click -> tasks -> Bring Online.
    12. AlhamduLLilah , its all done.

  • "Unable to connect to the database" when connected to corporate network

    Hi
    Installed Primavera P6 V7 and Oracle 10g in Stand alone on XP 32bit machines with SP3. When our machines are NOT connected to the corporate network it works fine.
    However when connected to the network we can not access the locally stored database. We get message "primavera unable to connect to the database. would you like to configure the database connection now"
    Database on servers that we set up are fine regardless.
    If we connect machines to just the internet, again no issues.
    So something is stopping Primavera opening local database when connect on our corporate network.
    Any ideas please?
    Thanks

    This may be a long shot but look into how your TNSNAMES.ora file is being distributed on the domain (or are you possibly utilizing LDAP.ora on the domain side?).
    Some time ago I remember a company scripting an ENV variable on domain logon that altered where the Oracle client would pull the TNSNAMES from.

  • I dropped my iphone4 on the ground , now it is stuck in recovery mode with itunes and usb , when i do the restore process it comes up with an error(21).. what should i do? plz help

    iphone stuck on recovery mode,,, cannot restore due to error 21. tried all ways to solve the error, but no use... plz help

    Hi D’pak,
    Thanks for using the Apple Support Communities. I understand that you are receiving error 21 when attempting to restore your device in recovery mode. The following resource provides troubleshooting information for this error message:
    Get help with iOS update and restore errors - Apple Support
    http://support.apple.com/en-us/TS3694#hardware
    Check for hardware issues
    Related errors: 1, 3, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    These errors mean that your device or computer might have a hardware issue that stops the update or restore from completing.
    Check that your security software and settings aren't blocking your device from communicating with the Apple update server.
    Then try to restore your iOS device two more times while connected with a cable, computer, and network you know are good.
    Make sure that your security software and settings are allowing communication between your device and update servers.
    If you still see the error message when you update or restore, contact Apple support.
    - Matt M.

  • Display shuts down when doing a system restore

    Presio CQ61-411M
    Windows 7
    Display shuts off when trying to do a system restore.
    When doing a system restore the display seems to shut off. I have tried many times, sometimes it stops at 3%, sometimes at 14% and sometimes before I can even start it. I have attached a second monitor and it goes off at the same time.
    I can no longer boot to windows since it started a system restore.
    I have tried to boot from a CD and also get a black screen. All lights on the keyboard are still on. It is like it goes into powersave mode. Light on HD is solid, doesn't make any noise.
    I am so frustrated! There was no power or display issues before I started. I was simply going to do a clean restore.

    Yes, if you have the music folder you still have your song files....the most important!
    But I would hate to lose my ratings and playlists.
    If you want your ratings and playlists from the ipod, itunes will NOT do it. You would have to download & install some other 3rd-party ipod manager. Such as mentioned here:
    http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/P2
    My advice for the future is to make frequent backups of the iTunes Library.itl file. About once a week, I put a copy on a USB stick Mor often if I've done lots of edits/added content. And ALWAYS before an itunes upgrade.

  • I stopped itunes running when i plugged my iphone in, now i want to reactivate it, any ideas?

    I stopped itunes running when i plugged my iphone in, now i want to reactivate it, any ideas?

    Hello there, xkatiex255.
    The following Knowledge Base article should provide the steps for you to resolve your issue:
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

Maybe you are looking for

  • Disk Repair Issue HELP !!!!!

    I have run Disks first aid in my hard drive i get illegal name error and a failure to exit error and first aid will not fix I ran Nortons it says it was fixed but it did not fix it what should I do ? HELP !

  • Internal order AUC

    Hi When i am trying to save the internal order ,for which i have assigned the investment profile ,system is giving below error Object concerned: New order . The object is a capital investment measure, since it has the investment profile 000009, in wh

  • Drill down in cross tab report.

    Is it possible to have drill down in a cross tab report. e.g. in first view the main groups are the rows and when clicked on the main group the same design but with sub groups as the rows get visible as a drill down. If it is possible then which vers

  • Elements 11 - images removed from files.

    I indavertenly hit keys that resulted in the 20 files being emptied.  If I go to Find By Media Type - Photo all the images are brought up, however I am unable to repopulate the files.  How do I do that?

  • Organizer fails to respond

    Elements 9 installed early 2011.  Have opened Organizer and loaded new photos and used individual photos for printing, etc..  Clicked on desktop icon and opened Organizer as usual but I cannot access any photos or even backup to a DVD.  Message "Orga