Move SharePoint DB to SAN RDM LUN

Posted on 2009-04-28
Last Modified: 2012-05-06
We need to move, migrate or change dir to our Share Point DB.  We are running a 2008 Server with SQL 2008. Currently Share Point SQL DB is living on ESX VMFS.  We have setup new RDM LUN for the DB.  What is best way have Share Point SQL DB on the RDM LUN?

Question by:bbhitgroup
    LVL 1

    Expert Comment

    Just to verify, you are not moving to a new SQL server right? Just a new disk drive (RDM) attached to the same SQL server. Correct?

    Author Comment

    That is correct I am not moving to new SQL Server and we are just adding new RDM drive.  
    LVL 42

    Accepted Solution

    this is the same as moving ANY sql database to a different drive (same server).

    detach the database
    move the files  (MDF and LDF)
    re-attach the database.

    this can be done using SQL Management Studio or T-SQL.

    the procedure is the same regardless of whether it's sql 2008 or 2005...

    sharepoint cares about the SQL *instance* name, and since you are not moving the SQL installation, sharepoint does not need any configuration changes.

    of course, sharepoint will be down while you make this move
    it's probably best to lock the site collection before you do it... so that you are sure no users are trying to interact with the site.

    Author Comment

    Thank we going to move this tonight.  Do you also now how to move the logs drive to a new drive as well?
    LVL 42

    Expert Comment

    do you mean the sharepoint logs, or the SQL LDF?

    if it's SQL LDF, then it's done the same way as the MDF file.

    if you mean the sharepoint logs...
    that requires you to install sharepoint to that drive.  there is no way to configure sharepoint to use a different directory for logs.
    you can, however, control the logging level in Central Admin

    that said...
    it appears someone has written a script that loves these log files:

    i have not used it...
    i would advise a full farm backup before you try it.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    Creating and Managing Databases with phpMyAdmin in cPanel.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 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

    20 Experts available now in Live!

    Get 1:1 Help Now