如果您訂購的裝置支援線上轉移,即可更新 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.
OS 復原
如果更新後的作業系統有問題,可以選擇將作業系統回復到先前的版本。作業系統回溯功能可讓您將設備的作業系統從更新後的版本回溯至更新前的版本。
- 您必須先更新 OS,才能復原 OS。
- 如要復原作業系統,目前作業系統的版本必須大於先前作業系統的版本。
- 每次更新作業系統後,只能回溯一次。
您可以執行下列指令來復原作業系統:
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