How to check if the Ancor is sync is upto date

Modified on Tue, 24 Jun at 2:42 PM

Need for Ancor sync check, Why?


Keeping the Ancor sync updated is crucial for on-prem customers to ensure uninterrupted functionality—whether it's related to connectivity, patching, or remediation activities. Below are the recommended steps to verify if Ancor sync is functioning correctly.


Step 1: Review Log Files

  1. Navigate to the Logs Directory:
    Open a terminal on the Ancor server and run:

    cd /usr/local/scaprepo/logs
    
  2. Locate the Latest Log File:
    Identify the log file corresponding to the current date. For example, on May 26, the file would look like:

    Ancor_2025-05-26.log
    
  3. Verify Sync Activity:
    Open the log file using tail -100f or cat to confirm that sync operations are occurring. You should see entries indicating data fetches, uploads, or status updates:

    Log entries confirming sync activity indicate that the process is up-to-date.


Step 2: Check Timestamp of Resource and Reports Folders

  1. Resource Folder:
    The resource folder stores all third-party patches and acts as the local patch repository.

    ls -lt /usr/local/scaprepo/resource
  2. Reports Folder:
    Check the last updated timestamp to ensure recent data has been pulled.

    ls -lt /usr/local/scaprepo/reports

    ⏱️ Recent timestamps confirm the sync is active and recent.


Additional Notes:

  • The resource folder is critical for storing all third-party patch content.

  • All the thirdparty patches are being stored here, so if any third-party remediation job is failed with patch not found in the software repository, we have to verify the presence of this application.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article