Sharepoint 2010 sp1 upgrade Always on SQL s012

Posted on 2013-12-12
Last Modified: 2013-12-14

Looking to move sharepoint 2010 to new app farm following sql farm move.

Moved SQL farm to new 2012 Always on group and set all db's into replication using SQL alias.

to move the app farm to new datacentre i have added teh new appservers to farm but to detach central admin and move it to new server i need to run SP configuration wizard on old server. Run this on old server and upgrade is pending.

Upgrade fails as the logging database cannot be set to simple mode as its part of a replication group.

i cannot follow usual method of stopping the mirror as the db is in Alwayson not a mirror.

the only method is below :
take the farm down
drop the logging db out of always on
point the  SQL alias  on the application and WFE at the primary node
run all the tasks to migrate to the new farm that involve the configuration wizard to ensure the logging db can go in and out of simple mode
once all tasks are complete re add the logging db into the always on farm
repoint all new farm servers at the Always on listener
bring farm back online

obviously thsi is going to have a big impact on downtime as prior to this discovery i was going to complete all reconfiguration, move of timer, crawl and central admin whilst the farm was online and the last task would be a repoint of DNS to the new WFE.

my question would be is their a method of running the configuration wizard without kicking the logging DB into simple recovery, or dropping the secondary replica but keeping the db active on the sql listener address so i dont need to repoint the sql alias.

Hoping someone can help with this,

Question by:slam68
  • 3
  • 2
LVL 51

Assisted Solution

tedbilly earned 500 total points
Comment Utility
OK, did you realize you can't move a SharePoint 2010 farm?  It's not supported and just doesn't work.  Too much of the configuration is tied to the systems hosting the farm because not all the settings are stored in the databases.  Even if you installed the farm originally using fully qualified domain name instead of server names it's not supported.  Some people have pulled it off by upgrading hardware in a virtual LAN with servers that have the exact same names, copying the machine images, then shutting down the old farm, however, not everyone has enough resources and skill to do it.

The safest thing you can do is setup the new farm, systematically duplicate the configuration, then move the content databases over for the non-administration web applications.  There are articles online for moving content databases that walk you through it.

I guarantee the strategy you are using will lead to error after error and there will issues that might not become apparent for weeks until the right combination of events occur to expose them.

Author Comment

Comment Utility
Hi Ted,

The process is fine and something I've followed multiple times in the past however never transferring the db's to an alwayson 2012 multi subnet failover. The process of moving to a new db farm is easily achieved using SQL alias and moving to new app wfe is again fairly easy using scale out process, transferring services, migrating wfe and re pointing DNS.

I have now resolved this using power shell to create a temporary logging db in the physical primary node, re pointing logging at this db and running the upgrade and transfer processes. Once these had completed and all migration tasks were complete I then transferred back to the original alwayson replicated db.
It's been a fun 24 hours but got there in the end!
LVL 51

Expert Comment

Comment Utility
I guarantee that if Microsoft found out you did this and tried to get support for the farm you wouldn't get any support without paying for it.  I wouldn't do it for my farm.

Author Comment

Comment Utility
I work for a Microsoft finalist database partner and it's not a new process  or methodology on migration just not standard so not sure where the foundation fir your guarentee stems from but no problem thanks  for the input
LVL 51

Accepted Solution

tedbilly earned 500 total points
Comment Utility
My experience is with the SharePoint Development Team as a strategic partner.

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now