主权项 |
1. A computer-implemented method, comprising:
identifying, on a computing device, a parent component in a virtual-machine environment, wherein the parent component includes a host cluster of two or more hosts, a host, or a set of two or more virtual machines;
identifying a set of two or more child components of the parent component, wherein when the parent component includes a host cluster, each child component includes a host in the host cluster, when the parent component includes a host, each child component includes a virtual machine running on the host, and when the parent component includes a set of virtual machines, each child component includes a virtual machine in the set of virtual machines;determining, on a computing device, a performance metric for each child component in the set of two or more child components, wherein the performance metric indicates a performance of the child component within a selected time period;determining a child-component performance state for each child component in the set of two or more child components based on the performance metric for the child component and a child-component state criterion, wherein the child-component state criterion maps a first range of values for a performance metric to a first child component performance state and a second range of values for the performance metric to a second child-component performance state;determining a parent state for the parent component based on the child-component performance state for each child component in the set of two or more child components and a parent-component state criterion, wherein the parent-component state criterion includes a threshold percentage or number of child components that have a specified state; anddisplaying a visual representation of the virtual-machine environment, wherein the visual representation includes a representation of the parent component and an indication of the parent state of the parent component. |