如何强制更新AWS网关?

0

【以下的问题经过翻译处理】 我的网关提示说:“有新的软件更新可用。这可能会导致网关自动重启。”但是,当我点击“立即应用更新”时,绿色提示消息会出现在顶部,但网关从未更新。不知道为什么会出现这种情况?

profile picture
EXPERT
demandé il y a 5 mois122 vues
1 réponse
0

【以下的回答经过翻译处理】 你是在谈论AWS存储网关吗?如果是,我的建议如下:

使用CLI强制更新:

获取ARN

aws storagegateway list-gateways { "Gateways": [ { "GatewayId": "sgw-VVVVV", "GatewayARN": "arn:aws:storagegateway:us-east-1:XXXXX:gateway/sgw-VVVVV", "GatewayName": "HHHHHHH", "GatewayOperationalState": "ACTIVE", "GatewayType": "FILE_S3" }, { "GatewayId": "sgw-GGGGGG", "GatewayARN": "arn:aws:storagegateway:us-east-1:XXXXXX:gateway/sgw-GGGGGG", "GatewayName": "dskhdksj", "GatewayOperationalState": "ACTIVE", "GatewayType": "FILE_S3" } ] } 使用ARN可以强制更新:

aws storagegateway update-gateway-software-now --gateway-arn arn:aws:storagegateway:us-west-1:XXXXX:gateway/sgw-HGHJGJ { "GatewayARN": "arn:aws:storagegateway:us-west-1:XXXXX:gateway/sgw-GHGHGH" } 更多信息请参见:https://docs.aws.amazon.com/cli/latest/reference/storagegateway/update-gateway-software-now.html

profile picture
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions