Sql 2005 - 2012

Permabanned
Joined
28 Dec 2009
Posts
13,052
Location
london
Just a quick question. I have to do an upgrade and my boss suggests the way to do is to create a cluster and then replicate all the databases across.

Now we have several different database on the old sql server for different applications. Is setting up a cluster realy the best way to do it?

Personally i would have just restored each database individually from backup as i would have thought some applications require databases to be upgraded using specific tools and so on.

Is it common to use clustering and replication to upgrade from 2005 to 2012?

I should add this will be a new 2012 server going from physical to virtual.
 
Thanks for response.

Backup and restore method and running the upgrade advisor on each db was what i was going to do. We only have one instance. I know it is difficult to discuss if you don't know the exact details of load and size etc. So if i may.

It is a small site of 100 users. The main db is DMS which is 20gb and the next size db is 1.5gb with most of the dbs being very small and insignificant in load, stuff like BES and citrix xenapp db.

All we have at the moment is netapp 2240 which is setup with NFS to 3 hp gen 8 hosts. I have not looked in to storage yet for sql 2012 as just starting the project but I was probably just going to stick the drives on the main OS datastore as that would be the fastest storage.

The netapp is setup as raid dp with two active controllers giving 5tb across both controllers, with 1tb exchange and 1tb document store and only 20 virtual machines or guests. There is plently of resources on the hosts for the sql server.

The questions i have, would we benefit from putting the DMS database on its own instance or can we do the same and put all 6 databases on the same instance. Is this storage going to run in to any issues based on the information you have above?

There is no real scope for additional storage so we stuck with what we have, i could make another volume but may be pointless in terms of performance. I was going to create one disk for Os, one for data, one for logs, but on the same datastore with other OS disks, not all 20 mind and the exchange dbs are on their own volumes as well on different controllers, i tried to share the load.

Without going in to, it should be set up in ISCSI for exchange, do you think i have any issues with our config?

I had no plans to add additional sql servers and the current one is a physical gen 5 from 2008, so we may see big increase in performance.
 
I have started this installation today, I have windows server 2012 r2 and sql 2012 sp1.

The questions i have is around the service accounts. On the old 2005 server the sql database service is a domain account. Is it ok to just create a new domain account for the new server because that service account is over used and has domain admin rights on it, which i don't think is required for an sql service account. Or would you recommend keeping all the service accounts with the same name as the 2005 server to prevent any problems with database migration?

I am keeping the agent service with the same account because the main database needs that account to run some complicated scripts and processes.

I should add it is my first SQL installation, outside of express dbs.

I have granted logon as a service to the new account and the old agent account on new server.
 
Last edited:
I am using standard. I was planning on putting sp2 on there, using the sp1 iso so far. Not sure on application compatibility with sp2 yet, still investigating.

I have been looking for guides but not find many decent ones for a side by side upgrade, do you have any with detailed steps?

Basically what i have learned so far is to use the sql data tools move logins task. I made the mistake of installing the data tools on the sql server and ended up deleting the entire vm and starting again because i didnt want two instances on there as some people reported problems, i tried uninstalling it but it was such a mess at that point i thought would be easier to start again as only takes 30 mins.

After moving the logins, its pretty much ready to start restoring databases to the new sql server, right?

I found this guide, http://www.slideshare.net/talktosavjani/sql-2012-upgradeguide

Has some detailed steps, it says i need to run check dbcc with special options on each database after moving it across.
 
I can do most things without stressing but for some reason sql makes me stress out. I realy dislike working with it for some reason. Out of everything Vmware, storage, windows, exchange and so on i dislike dealing with sql the most. It just seems so fragile and so easy to break. Nothing is straight forward and everything has a gotcha that is not documented.

I have managed to migrate the logins and jobs now. I think it was more the uncertainty about things. I have migrated the xenapp db and all ok, so i think i was just over reacting to it.
 
Last edited:
Back
Top Bottom