更新设备软件

如果您订购的设备支持以下功能,则可以更新 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.

操作系统回滚

如果更新后的操作系统出现问题,您可以选择使用 回滚。操作系统回滚可让您从 Google Cloud 控制台 将操作系统更新至更新前的操作系统。

  • 操作系统回滚需要已完成操作系统更新。
  • 操作系统回滚要求当前操作系统版本高于 旧版操作系统。
  • 每次操作系统更新只能执行一次操作系统回滚。

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

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