Prerequisites - Azure
Prerequisites – CardioLog Analytics
- Access to the internet from all end users’ workstations, make sure that the azurewebsites.net domain is not blocked by the browsers
Pricing
- There is no additional cost for CardioLog Analytics application.
- There are additional costs for the following cloud components:
References
Architecture DRAFT
Step 1 – Create Azure App Service to host the CardioLogAgent web application
- Browse to the Azure Portal
- Under Web > select App Services
- Click Create
- Under Create Web App:
- Under Project Details > Fill out the Subscription and Resource Group
- Under Instance Details:
- Name: This will be subdomain of .azurewebsites.net. For example, mycompany-cardiologagent.azurewebsites.net
- Publish: Code
- Runtime stack: ASP.NET V3.5
- Operating System: Windows
- Region: select region of your choice. Prefer the closest to your end users.
- Under App Service Plan > Windows Plan > select or create app service plan
- Click Review + Create and compete the web app creation.
- Go to the created app service > Configuration > General settings > Set “Always on” to On > Save
Step 2 – Deploy CardioLogAgent resources into the created App Service
- In the CardioLog installation folder > go to CardioLogAgent folder > zip the content
- In Azure, go to the App Service main screen > App Service Editor > Drag and drop the zip file into the WWWRoot folder
- Right click the zip file > Extract All
Step 3 – Configure CardioLogAgent App Service
In Azure, go to the App Service main screen > App Service Editor > web.config:
<add key="EventCollectorPath" value="http://[CardioLog server name]:[CardioLog port, default is 29999]/EventCollector/monitor.aspx"/>
<add key="CardioLogRoot" value="http://[CardioLog server name]:[CardioLog port, default is 29999]"/>
<add key="overwriteConnectedUser" value="true" />
<add key="UseSPAuth" value="true" />
<add key="CardioLogAgentRoot" value="[app service URL]" />
Note: The app service URL can be found in the App Service > Overview > URL
Step 4 – Configure the hybrid connection endpoint
- In Azure, go to the App Service main screen > Settings > Networking
- Under Hybrid Connections > Configure your hybrid connection endpoints
- Add hybrid connection
- Create new hybrid connection:
- Name: name of your choice, for example: cardiologagent-hybrid-connection
- Endpoint Host: [CardioLog server name]
- Endpoint port: [CardioLog port, default is 29999]
- Service bus namespace > Create new:
- Location: select the same location as the App Service
- Name: name of your choice, for example: cardiologagent-service-bus
The steps are detailed here
Step 5 – Configure the Hybrid Connection Manager (HCM) client application
- In Azure, go to the App Service main screen > Settings > Networking > under Hybrid Connections > Configure your hybrid connection endpoints
- Download the HCM
- Install the HCM on the CardioLog Analytics onprem server
- Run the HCM and connect it to the endpoint
- Make sure the endpoint status is CONNECTED
- Test the endpoint:
- App Service main screen > Console
- Type: tcpping [CardioLog server name]:29999
The steps are detailed here
In case the status is NOT CONNECTED, try to restart the HCM or the HCM windows service.
For additional steps see Troubleshooting
Step 6 – Configure the JavaScript tracking code
Upon reaching the configuration step - Running the Configuration Wizard, change the tracking code as follows:
sourceDomain: '[app service URL without https prefix]/js/modern',
eventListenerDomain: '[app service URL without https prefix]',
modules: ['survey-and-message-bar'],
statisticsPath: '[app service URL]/ReportDispatcher.aspx'