Fault Locating
Scenario
If a resource or an action encounters an exception, you can query operation records of the resource or action in a specified time period and view the requests and responses to facilitate fault locating.
Prerequisites
You have enabled CTS and trackers are running properly.
Procedure
The following shows how to locate an ECS fault which occurred in a morning.
- Log in to the management console as an administrator.
- Click
in the upper left corner to select the desired region and project. - Click
in the upper left corner and choose Management & Governance > Cloud Trace Service. The CTS console is displayed. - Choose Trace List in the navigation pane on the left.
- Set filters in sequence and click Query.
Select Management for Trace Type, ECS for Trace Source, ecs for Resource Type, Resource ID for Search By, and enter the ID of the faulty virtual machine (VM). Select a time range from 06:00:00 to 12:00:00 on the day when the fault occurred in the upper right corner. Then, click Query to view the result.
- Check the returned traces, especially the request type and response of each trace. Pay attention to traces whose status is warning or incident, and traces whose response indicates a failure.
- Log in to the management console as an administrator.
- Click
in the upper left corner and choose Management & Governance > Cloud Trace Service. The CTS console is displayed. - Choose Trace List in the navigation pane on the left.
- Select Management for Trace Type, ECS for Trace Source, ecs for Resource Type, and Warning for Trace Status. In the returned traces, locate the trace named createServer.
- Check the trace details and locate the fault based on the error code or error message.
Last Article: Security Auditing
Next Article: Resource Tracking
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.