close

現場(環境): Amazon Instance   

 


 

原因:

 

操作人員不知道設定了什麼,再重啟Amazon Instance 後,

 

就再也無法連線到該主機。

 

到Amazon管理介面才看到有錯誤訊息。

 



處理方式:

 

Amazon EC2 Instance錯誤問題檢查

 

Instance有開啟,但無法RDP連線

 

 

看到訊息有錯誤 (軟體或網路造成他的錯誤),

 

這時候Amazon建議先Reboot後再去看log

 

 

重啟後,狀態還是警示符號,要檢查LOG問題

 

 

 

 

把出現的訊息與下列網站內的訊息做比對

https://docs.aws.amazon.com/zh_cn/AWSEC2/latest/UserGuide/TroubleshootingInstances.html

 

查看該如何處理這個LOG的訊息。

 

查看後發現是網路的問題,依照Amazon的方式處理完。

 

重開機後再次重整即正常。

 

正常後可以看到機器運作到最後的log訊息會出現。

 

Message: Windows is Ready to use

 

(本篇完)

 


 

附件: Amazon 提供的處理方式

 

#!############

 My Microsoft Windows Server instance is stuck "Waiting for meta-data accessibility..."

Issue

An Amazon EC2 Windows Server instance is stuck waiting for metadata (fails 1 of 2 health checks).

Short Description

A Windows Server instance is failing 1 of 2 health checks, with the console output message "Waiting for meta-data accessibility..."

Resolution

This can occur if your OS has no route out to the metadata service. This can be caused by a static IP address for a different subnet, which can happen if you deploy a custom AMI into a new instance in a new subnet.

In EC2-VPC, you can add a second elastic network interface (ENI) to the instance to provide the missing route and allow you to access the instance and resolve the problem with the static IP address.

More information about ENIs is available here: Creating a Nework Interface

For EC2-Classic, you need to perform offline registry edits to reenable DHCP and overcome static IP configurations. For detailed steps, see Waiting for the metadata service.

If you launch an instance in EC2-VPC that was previously running fine in EC2-Classic but is now stuck waiting for metadata, you can try updating to the latest version of the EC2Config service: Installing the Latest Version of EC2Config.

Finally, if OpenVPN is installed on the Windows Server instance, it can be causing this error. For instructions on how to disable OpenVPN from startup, see the Microsoft support article How to Disable a Service or Device That Prevents NT from Booting.

Keywords

Amazon Elastic Compute Cloud (Amazon EC2), Windows Server, failed heath checks, metadata

Related Forums

AWS Developer Forums: Amazon Elastic Compute Cloud

Related Information

Instance Metadata and User Data

#!############

 


 

arrow
arrow
    全站熱搜

    IT001 發表在 痞客邦 留言(0) 人氣()