更新设备软件

如果您订购了支持在线转移的设备,则可以更新 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