If you have an instance of your CardioLog database already configured on a specific server, you can transfer the database and application to a new server when needed. This page describes the process for most configurations.
To migrate the CardioLog database to another server, follow these steps:
<add name="VoiceOfCustomerEntities" connectionString="metadata=res://*;provider=System.Data.SqlClient;provider connection string="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=CardioLog;Data Source=[database server name];MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
<add name="CardioLogEntities" connectionString="metadata=res://*;provider=System.Data.SqlClient;provider connection string="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=CardioLog;Data Source=[database server name];MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
[database server name] - Edit the database server name to match the new server that now hosts the CardioLog database.
If you have not upgraded your product to the latest release yet, it is highly recommended to do so prior to migrating the CardioLog application.
Contact us to receive the latest CardioLog installer. Find out more about the latest version by viewing our site and our knowledge base.
To find out what is current your product version, go to Administration in the navigation pane and click Product License.
To migrate the CardioLog application to another server, using the existing database, follow these steps:
"DATABASEINSTANCE"="[database server name]"
"TARGETDIR"="[CardioLog Installation Folder]"
[database server name] - The database server name that currently hosts the CardioLog database.
[CardioLog Installation Folder] - Edit the installation folder path to match the path that the CardioLog application will be installed on, on the new server.
Use CardioLog
GO
declare @oldName varchar(max) = 'CardioLog old machine name'; declare @newName varchar(max) = 'CardioLog new machine name'; --== 1. tab_management table update tab_management set url = replace(url, @oldName, @newName), serverName = @newName; --== 2. Global settings --== 2.1. CardioLog.Host exec [dbo].[stp_global_settings_upsert] @Category = 'CardioLog', @Name = 'Host', @Value = @newName, @ReplaceIfExists = 1; --== 2.2. PdfExport.CardioLogPdfRoot declare @value varchar(max) = (select Value from tab_global_settings where Category = 'PdfExport' and Name = 'CardioLogPdfRoot'); if (@value is not null) begin set @value = replace(@value, @oldName, @newName); update tab_global_settings set Value = @value where Category = 'PdfExport' and Name = 'CardioLogPdfRoot'; end
--== 3. tab_agent_params table
update tab_agent_params set str1 = replace(str1, @oldName, @newName) where AgentId in (2,4,6)
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\CardioLogAgent\web.config
Otherwise, edit the CardioLog Java Script tracking code embedded within a common Java Script file, located on your SharePoint WFEs. The code is located at the end of the file, between the comments: //Intlock tracking code start and //Intlock tracking code end
For MOSS 2007 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033\core.js
For SharePoint 2010 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\init.js
For SharePoint 2013 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\init.js
For SharePoint 2016 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\LAYOUTS\init.js
If you have implemented the CardioLog HTTP Module for SharePoint on your Web Front Ends (WFEs), for each web site, modify the SharePoint Web.config file and edit the CardioLog server name (eg., http://[CardioLog server name:port]/ ) in the following key value:
<add key="CardioLog.API.EventsServiceUrl" value="http://[CardioLog server:port]/CardioLogAPI/Events.asmx"/>
To configure the CardioLog application when migrating a SharePoint Farm from one location to another, follow these steps:
Install the CardioLog Analytics Tracking Agent feature on the migrated farm as detailed in this guide.