- 11 Jul 2022
- 4 Minutes to read
- Updated on 11 Jul 2022
- 4 Minutes to read
When a lot of transactions happen within the BizTalk servers, there may be chances of CPU and memory spiking up and resources will become unavailable. The performance data monitoring feature helps the administrator to understand the health of BizTalk/SQL Server with windows performance metrics at frequent intervals.
In this section, the following is discussed:
- Configuring performance data collection
- Setting up a Performance Data Monitor
Configure Performance Data Collection
To monitor the performance of the server, the performance data collection must be enabled in the BizTalk360 Analytics section,
- Log into BizTalk360. Navigate to Environment settings->Analytics->Performance Data Collection
- Users should be able to view the list of SQL and BizTalk servers available in the environment
- Enable the performance data collection to view and monitor the server performance
- Enabled toggle next to Windows to collect the windows performance metrics ( CPU, Memory, Disks Usage, etc )
- Make sure Analytics Service is running for successful data collection
Setting up Schedule for performance Data Monitoring
A schedule can be configured to define what counters need to be monitored and when to be monitored. Say for example you can configure a schedule to monitor the windows performance metric (Disk Usage ) of BizTalk or SQL server every 15 mins and get notified. Create a new Schedule by Navigate to Monitoring ->Data Monitoring ->Performance ->Click Add Schedule and follow the below steps.
- Choose Alarm - As mentioned above, the first step to set up Performance data monitoring is to create an alarm. Once you have created the alarm, the alarm name will be displayed in the drop-down. Select the alarm that should be used for performance data monitoring
- Schedule Name - A meaningful name for the performance monitor. The Schedule is created to monitor the Disk Usage of the BizTalk Server every 15 mins, so the Schedule name can be set as "Disk Usage Monitoring"
- Server Type - Select the server that needs to be monitored. You can select either the BizTalk server or SQL server (Create multiple schedules to monitor multiple server performance)
- Server - Based on the server type selection, BizTalk360 lists the available servers configured in the environment
- Metric Type - Select the metric type filters from the drop-down. In this example, we have chosen the windows metrics "Disk"
- Counter - The performance counter will get listed based on the Metric Type selected in step 5. Here the performance counter for Disks are Disk Usage, Average Disk Queue Length, and Average Disk Sec/Write will get listed, Disk Usage is chosen from the list in this example.
- Set the Threshold Condition
- Warning Threshold - Set the value when you want to be notified when there is a warning. First, select the Operator (> or =) and then set the warning value. For e.g., When the Disk usage is > 70, throw a warning
- Error Threshold - Set the value when you want to be notified when there is an error. First, select the Operator (> or =) and then set the error value. For e.g., When the Disk usage is > 80, throw an error
- Monitoring Schedule
- Frequency (How often you want to monitor) -The performance must be monitored very frequently to avoid server disaster. So only the Daily Option is only available here.
- When during the day - Select the time when the data monitor must execute on a particular day during business hours. You can customize your business hours by selecting the values from the Business Day Start and Business Day End options.
- At what time? -
- End Of the Business day - For e.g, if the business end time specified is 5 PM (default value), the data monitor will execute exactly at 5 PM
- Frequency - Select the number of minutes/hours after which the data monitor should execute. E.g., 15 minutes means the data monitor will execute once every 15 minutes
- Start Date / End Date - When you want to start/stop the scheduled execution. If you want the schedule to execute all the time the choose No end date
- Summary - The summary information will automatically be listed based on the information selected in the previous steps. Click the Save button to store the schedule configuration.
Monitoring and Notification
On successful schedule configuration, you should be able to see the Next Run Time of the scheduled execution in the Manage schedule section. Every time when the schedule gets executed say for example every 15 mins from 9 AM to 5 PM, it monitors the server performance based on the metric and counters chosen in the schedule configuration. The results will get notified to the configured email id or any notification channel and also the result will be updated in the dashboard.
- To get an accurate result make sure the analytics service is running all the time and the respective performance counter is chosen for data collection
- Follow the BizTalk360 purging policy to avoid data growth
- If you don't want healthy notification, Say you wish to get notified only when there is an error/warning, then disable the option "Notify on Success" while creating the data monitoring alarm
- To set the monitoring frequency to less than 15 mins. Update the "Data Monitoring minimum frequency" value under Monitoring and Notification in the System setting.