Articles in this section
Category / Section

How to Customize the Failure Occurrence Count to Control Data Refresh Disabling

Published:

By default, data refresh will be disabled after five consecutive failures in Bold BI. Users can customize this value to their desired count by following the steps outlined in this article.

Advantages of Customizing Failure Occurrence

Customizing the failure occurrence count allows you to better manage and control your data refresh processes. You can set thresholds that align with your organization’s tolerance for errors, ensuring that temporary issues do not immediately halt data refresh operations while still protecting against prolonged failures.

Steps to Update the Failure Occurrence Count from UI

Step 1: Go to Settings page by using the URL mentioned below.

{yourdomain}/ums/administration

Step 2: In the Settings page, click the Configuration tab.

configuration-tab.png

Step 3: In the configuration dropdown menu select the bi/config.xml file.

bi-config.png

Step 4: Select the node FailureOccurrence, set your desired value, and save the settings.

image.png

Please add the node to set the value if the FailureOccurrence node is unavailable in the configuration file.

Steps to Manually Update the Failure Occurrence Count for Different Environments

Windows

  1. Open the config.xml file located at:

    {deployment_location}\app_data\bi\configuration\config.xml
    
  2. Set the FailureOccurrence node to true. If the node is not present, add the following line:

    <FailureOccurrence>{desired_count}</FailureOccurrence>
    
  3. Save the file.

Linux

  1. Open the terminal and navigate to the deployment location:

    cd /var/www/bold-services/application/app-data/bi/configuration/
    
  2. Open the config.xml file using nano:

    sudo nano config.xml
    
  3. Set the FailureOccurrence node to true. If the node is not present, add the following line:

    <FailureOccurrence>{desired_count}</FailureOccurrence>
    
  4. To save the changes, press Ctrl + X, then Y, and hit Enter.

Docker

  1. Access the Docker container using the following command:

    sudo docker exec -it <container id or container name> bash
    
  2. Navigate to the configuration directory:

    cd /application/app-data/bi/configuration/
    
  3. Open the config.xml file using nano:

    sudo nano config.xml
    
  4. Set the FailureOccurrence node to true. If the node is not present, add the following line:

    <FailureOccurrence>{desired_count}</FailureOccurrence>
    
  5. To save the changes, press Ctrl + X, then Y, and hit Enter.

Kubernetes

  1. List the pods and exec into one of the pods:

    kubectl get pods
    kubectl exec -it {Podname} -n {namespace} -- bash
    
  2. Install nano if it is not already installed:

    apt-get update
    apt-get install nano
    
  3. Navigate to the configuration directory:

    cd /application/app_data/bi/configuration/
    
  4. Open the config.xml file using nano:

    sudo nano config.xml
    
  5. Set the FailureOccurrence node to true. If the node is not present, add the following line:

    <FailureOccurrence>{desired_count}</FailureOccurrence>
    
  6. To save the changes, press Ctrl + X, then Y, and hit Enter.

After completing the above steps in the respective environment, restart the Bold BI application to apply the changes.

Example Results:

By configuring the failure occurrence count to three, the data source refresh will be disabled after three consecutive failures instead of the default five. You can view the details in the refresh history dialog.

image.png

image.png

Additional References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
DS
Written by Deepikasri Sathiyakandhan
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied