cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

How to disable Drift Detector in cron in SA

961
Views
0
Helpful
0
Comments

Core Issue

During a major upgrade which involves database changes, the  Drift Detector (DD) must be disabled.

Resolution

To disable DD in the cron file, perform these steps:

  1. Login as "dsuser" to the DataGateway (DGW) machines where DD resides.

  2. Issue this command to view the context of the file:

    dsuser$ crontab -l

  3. Issue this command to send the output of the file to another file:

    dsuser$ crontab -l > "filename"

  4. Comment out the line that contains DD startup script start_dd.sh,  as in this example:

    dsuser$ vi "filename"

    00 12 * * * /opt/dynamicsoft/dsProducts/DD/2.0.0.5/bin/start_dd.sh >/dev/null
    #12 19 * * * /opt/dynamicsoft/dsProducts/DD/2.0.0.5/bin/start_dd.sh >/dev/null

  5. In order for the DD to run automatically every day at the same time, make sure to undo the changes.