Moving Foundation databases
Applies to:
These steps are applicable when moving databases for a Foundation environment to a different SQL Server instance or when changing the current SQL Server instance name. Before performing these steps, restore the database from a backup to the new SQL Server instance and ensure all permissions on the original database are reflected on the restored database.
Note: Composer does not use a database. No configuration changes are necessary.
User Governance
- As a Central Site Administrator, open the Foundation site in the browser.
- Click Settings.
- Click Database Connection.
- Update the Server Name field.
- Click Test Connection. If successful, click Save.
Workflow
- As the SharePoint Farm account (the account running the SharePoint timer service), open the Workflow Central Administration site in the browser.
- Click Farm Configuration.
- Click the Edit icon next to WinshuttleWorkflowConnectionString.
- Change the Database connection string to reflect the new SQL Server name.
- Click Add.
SAP Integration Server
- As the Winshuttle Administrator account, log into the application server.
- On the desktop, right-click the Winshuttle Server utility and click Run as Administrator.
- Click the Server tab.
- Click on the ellipsis to edit the connection string.
- Enter the SQL Server name.
- Enter the restored database name.
- Change authentication to Windows Authentication.
- Click OK.
- Click Load Configuration.
- Click Apply Changes.
- Click the Worker tab.
- Click Load Configuration.
- Perform steps 4 through 8.
- Click Apply Changes.
- Perform steps 11 through 14 for the Worker (Launch GUI) tab.
- Perform steps 1 through 15 on each application server.
License Management System
- As the Winshuttle Administrator, log into the application server.
- Navigate to the LMS installation directory. The default install location is c:\program files\winshuttle\lms.
- Click into the Services folder, and do the following:
- Open the web.config file.
- Find the <connectionString> node.
- Edit the connectionString property in the <connectionString> node by changing the Server and Database values to the restored SQL Server and new database name.
- Save the web.config file.
- Open the hibernate.cfg.xml file.
- Find the connection.connnection_string property.
- Edit the Data Source property to reflect the SQL Server name and database name changes.
- Save the hibernate.cfg.xml file.
- In the Services folder, click into the bin folder, and do the following:
- Perform steps 3a through 3h.
- Open the Winshuttle.Licensing.WindowService.exe.config file.
- Find the <connectionString> node.
- Edit the connectionString property in the <connectionString> node by changing the Server and Database values to the restored SQL Server and new database name.
- Save the Winshuttle.Licensing.WindowService.exe.config file.
- Perform an IISRESET on the server.
- Perform steps 1 through 5 on all application servers.