Skip to content

No SYNC from DWH and ATC


Using Sync Dashboard (New Approach)

Go to the dashboard and trigger the appropriate sync process:

Restart Docker

cd apps/yml/
docker compose down
docker compose up -d

To monitor logs:

grep "SYNC" /home/qcuser/apps/log/micro/dtf-inventory-export.log | less

Note: This may show n/a if there’s no output.


Trigger Sync (Old Approach)

1. Restart Docker

As restarting Docker has proven helpful in previous experiences.

cd apps/yml/
docker compose down
docker compose up -d

2. Login to Config Container

docker exec -it dtf-prod-config-server /bin/bash

3. Navigate to Configuration Directory

cd /home/qcuser/apps/nonvolatile/git/micro-custom/custom/dtf-inventory-export

4. Adjust the Configuration File

Edit the file:

vi dtf-inventory-export-prod.properties
# (Previously: vi dtf-inventory-export.properties)

Set Quartz cron triggers:

sync.atcom.export.cron=0+0+0+*+*+?     # Set to trigger in 10 minutes
sync.dwh.export.cron=0+30+0+*+*+?     # Set to trigger in 20 minutes

5. Commit the Changes

git add .
git commit

Note: After git commit, a file editor will open. Use vi to add a dot (.), save, and close the file.


6. Exit the Container

exit

7. Restart the Respective Container

cd /apps/yml/
docker compose restart dtf-inventory-export

Monitor SYNC Export Logs

tail -f /home/qcuser/apps/log/micro/dtf-inventory-export.log

Revert Cron Configuration After SYNC Completes

After the SYNC is complete, set the Quartz cron values back to the original, and then restart the container again:

docker-compose restart dtf-inventory-export