description | title | ms.custom | ms.date | ms.service | ms.reviewer | ms.suite | ms.topic |
---|---|---|---|---|---|---|---|
Learn how to move the Business Activity Monitoring (BAM) Star Schema database to another server. |
How to Move the BAM Star Schema Database1 |
06/08/2017 |
biztalk-server |
article |
You can use this procedure to move the BAM Star Schema database to another server.
You must be logged on with an account that is a member of the SQL Server sysadmin fixed server role to perform this procedure.
-
Get a copy of the .xml file used for restoring BAM:
-
Click Start, click Run, type cmd, and then click OK.
-
At the command prompt, navigate to the following directory:
[!INCLUDEbtsBiztalkServerPath]Tracking
-
At the command prompt, type:
Bm.exe get-config –filename:BAMConfiguration.xml
[!NOTE] On a system that supports User Account Control (UAC), you may need to run the tool with Administrative privileges.
-
-
Follow the instructions in SQL Server Books Online on how to back up the database on the old server.
-
Copy the BAM Star Schema database to the new SQL Server.
-
Follow the instructions in SQL Server Books Online on how to restore the database on the new server.
-
Edit the BAMConfiguration.xml file and change the ServerName in the StarSchemaDatabase DeploymentUnit section to the new server name.
-
Save and close the BAMConfiguration.xml file.
-
Click Start, click Run, type cmd, and then click OK.
-
At the command prompt, navigate to the following directory:
[!INCLUDEbtsBiztalkServerPath]Tracking
-
At the command prompt, type:
bm.exe update-config -FileName:BAMConfiguration.xml
[!NOTE] On a system that supports User Account Control (UAC), you may need to run the tool with Administrative privileges.
-
Update SQL Connection 2 to change the server and database name in all BAM analysis DTS packages, which are prefixed with "BAM_AN_", by following these steps:
-
Using SQL Server Management Studio, open the server hosting BAM.
-
Open the Data Transformation Services folder.
-
Open the Local Packages folder.
-
Open the DTS package, and then double-click Connection 2 to open the connection.
-
Select the new server and database name in the drop-down box.
-
-
Update the data source in the BAM Analysis database as follows:
-
Using SQL Server Analysis Manager, open the server hosting the BAM Analysis database.
-
Open the Data Sources folder.
-
Right-click the data source for the cube, and then click Edit.
-
On the Connection tab, type the new server name and database name for the BAM Star Schema database, and then click OK.
-