Moving MASTER database to New Location in SQL Cluster

Sep 11, 2012 / By Hemantgiri Goswami

Tags:

Recently we had a situation where in customer have asked us to move Master Database from Local Drive to SAN drive, I have outlined to steps for the task:

Moving Master in SQL Server Cluster
————————————————————————————————————————————————-

    1. Connect to the Server
    2. Open Configuration Manager -> SQL Server Service
    3. Right Click and say Properties
    4. Click on the Startup Parameter
    5. Remove startup parameter (the highlighted one)
         -dS:\SqlData\master.mdf
         -eG:\Program Files\Microsoft SQL Server\MSSQL\Log\ErrorLog
         -lS:\SqlData\mastlog.ldf
  1. Add new startup parameters with new values (per your configuration)
  2. Check and confirm which node is active
  3. PAUSE current PASSIVE NodeĀ  to avoid fail-over
  4. Take SQL Server resources offline, i.e. SQL Server, SQL Agent, MSDTC, SQLCLUSTER Name (do not take SQL Cluster IP Offline)
  5. Copy MASTER.MDF and MASTLOG.LDF to NEW Location ( S:\SQLDATA, yours could be different)
  6. Log into Cluster Administrator and bring SQL Server Resources online
  7. Resume current PASSIVE Node
-dS:\SqlData\master.mdf
-eG:\Program Files\Microsoft SQL Server\MSSQL\Log\ErrorLog
-lS:\SqlData\mastlog.ldf

3 comments on “Moving MASTER database to New Location in SQL Cluster

  1. Pingback: SQL Server # Moving MASTER database in cluster environment ~ SQL Server Citation - SQL Blog by Hemantgiri S. Goswami, SQL MVP

  2. Jim Johnston on said:

    So, no changes to the passive side of the cluster? the changes are all carried over to the passive node?

Leave a Reply