Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: You can use the SharePoint WFEs or dedicated servers to host the EventCollector and CardioLogAgent web applications. When deploying the CardioLog Analytics SharePoint feature for usage tracking, the CardioLogAgent web application is automatically installed on your SharePoint WFEs under each SharePoint web application _layouts folder. You can install the EventCollector web application in the same location.

...

  1. Create a new EventCollector web application on your WFE. For the new web application, create a dedicated application pool. Set ASP.NET version to 2.0 and grant the application pool account the "db_owner" role on the CardioLog database. Set the web application authentication method to Anonymous access (disable Windows Authentication).
  2. Copy the files from the CardioLog server [CardioLog Installation Directory]\EventCollector to the new directory.
  3. Create a new CardioLogAgent web application on the WFE. For the new web application, create a dedicated application pool and set ASP.NET version to 2.0. Set the authentication method of the web application to Windows Authentication (disable Anonymous access).
  4. Copy the files from the CardioLog server [CardioLog Installation Directory]\CardioLogAgent to the new directory.
    Note
    : When deploying the CardioLog Analytics SharePoint feature for usage tracking, there is no need to create a new CardioLogAgent web application.
  5. Edit the following keys in the CardioLogAgent\web.config file, located in the <appSettings> section and enter the NLB FQDN -

...

Note: When deploying the CardioLog Analytics SharePoint feature for usage tracking, there is no need to update the tracking code.

...

  1. Install the CardioLog Analytics Tracking Agent Feature on the backup farm as detailed here
  2. Verify that the CardioLog user account has read permissions to the SharePoint databases and a TEMPLATE folder on the backup farm.
  3. In case of a failover,
    • Go to Administration System Configuration SharePoint Tree Adaptor > click on your SharePoint farm
    • In the SharePoint Tree Adaptor dialog, fill out the following fields for the backup farm:
      -      Database Server - The SharePoint database instance name.
      -      SharePoint Configuration Database Name - The SharePoint configuration database name. eg,. "SharePoint_Config"
      -      Authentication - Database authentication type (Windows Integrated or SQL Authentication).
      -      SharePoint TEMPLATE Directory - This is the full path for the SharePoint TEMPLATE directory. eg,. "\\<sharepoint server name>\C$\Program Files\Common Files\Microsoft Shared\Web Server Extensions\XX\TEMPLATE\" (Where XX is 12 for MOSS 2007; 14 for SharePoint 2010; 15 for SharePoint 2013)
    • Click Click Apply, and then click Save.


      SharePoint Adaptor System Configuration Preference Window


In versions lower than 2.0.8.0
,
  1. Install the CardioLog Analytics Tracking Agent Feature as detailed here OR manually add the Tracking Agent JavaScript Code (located in the [CardioLog Installation Folder]\CardioLogAgent\sp_js_tracking_code.txt file) to each SharePoint WFE. The tracking code should be placed in a SharePoint common .js file.

    Edit the [ca.src] and [script.src] values (copy the values from your current code):
     
    [ca.src]:
    ca.src='http://[server name]:[port]/CardioLogAgent/ca.aspx?_random='+Math.random();
    [script.src]:
    tt.src='http://[server name]:[port]/CardioLogAgent/AgentEmbed.aspx?env=[SharePoint version]&r='+Math.random()*100000;
    http://[server name]:[port]/: 'http://cardiolog/server name:port/'
    [SharePoint version]: MOSS2007, SP2010 or SP2013

  2. Verify that the CardioLog user account has read permissions to the SharePoint databases and the TEMPLATE folder on the backup farm.
  3. Keep an alternate Web.config file for the CardioLog [SP20XXTree] web application (where XX is 07 for MOSS 2007; 10 for SharePoint 2010; 13 for SharePoint 2013), which includes the proper configuration settings for connecting to the SharePoint backup farm servers: 
    • Edit the SharePoint database connection string in the web.config file accordingly:

      <connectionStrings>
      <add name="configDB" connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=[SharePoint Configuration Database Name];Data Source=
      [SharePoint Database Server Name]" />
      <add name="contentDB" connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog={0};Data Source={1}" />
      </connectionStrings>

      [SharePoint Configuration Database Name] - edit the SharePoint config database name
      [SharePoint Database Server Name] - edit the SharePoint database server name

    • Edit the following keys in the web.config file:

      <add key="includedWebApps" value="[SharePoint web application root URL]" /><add key="SharePointTemplatePath" value="[SharePoint TEMPLATE path]" />

               
               [SharePoint web application root URL]
     - A '*' separated list of the monitored SharePoint web applications in the farm
               [SharePoint TEMPLATE path] - Edit the SharePoint TEMPLATE folder path: 
               \\SharePoint WFE server name\C$\Program Files\Common Files\Microsoft Shared\Web Server Extensions\XX\TEMPLATE\ (Where XX is 12 for MOSS 2007; 14 for SharePoint 2010; 15 for SharePoint 2013)

  4. Test the configuration of the alternate Web.config file by dropping the file to the [SP20XXTree] directory and browsing to http:// [CardioLog server name]/[SP20XXTree]/default.aspx and verify that you get an XML response displaying the portal tree structure.
  5. In case of a failover, drop the alternate Web.config file into the [SP20XXTree] directory.
    [SP20XXTree- Where XX is 12 for MOSS 2007; 14 for SharePoint 2010; 15 for SharePoint 2013