How to set LDAP synchronization interval in minutes in TIBCO Spotfire Server

How to set LDAP synchronization interval in minutes in TIBCO Spotfire Server

book

Article ID: KB0072118

calendar_today

Updated On:

Products Versions
Spotfire Server 10.10 and later

Description

This article explains the use of correct syntax to set LDAP synchronization in minutes. It is not possible to set it through the Configuration tool as the Minutely option is greyed out for editing. The server does not support Cron step values (values starting with a slash).

Issue/Introduction

This article helps in scheduling the LDAP synchronization interval in minutes

Environment

All Supported OS

Resolution

To set the LDAP sync interval to 5 mins, you need to make the below change for <schedule></schedule> parameter under LDAP in the configuration.xml.

<synchronization-schedules>
          <schedule>@restart</schedule>
          <schedule>@daily</schedule>
          <schedule>0,5,10,15,20,25,30,35,40,45,50,55  * * * *</schedule>
</synchronization-schedules>

Similarly for 15 mins, it would be <schedule>0,15,30,45 * * * *</schedule>.

Steps to make the above changes:

1) Export the active server configuration (the configuration.xml file) by using the export-config command.
Example:
config export-config --tool-password=mypassword

2) After you have made the change, upload the modified configuration back to the Spotfire database by using the import-config command. The configuration that you import becomes the active configuration for that server or cluster.
Example:
config import-config --tool-password=mypassword --comment=what was changed

3) Restart Spotfire Server.

Additional Information

Doc: Executing commands on the command line Doc: export-config command Doc: import-config command