Agent Upgrade / Rollback

iofogctl provides a means to upgrade your Agents to the latest version and rollback to the previous version following an upgrade.

To upgrade, run the following command:

iofogctl upgrade agent agent-1

The Agent will spend a few minutes upgrading at this point. If the version doesn't change (e.g. via iofogctl get agents), then it is possible something went wrong. Review the contents of /var/log/iofog-agent-upgrade.log to find the output of the upgrade process on the Agent.

To revert the upgrade, run the rollback command:

iofogctl rollback agent agent-1