Best way to reboot a Mirrored MS SQL server?

This question is about any recent version of MS SQL, but specifically this applies to SQL 2008 R2 in case that makes any difference.

We have two mirrored MS SQL servers and witness server.  There are a lot of databases on the servers.

When it's time to reboot one server for Windows updates,  do you have to first (manually or via a script) fail-over all the databases to the other partner?  Or can you just reboot the SQL server (which will cause a failover)

I did find a script here but i don't know if it's necessary to use one when you do want to reboot or not:

If you do recommend scripting failover before rebooting, does the above script seem like the best option or can you recommend something better?

Thank you
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
Better to do it in a controlled manner..
If all the databases are mirrored with a witness, when system is rebooted the transition is automatic.
Manual transition simply offers the managed transition provides for a quick recovery wher the reboot does not I.e. Any issue, you have to wait till the system boots up.

Mainly deals with a DB that was setup without a witness so no failover/transition takes places,

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vitor MontalvãoMSSQL Senior EngineerCommented:
nathaliev, do you still need help with this question?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.