SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


moving data files of system databases in cluster


moving data files of system databases in cluster

Author
Message
charipg
charipg
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2332 Visits: 1193
Environment:sqlserver2008R2 instance on windows server2008R2 2-node cluster.

I want to copy data files of system database in a seperate folder,but as service is running, it is not allowing me to copy.
If i stop the service, then second node gets activated.
If I make the instance offline, then drive is not accessible.


so how to move data files of system database to a seperate folder.
sql-lover
sql-lover
SSCarpal Tunnel
SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)

Group: General Forum Members
Points: 4669 Visits: 1930
charipg (12/19/2012)
Environment:sqlserver2008R2 instance on windows server2008R2 2-node cluster.

I want to copy data files of system database in a seperate folder,but as service is running, it is not allowing me to copy.
If i stop the service, then second node gets activated.
If I make the instance offline, then drive is not accessible.


so how to move data files of system database to a seperate folder.


Are you talking about master or resource database?

If that's the case, I'm afraid that's not so easy as you think. Because when the SQL service starts, it checks for the default location, so you need to change it when SQL is down or offline.

Also, remember than in a Cluster, you must use the Cluster Admin console to deal with SQL service and moving resources, not the default Windows service applet. So you take the service offline, but you work on the active node. Taking the instance offline won't take the drives or LUN offline, at least, not in the active node. Taking the SQL service offline will only stop SQL server.

This link may help you, I think: Move System Databases
anthony.green
anthony.green
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25444 Visits: 6519
Why do you want to copy them?

What is the reasoning behind your task?



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger


charipg
charipg
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2332 Visits: 1193
thanks..will try and let you know...
sql-lover
sql-lover
SSCarpal Tunnel
SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)SSCarpal Tunnel (4.7K reputation)

Group: General Forum Members
Points: 4669 Visits: 1930
charipg (12/19/2012)
thanks..will try and let you know...


Did you see Anthony's post? that's a good comment that I forgot to ask or mention.

Are you running out of space? Why are you moving those critical files to a different location. That may be more important to know than actually moving those files ...
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search