Amazon-Rds

AWS RDS“需要維護”

  • February 9, 2022

我從 Web 界面看到需要對我的 RDS postgresql 實例進行維護,所​​以我執行了aws rds describe-pending-maintenance-actions,它說有一個“系統更新”,因為“有新的作業系統更新可用”。

沒關係,所以我在 90 分鐘前(aws rds stop-db-instance當時aws rds start-db-instance)重新啟動了實例。

90 多分鐘後,實例仍然“需要維護”。

我做錯了什麼,或者沒有做什麼?或者這只是一個通知,表明 AWS 將做一些我無法控制的事情?

$ aws rds describe-pending-maintenance-actions --output=table
-------------------------------------------------------------------------------------------
|                            DescribePendingMaintenanceActions                            |
||                               PendingMaintenanceActions                               ||
|+---------------------+-----------------------------------------------------------------+|
||  ResourceIdentifier |  arn:aws:rds:us-east-1:123456789012:db:xxxxxxxxxxxx     ||
|+---------------------+-----------------------------------------------------------------+|
|||                           PendingMaintenanceActionDetails                           |||
||+-----------------------------+-------------------------------------------------------+||
|||  Action                     |  system-update                                        |||
|||  AutoAppliedAfterDate       |  2022-06-30T00:00:00+00:00                            |||
|||  CurrentApplyDate           |  2022-06-30T00:00:00+00:00                            |||
|||  Description                |  New Operating System update is available             |||
|||  ForcedApplyDate            |  2022-10-30T00:00:00+00:00                            |||
||+-----------------------------+-------------------------------------------------------+||
||                               PendingMaintenanceActions                               ||
|+---------------------+-----------------------------------------------------------------+|
||  ResourceIdentifier |  arn:aws:rds:us-east-1:123456789012:yyyyyyyyyyyyy   ||
|+---------------------+-----------------------------------------------------------------+|
|||                           PendingMaintenanceActionDetails                           |||
||+-----------------------------+-------------------------------------------------------+||
|||  Action                     |  system-update                                        |||
|||  AutoAppliedAfterDate       |  2022-06-30T00:00:00+00:00                            |||
|||  CurrentApplyDate           |  2022-06-30T00:00:00+00:00                            |||
|||  Description                |  New Operating System update is available             |||
|||  ForcedApplyDate            |  2022-10-30T00:00:00+00:00                            |||
||+-----------------------------+-------------------------------------------------------+||

RDS 文件說您應該能夠通過選擇要應用升級的實例並選擇“維護和備份”選項卡,然後選擇掛起的維護並點擊“立即應用”來觸發升級

申請升級

引用自:https://dba.stackexchange.com/questions/307192