更新设备软件

如果您订购的设备支持 在线传输,则可以更新 Transfer Appliance 软件。

在开始之前,请按照说明准备用于在线传输的服务帐号密钥。

更新软件还会重启在线传输。

运行 ta update 以更新以下列出的软件:

  • 操作系统
  • 二进制文件
  • Docker 容器

您可以通过将适当的标志传递给ta update来单独更新每个项 :

ta update --os --binaries --containers

成功的响应类似于以下示例。


Updating containers on the appliance...
This may take several minutes to finish...

Online containers are updated successfully on the appliance.
Updating binaries on the appliance...
This may take several minutes to finish...

Binaries are updated successfully on the appliance.
Updating Operating System on the appliance...
This may take several minutes to finish…

Operating System was updated successfully.
Appliance will now reboot in a minute.
The boot up process after reboot may take several minutes.

如果未启用在线传输,则会返回以下示例响应:


Appliance is not configured for online mode, thus not updating online containers.
Updating binaries on the appliance...
This may take several minutes to finish...

Binaries are updated successfully on the appliance.
Updating Operating System on the appliance...
This may take several minutes to finish…

Operating System was updated successfully.
Appliance will now reboot in a minute.
The boot up process after reboot may take several minutes.

操作系统回滚

如果更新后的操作系统存在问题,您可以选择执行操作系统 回滚。通过操作系统回滚,您可以将设备操作系统从 更新后的操作系统回滚到更新前的操作系统。

  • 操作系统回滚需要先进行操作系统更新。
  • 操作系统回滚需要当前操作系统的版本高于 之前操作系统的版本。
  • 每次操作系统更新只能执行一次操作系统回滚。

您可以通过运行以下命令执行操作系统回滚:

ta os rollback

成功的响应类似于以下示例。


Operating System was rollbacked successfully.

Appliance will now reboot in a minute.

The boot up process after reboot may take several minutes.

Please do not run any additional commands until the appliance has finished rebooting