Setting a Daylight Saving Time (DST) configuration

The Copy Data Management application may experience scheduling inconsistencies during Daylight Saving Time (DST) transitions. To prevent these inconsistencies, set the DST configuration to skip non-existent hours.

Procedure

By default, Copy Data Management does not skip hours that are lost during Daylight Saving Time (DST) transitions, which can cause scheduling inconsistencies. To prevent these issues, configure the application to skip the non-existent hours during DST changes.
Note: Issue all the curl commands from the command-line interface of the Copy Data Management appliance.
  1. Create a session and obtain the session ID.
    To authenticate and start a session, issue the following curl command from the command-line interface of the Copy Data Management appliance:
    curl -k -s -X POST "https://localhost:8443/api/endeavour/session" -u "<username>:<password>"
    The command provides an output as follows:
    {
      "sessionid": "<session-id>",
      "user": {
        .........
    }
    Note the value of the session ID from the output for further use.
  2. Retrieve the current DST configuration.
    Issue the following command to retrieve the current DST configuration:
    
    curl -s -k -X GET "https://localhost:8443/api/endeavour/preference/pref.job.schedule.trigger.skipDayIfHourDoesNotExist" \
    -H "Content-Type: application/json" \
    -H "X-Endeavour-Sessionid: <session-id>" 
     
    Note: Replace <session-id> with the actual session ID obtained from the login API.
    The command provides a response as follows:
    {
      "name": "pref.job.schedule.trigger.skipDayIfHourDoesNotExist",
      "category": "Job",
      "type": "boolean",
      "value": {
        "value": null
      },
      ...
    }
    If the value attribute is null, the DST configuration is not enabled.
  3. Enable DST configuration.
    To enable DST configuration, issue the following command to set the value attribute to true.
    curl -s -k -X PUT "https://localhost:8443/api/endeavour/preference/pref.job.schedule.trigger.skipDayIfHourDoesNotExist" \
    -H "Content-Type: application/json" \
    -H "X-Endeavour-Sessionid: <session-id>" \
      --data-raw '{
        "value": true
      }' 
     
    Note: Replace <session-id> with the actual session ID obtained from the login API.
    The request enables the DST configuration by setting the pref.job.schedule.trigger.skipDayIfHourDoesNotExist preference to true.

What to do next

To verify that the DST configuration is enabled:
  • Repeat Step 2 to verify that the value attribute is set to true.
If you still see issues related to the processing of invalid hours:
  • Verify the JSON format in the curl commands.
  • Review the Copy Data Management logs for errors.