Automated media agent state management
AssigneeCommvault Systems, Inc.
InventorsShree Nandhini Santhakumar, Mrityunjay Upadhyay
Life of this patent
Estimating the term…
Abstract
Described herein are techniques for automating media agent state management. For example, if a media agent is running poorly, then the media agent can be disabled and an alternate media agent can perform secondary copy job operations in place of the poorly running media agent. To determine whether a media agent is running poorly, a storage manager can determine whether the media agent has an anomalous number of failed jobs, pending jobs, and/or long running jobs and/or can determine whether the amount of resources used by the media agent is high or is increasing constantly, at a constant rate, or at a near constant rate.
Claims18
A system comprising:
- a plurality of computing devices, each computing device comprising one or more hardware processors, wherein a first computing device among the plurality of computing devices is configured as a first secondary storage computing device that hosts a first media agent;
- wherein the plurality of computing devices are configured with computer-executable instructions that, when executed, cause the system to:
- determine that the first secondary storage computing device is performing a current job that comprises secondary copy operations;
- determine that the first secondary storage computing device is performing anomalously compared to one or more values measured for jobs that comprised secondary copy operations, wherein the jobs were previously performed by the first secondary storage computing device over a period of time, wherein the one or more values correspond to one or more of:
- jobs running longer than expected, pending jobs, failed jobs, suspended jobs, killed jobs, and jobs successfully completed;
- based on determining that the first secondary storage computing device is performing anomalously, identify a second computing device among the plurality of computing devices that is configured as a second secondary storage computing device, which hosts a second media agent,
- wherein the second secondary storage computing device is associated with the first secondary storage computing device based on one or more storage policies configured in the system;
- determine one or more values of one or more of:
- pending jobs, failed jobs, and jobs running longer than expected, that are allocated to the second secondary storage computing device,
- wherein the second secondary storage computing device does not exceed one or more threshold values corresponding to one or more of:
- pending jobs, failed jobs, and jobs running longer than expected, that are allocated to the second secondary storage computing device;
- and
- further based on determining that the first secondary storage computing device is performing anomalously, and based on determining that the second secondary storage computing device is not exceeding the one or more threshold values, route at least one future job that comprises secondary copy operations to the second secondary storage computing device instead of to the first secondary storage computing device.
A system comprising:
- a plurality of computing devices, each computing device comprising one or more hardware processors, wherein a first computing device among the plurality of computing devices is configured as a first secondary storage computing device that hosts a first media agent;
- wherein the plurality of computing devices are configured with computer-executable instructions that, when executed, cause the system to:
- determine that the first secondary storage computing device is performing a current job that comprises secondary copy operations;
- determine that the first secondary storage computing device is performing anomalously compared to one or more values measured for jobs that comprised secondary copy operations, wherein the jobs were previously performed by the first secondary storage computing device over a period of time, wherein the one or more values correspond to one or more of:
- jobs running longer than expected, pending jobs, failed jobs, suspended jobs, killed jobs, and jobs successfully completed;
- based on determining that the first secondary storage computing device is performing anomalously, determine that, among a plurality of second secondary storage computing devices in the system, each of which hosts a second media agent, a second secondary storage computing device is available to take over for the first secondary storage computing device;
- determine that the second secondary storage computing device does not exceed one or more threshold values corresponding to one or more of:
- pending jobs, failed jobs, and jobs running longer than expected, that are allocated to the second secondary storage computing device;
- and
- based on determining that the one or more threshold values are not exceeded at the second secondary storage computing device:
- place the first secondary storage computing device into a disabled state, and while the first secondary storage computing device is in the disabled state, route future jobs that comprise secondary copy operations to the second secondary storage computing device instead of to the first secondary storage computing device;
- determine a number of times that the first secondary storage computing device has been recycled within a threshold period of time;
- based on determining that the number of times is below a threshold value, place the first secondary storage computing device into an enabled state, and while the first secondary storage computing device is in the enabled state, route the future jobs that comprise secondary copy operations to the first secondary storage computing device instead of to the second secondary storage computing device;
- and
- based on determining that the number of times is above the threshold value, continue to route the future jobs to the second secondary storage computing device instead of to the first secondary storage computing device.
Dependencies are inferred from the claim text.