Locating the transaction log for the FIM Synchronization Service database on a drive that is separate from the database can improve performance and reliability. By default, when you install Microsoft® Forefront Identity Manager (FIM) 2010, the transaction log and the database are located on the drives defined as default in SQL.
For this procedure, you can use SQL Server Enterprise Manager to move the database transaction log to another drive. To complete this procedure, you must be logged on as a sysadmin in SQL.
To move the database transaction log to another drive |
-
Click Start, point to Administrative Tools, and then click Services.
-
In Services, right-click the FIM Synchronization Service database, and then click Stop.
-
Click Start, point to All Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
-
In the console tree, click the FIM Synchronization Service database.
-
On the Action menu, point to All Tasks, and then click Detach Database.
-
In Detach Database - FIM, select the Update statistics prior to detach check box, and then click OK.
-
Click Start, point to All Programs, point to Accessories, and then click Windows Explorer.
-
In Windows Explorer, click the FIM Synchronization Service database log file. By default, the log file is C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Data\FIMSynchronizationService_log.ldf.
-
On the Edit menu, click Move to Folder.
-
In Move Items, select a new location for the log file on a separate drive, and then click Move.
-
In SQL Server Enterprise Manager, click the Databases folder.
-
On the Action menu, point to All Tasks, and then click Attach Database.
-
In Attach Database - (local), in MDF file of database to attach, browse to and select the FIM Synchronization Service file. By default, the MDF data file is C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Data\FIMSynchronizationService.mdf.
-
In Original File Names(s), click the FIM Synchronization Service log file (a red X indicates an invalid path), and then in Current File(s) Location, type the path for the new location of the FIMSynchronization_Log file. (The red X changes to a green check, indicating a valid path.)
-
In Attach as, verify that the correct file name is entered. In Specify database owner, verify the database account that FIM uses, and then click OK.
-
Click Start, point to Administrative Tools, and then click Services.
-
In Services, right-click the FIM Synchronization Service database, and then click Start.
Important | |
It is strongly recommended that you back up FIM before moving the transaction log. For more information, see See Also. |
Important | |
It is strongly recommended that you secure the FIMSynchronizationService_Log.LDF file in its new location with the same Grant Access permissions as the FIMSynchronizationService.mdf file. |