Perform the following steps to run an OTA update for the IoTC Agent using default properties.

Prerequisites

  • Using the package-cli tool, perform the following steps:
    1. Create an IoTC Package. For more information about creating an IoTC Package, see Create an IoTC Package.
    2. Upload the IoTC Package to the repository. Alternatively, use the VMware Pulse IoT Center UI to upload to the repository. For more information about uploading the IoTC Package, see Upload the IoTC Package.
  • Enroll devices.

Procedure

  1. Create a campaign using a distribution select query and the packages that you uploaded while creating the campaign.
  2. Start the campaign.

Results

The IoTC Agent auto-polls the command instructions every 5 minutes. The campaign states flow from INITIALIZED to COMPLETED after a series of get-commands calls to the Campaign server.