By default, the Metasys Server software and databases are installed to the C: drive. You can move the Metasys historical databases to a different location after you install the Metasys software. Follow the steps in this section.
- Stop the Metasys III Device Manager service. Open Windows Task Manager. Click the Services tab. Right-click the MIIIDM service and click Stop Service.
- On the computer that hosts the databases, open SQL Server Management Studio and connect to the database engine computer.
- In the Object Explorer, expand the Databases folder.
- For each Metasys historical database, right-click on the database and click Properties. The Database Properties window appears.
- In the Select a page pane, click Files. Record the paths listed in the Path column of the Database files table. Click OK to close the Database Properties window.
- In the Object Explorer, right-click on the database. Select Tasks > Detach. The Detach Database window appears.
- Select the Drop Connections checkbox. Click
OK. Note: A message may appear stating that the database is in use. If this message appears, ensure all Metasys applications are closed and the Metasys III Device Manager service is stopped.
- Move the .mdf and .ldf database files to the new drive location.
- After moving the Metasys historical databases, reattach the databases. In the Object Explorer, right-click the Databases folder and click Attach. the Attach Database window appears.
- In the Attach Database window, click Add. The Locate Database Files dialog box appears.
- Browse to the new location of the databases. Select the databases and click OK.
- In the Attach Database window, click OK. The databases are now attached.
- If the Metasys historical databases do not appear under the Database folder in the Object Explorer, right click the SQL folder (database engine computer node) and select Refresh.
For Johnson Controls technicians: Refer to FSC Solutions Database Article 30393 for instructions on using a SQL script to complete this procedure.