Synchronous Updates

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Ian,

Setting up Synchronous Updates on Torizon OS allows you to update both the operating system and your container applications simultaneously, ensuring they succeed or fail together. This is particularly useful when your applications depend on specific OS features or drivers.

To achieve this, you will need to use Torizon Cloud, which manages these updates. Here’s a concise guide to help you set it up:

  1. Prepare Your OS and Application Packages:

    • If you’re using a custom Torizon OS image, ensure it is built and ready for deployment. This might involve using Yocto to customize the OS image.
    • Prepare your Docker Compose YAML files that define your containerized applications. These files specify how your containers should be configured and run.
  2. Upload to Torizon Cloud:

    • Sign and upload your custom OS image to Torizon Cloud if applicable.
    • Upload your Docker Compose files to Torizon Cloud. This allows the cloud service to manage and deploy your container applications.
  3. Configure Synchronous Updates:

    • In Torizon Cloud, create a deployment package that includes both the OS image and the Docker Compose files. This package will be used to perform the synchronous update.
    • Ensure the deployment package is configured to treat the OS and application updates as a single unit, meaning they must both succeed or fail together.
  4. Deploy the Update:

    • Use Torizon Cloud to deploy the synchronous update to your devices. The cloud service will handle the update process, ensuring that both the OS and applications are updated in a coordinated manner.

By following these steps, you can achieve a reliable and consistent update process for both your Torizon OS and container applications. This setup helps prevent issues that might arise from mismatched OS and application versions.

If you have any further questions, feel free to ask!

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Deploying Container Images to Torizon OS | Toradex Developer Center.