How to improve time taken for config changes to sync down to the Tethered cluster?

How to improve time taken for config changes to sync down to the Tethered cluster?

book

Article ID: KB0071155

calendar_today

Updated On:

Products Versions
TIBCO Cloud API Management - Local Edition 5.x and above

Description

Every Tethered cluster gets the configuration information from an area, via the Mashery On-Prem Manager or MOM.
By default the sync interval is 15mins.
 

Issue/Introduction

This article provides inputs to fine-tune the MOM sync process on a Tethered cluster

Environment

All Supported Platforms

Resolution

Here are the steps to fine tune this process:

1) Please reduce the onpremloader or sync interval to 5mins, instead of the default 15mins
- For this please change the values for "*_interval_minutes" fields to 5 in tml_sql_properties.json.
- As only sql properties file is changed, only sql pod/svc needs to be redeployed
Here is the article for reference:
https://support.tibco.com/s/article/How-to-trigger-a-manual-sync-for-a-Tethered-ML5-x-cluster

2) In the same tml_sql_properties.json, set the below property to true:
"mom_download_and_sync":true,

3) In the tml_cache_properties.json, set the below property to 10.
"updated_packager" : 10,
- Redeploy the cache pods for the change to take effect.