Upgrade using Db mirroring

Hi Everyone,
I came to know that using SQL Server database mirroring, we can perform the upgrades with minimal downtime.
How that is possible? Can anyone elaborate ?
I have done some homework reading about this and wanted to confirm on this.
Assume I have old server is SQL Server 2005 Enterprise Edition and new server is SQL Server 2008 Enterprise Edition.
Now, I am going to Setup High Safety mode without witness. I dont want witness because, we have risk Automatic failover and I don't want that happen in middle of upgrade.
Also make sure logins , orphan users are fixed, jobs ,linked servers are created on the new server.
once everything is sync , initiate a manual failover.
use master
go
alter database <dbname> set partner failover;
go
Is this the way we can perform upgrades with minimal downtime ?
Again, once the upgrade is done and verified from error log, do we remove db mirroring and point the applications to the new server?
Please correct me if I am wrong and am I missing anything here?
Thanks in Advance.

Yes, I think you get the idea. Something like (brief outline):
App connected to A
BACKUP DATABASE on A
RESTORE DATABASE on B WITH NORECOVERY
BACKUP LOG on A
RESTORE LOG on B WITH NORECOVERY
1. Stop/Disconnect app from A
BACKUP LOG on A WITH NORECOVERY --The option make sure no more modifications on A
RESTORE LOG on B WITH RECOVERY
2. Start/connect app to B
As you probably realize, with some practice and preparation, we can achieve a very short time-span between timepoint 1. and 2. above.
Regarding Naveen's suggestion about log shipping: Yes, it is possible to use log shipping for this. Personally, I see little value in configuring and implementing log shipping solely for the purpose of an upgrade. But of course it depends on the circumstances,
and usual. :-)
Tibor Karaszi, SQL Server MVP |
web | blog

Similar Messages

  • I just upgraded to mountain lion. I am unable to use airplay mirroring through my apple tv. They are both on the same network. It says a airplay icon should appear in the menu bar but it isn't there. What am I missing here?

    I just upgraded to mountain lion. I am unable to use airplay mirroring through my apple tv. They are both on the same network. It says a airplay icon should appear in the menu bar but it isn't there. What am I missing here?

    http://www.apple.com/osx/specs/

  • [SOLVED] upgrade using Octopi system will not boot into DM

    I did a system upgrade using Octopi late last night. I use Enlightenment and Gnome. After the upgrade the desktop froze (E), so I switched to a vt and rebooted. That failed to work, so I forced power off using the power button and went to bed. The next day I started up the laptop (lenovo t430) but the boot never got to gdm login. I stops with the line: "[ OK ] Started Accounts Service". Using htop I see that gdm is running.
    Then I opened a vt and tried to do another upgrade (pacman -Syu), but that failed with an error message stating that a libgpgme was too short. I took a look and found that both libgpgme files were empty (0 bytes). I went to my pacman cache and found the packages and use them to copy over the lib files. Pacman then worked. But booting still did not.
    All this made me curious, so I checked my /usr/lib dir and found 54 lib files empty. I'm certainly no system expert, but this doesn't seem like a good sign to me. When ldconfig is run a very long list of empty libs is printed to the screen.
    At any rate, I'm wonder if anyone else ran into this issue and (of course) if anyone has a solution for this? I really don't want to go through each empty lib and copy the files by hand if I can avoid it.
    Any help would be very appreciated.
    TIA
    Gary
    Last edited by henrythemouse (2014-12-31 05:45:05)

    jasonwryan wrote:
    Please edit your title to reflect the fact that Octopi borked your system.
    https://wiki.archlinux.org/index.php/Pa … an_upgrade
    Thank you for the link, not to mention the quick reply.
    The packages python-packagekit and packagekit had to be removed before I could start the installation as they had a dependency on a older version of pacman. My mirrors file caused a good deal of packages to not be downloaded, so that had to be changed. Afterwards everything went well. This experience has shown me the strength of the Arch package system, it's really an amazing system.
    I tried the recommended command from the above link but kept getting numerous error messages stating that such and such file already existed on the filesystem. Which was true enough, so I added the --force parameter and that did the trick.
    This is the command I used to get running again:
    pacman -S $(pacman -Qnq) --force                             
    Problem solved. Except I have to wonder how it was caused in the first place. If it was caused by using Octopi, I guess I should run that by the author. And I'll have to either go back to using the command line or try another gui.
    Last edited by henrythemouse (2014-12-31 05:43:13)

  • I want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone

    i want to hook up a mac mini and us my tv as a monitor. how can I use airplay from my phone on the mac mini like i can with an apple tv (without having to buy an apple tv!). the airplay capabilities i want to use are mirroring and streaming from my iphone!

    Download AirPlayer for Mac - Transforms your Mac into an AirPlay-compatible display. MacUpdate.com

  • How do I find out what year my MacBook Pro is?  I want to know if I can use the mirroring function with my Apple TV if I download Mountain Lion.

    I'm trying to find out if I can use the mirror function to look at large construction drawings using my Apple TV.  It says that my MacBook Pro has to be early 2011 or newer and I can't remember what it is.

    Mactracker - Get Info on any Mac

  • How can I use AirPlay Mirroring or equivalent with MacBook Pro 5,5?

    Hi!
    I have a MacBook Pro 5,5 (mid-2009 13"), which I recently treated with a RAM bump, an SSD drive and a shiny new battery.
    I'd like to buy an Apple TV in order to use AirPlay Mirroring. I understand that only the MacBook Pro laptops that have been released in 2011 or later are compatible with the feature, but I know that some third party apps (like AirParrot) offer a decent workaround. Unfortunately, it seems that the MacBook Pro 5,5 (i.e. my laptop!) isn't compatible with AirParrot.
    Does anyone have a solution for me?
    Thanks!!
    Paul

    Using AirPlay
    http://support.apple.com/kb/HT4437
    Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS4215

  • How to use Airplay Mirroring to Apple TV from MacBook Pro 5.1

    How do you use "Airplay Mirroring" to an Apple TV from a MacBook Pro 5.1

    Hi HunterHerring,
    Thanks for using Apple Support Communities. Based on what you stated, it sounds like you want to mirror from a 2008 MacBook Pro to an Apple TV. I would recommend that you read these articles, they may be helpful in answering your question.
    About AirPlay Mirroring in OS X - Apple Support
    A supported Mac
    The following Mac models support AirPlay Mirroring when using OS X Mountain Lion or later:
    MacBook Pro (Early 2011 or newer)
    How to identify MacBook Pro models - Apple Support
    MacBook Pro (15-inch, Late 2008)
    MacBookPro5,1
    MB470xx/A
    15.4"/D2.4G/2G/250/SD-DL
    MB471xx/A
    15.4"/D2.53G/4G/320/SD-DL
    MC026xx/A
    15.4"/D2.66G/4G/320/SD-DL
    Cheers,
    Mario

  • HT4437 how to use airplay mirroring between ipad3 and apple tv without any internet or wifi

    I do presentation and a lot of the time, there is no wifi or internet connection available in the room (school, church, community center).
    Is there a way to use airplay mirroring so I can use my powerpoint or my keynotes from my ipad to the apple tv?
    I also have a macbookpro, I know there is a way to create your own network with the macbookpro, how don't remember how, but would prefer not to have to carry my macbookpro.
    thanks
    Christian

    You can stream the content with a local connection. You dont need "internet", but need to connect the apple tv to a wireless router(plugged in with no internet) or hardline. Then connect the ipad wirelessly to the same router. Its a basic internet setup without the "internet ethernet cord" plugged in.

  • Problem using iPad mirroring with an Apple TV and 4:3 Projector

    I'm a teacher and I've been using my iPad 2 in the classroom for about a year and a half. I would use Apple's VGA Adapter to connect to my projector, which worked fine. I just didn't like being tied down, and the dock connector would come loose very easily and lose connection to the projector, which interrupted the flow of the lesson.
    So this summer, I got an Apple TV and a projector with an HDMI port so I could start using Airplay Mirroring to get the iPad screen onto the projector. But I'm having trouble with the aspect ratio. Forgive my drawing, but the genius at the Apple store had a hard time understanding my explanation, so I'm hoping this will help show what I mean.
    My projector (ViewSonic DLP PJD5133) can be set to either a 4:3 or 16:9 aspect ratio (4:3, 800x600 is the native resolution). My projector screen in the front of the classroom is 4:3, so when the projector is set to 4:3, the image fills up the screen (which is what I want - it needs to be as big as possible so the entire class can see it clearly; plus it means all the output pixels are being used). When the projector is set to 16:9, the image is letterboxed (not ideal unless I'm showing a widescreen video or image).
    The Apple TV's native aspect ratio is widescreen, and the iPad's native aspect ratio is 4:3, so if you use Airplay mirroring on a widescreen TV, the Apple TV will pillarbox the image (add horizontal black bars on each side), so that the image will not be stretched/distorted. (I know that it will show widescreen videos and a few widescreen-ready apps without the pillarbox, but the apps I use in class - Keynote, Noteshelf, etc. - don't fall in that category). The effect on my projector screen is a tiny 4:3 image taking up half the area it would have taken if I had used the VGA connection.
    So in the Apple TV, I went to Settings>Audio & Video>TV resolution, and chose 800x600 60Hz (the max 4:3 resolution for my projector). Since the Apple TV is natively widescreen, it seems to accomplish this change be stretching the image vertically; but it basically works because the Apple TV home screen fills up the projector screen. However, when I turn on Airplay Mirroring on my iPad, the image does not fill up the screen. The Apple TV still puts a pillarbox on the image, so I end up with a distorted, square image of my iPad screen. It's the right height - the max 600 pixels for my projector - but it's not as wide as it should/could be.
    Is there a setting that I'm missing? I understand that the Apple TV has to stretch its home screen image to accommodate the 4:3 resolution, but I think it should be smart enough to realize that if it's receiving a 4:3 image from the iPad and sending it out to a 4:3 TV, it doesn't need to pillarbox the image.
    Before you answer - this is not a problem with the projector settings, and my Apple TV is not defective. You could simulate what's happening on your Apple TV, even if it's hooked up to a widescreen TV. In the Apple TV settings, change the TV Resolution to 800x600 as mentioned above (or any other of the 4:3 options). Now go to the Apple TV home screen, and note the amount of space the image is taking up on your screen (on a widescreen TV, it will be pillarboxed, and it will look like it's been squished horizontally). Then turn on Airplay mirroring on the iPad, and you'll see that the iPad image does not have the same width as the Apple TV home screen and it looks square/squished.
    Also, while my projector does have a zoom function, it will not magnify the small iPad mirror image correctly (if I were to leave the Apple TV and projector on a 16:9 setting). It cuts off the top and sides. But even if it didn't crop the image, it's a digital zoom, so that option still won't fix the fact that I'm not getting a full 800x600 image on the projector. The same problem would apply if I were to move the projector farther away from the screen (so that the widescreen image takes up the full height of the projector screen, while spilling off the sides). I'll still have a lower resolution image, which isn't ideal since I'm often showing text on the screen through Keynote. Also, widescreen videos wouldn't fit on the screen, and I can't move the projector easily because it's fixed to the ceiling.
    Sorry for the long explanation. Any ideas? I'd really appreciate some insight.

    We have the same problem, and not only with ipads. Macbook Air is doing something similar. it can only use airplay with 1080 and 720 resolution, so the image is squeezed on a 4:3 projector. We use AppleTV 3 and Mountain Lion OS. We use ATVPRO from Kanex.
    Apple must get its act together and fix this, they promise gold and green forests, but nothing works.
    DO SOMETHING!

  • HT204291 Is it possibly to have iTunes music play out of both the computer and AppleTV while using Airplay Mirroring for the TV?

    Is it possibly to have iTunes music play out of both the computer and Apple TV while simultaneously using Airplay Mirroring to view the computer screen on the TV? Whenever I try, by clicking on 'computer' radial button for volume in iTunes Airplay, the TV automatically reverts to the Apple TV screen. I usually end up using preferences to 'bring back' the audio to the computert while leaving the picture on the tv, but this means i have to suffer from the inferior sound quality of my Macbook internal speakers.

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site
    Restore from backup. See:
    iOS: How to back up
    Restore to factory settings/new iPod
    BTW this is the iPOd touch forum

  • HT204291 Using AirPlay Mirroring by my iPhon, iPad or Mac I am dissconnected every 5-10 min! Why?

    Using AirPlay Mirroring by my iPhon, iPad or Mac I am dissconnected every 5-10 min! Why?

    The iPad 1 does not support mirroring at all. Nor does your Mac Pro when running 10.7.5; Mirroring via AirPlay came only with OS X 10.8 Mountain Lion.
    http://support.apple.com/kb/HT5209
    http://support.apple.com/kb/HT5404
    Regards.

  • HT201335 Is there a way to use airplay mirror on iPhone 4??

    Is there a way to use airplay mirror on iPhone 4 via apple TV??

    Welcome to the Apple Community.
    Unfortunately not.

  • HT204291 The Apple sales rep told me I could use Airplay Mirroring between my iPad2 and AppleTV via bluetooth and I didn't need wifi. Is that true?

    The Apple sales rep told me I could use Airplay Mirroring between my iPad2 and AppleTV 2 via bluetooth and I didn't need wifi. Is that true?

    No. AirPlay is via Wi-Fi.
    http://support.apple.com/kb/HT4437
    http://support.apple.com/kb/HT5209

  • How can I use Airplay Mirror of Photos app without slideshow?

    Every time i try to use airplay mirror and go to the photos app it starts the slideshow feature.
    I can't find a way to disable the slide show. I want simply to mirror my photos so I can zoom them and move around.
    Did anyone figure out a way to do that?

    Hi
    To use airplay you need an airplay capable device such as Apple TV and an iPhone that is 4s or higher, mine is only 4 so I can't access airplay. Once both the Apple TV and phone or iPad are connected to the same wireless notwork you will be able to mirror your screens.
    I hope this helps.

  • HT4325 Why I can't use airplay mirroring in my MacBook pro OS X Lion from late 2011?

    Why can't I use airplay mirroring in my MacBook pro OS X Lion from late 2011?

    About AirPlay and Airplay Mirroring
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). For non-qualifying Macs you can try using Air Parrot.
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    About AirPlay Mirroring in OS X Mountain Lion
    iTunes 10- About playing music with AirPlay
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay

Maybe you are looking for

  • Error message when trying to update software?!

    Just got my Mac Book Pro and am trying to run software updates for: iTunes (11.0.1), MacBook Pro (mid 2012) Software Update (10.7.4), Remote desktop client update (3.6.2) and Mac OS X 10.7.5 The software downloads and comuter does the restart and loa

  • Mac Mini with two VGA displays

    Hello. I have a MacMini (2.4 Core 2 Duo) recently connected to 2 Dell E197FP screens. The main screen works fine (HDMI to VGA) but the second screen is blank (Mini DVI to VGA) even though it is recognised in Displays and I can set the resolution. Any

  • Installing Designer 6i

    I just downloaded Oracle 8.1.6 and Designer 6i. I installed the database on a Win2000 station and all seems to work well. Then I installed Designer 6i on a Win98SE station. I tried to connect to the DB with SQL*Plus 8 and all work. Now, I want to use

  • Changing DNS

    I am setting up a home network and new to server. In the initial setup I started to perform server auto configured my DNS nicely. My server is a DNS server also. But now I bought a domain name for the family and was thinking of using that domain name

  • Nothing can be crawled from DB... WHY?

    Hello. I set up a database source with a table in it. However, after being crawler, no data had been crawled according to log. Can anyone help me where I am wrong? How to configure? LOG: 21:04:30:999 INFO     filter_0          Crawling text attachmen