Diagnosing Applications
Scenarios
After an incident is created, you can use the full-link fault diagnosis function to quickly locate the root cause of the fault. You can view the relationship topology of the application layer, component layer, and resource layer for customer applications and abnormal data based on resources and application alarms. Capabilities of viewing core resource metrics and diagnosing instances are provided.
Prerequisites
- You have performed the operations described in Creating an Application, Manually Associating Resources with an Application, and Managing Application Topologies on CloudCMDB.
- CES has been connected. You can configure CES monitoring by referring to Integration Management.
- An incident ticket has been created.
- To display workload and POD information in a CCE cluster, you need to add label to workloads in CCE. (Only one CCE cluster resource can be added to each group. Otherwise, workload information is not displayed.)
Figure 1 Configuring CCE workload label
Diagnosing Applications
- Log in to COC.
- In the navigation pane, choose Fault Management > Incidents.
- Click the All incident Tickets tab.
- Select the incident ticket to be diagnosed and its title.
- Click Application Diagnosis.
- Click the time box and set the fault occurrence time.
The time entered in the time box is the end time. The start time is one hour earlier than the end time. After the time is selected, the number of alarms for the application and its sub-applications in the selected time period is displayed on the application topology dashboard, and the application fault details are displayed on the details page on the right.
- (Optional) Select Auto Refresh and select a refresh frequency from the drop-down list.
After Auto Refresh is selected, the end time is updated to the current system time based on the refresh frequency.
- (Optional) If the application has sub-applications, click the target sub-application.
The application topology dashboard displays all components of the sub-application. The sub-application fault details are displayed on the details page on the right. You can switch to other sub-applications on the topology dashboard.
- Click a component under the application or its sub-application.
The application topology dashboard displays all resources of the component. The component fault details are displayed on the right details page. You can switch to other components on the topology dashboard. Metrics of core cloud services can be displayed. If APM is associated in application management, you can also view link-related metrics.
- Click Alarm on the right of the application topology.
View application alarms. Alarms generated within the time range on the right axis are displayed in the list. When you select a topology object on the left, its alarm information is automatically filtered.
- Click Change on the right of the application topology.
View application changes. Changes within the change time range on the right axis are displayed in the list.
- Click Fault Diagnosis on the right of the application topology.
View the fault diagnosis data for your resources. You can check DCS, RDS, DMS, ECS, and ELB resources. After a topology object is selected on the left, its diagnosis information is automatically filtered.
If no diagnosis task exists or you have created a new one, do the following:
- Click Create Diagnosis Task.
- Select a resource type and resource.
- Click OK.
- Read and agree to Frontend Data Authorization Agreement on Guest OS Diagnosis Service, and click Agree.
You need to sign the agreement only if you select ECSs for fault diagnosis.
After the diagnosis is complete, click View Details on the right of the diagnosis result list to view the diagnosis report.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot