Scheduling virtual machines using user-defined rules
AssigneeRed Hat Israel, Ltd.
InventorsYair Zaslavsky, Doron Fediuck, Laszlo Hornyak
Life of this patent
Estimating the term…
Abstract
A processing device receives a rule for execution by a rules engine and provides the rule to the rules engine. The processing device receives a request to provision a virtual machine (VM) having VM attributes. The processing device provides metrics of a plurality of physical hosts to the rules engine and the VM attributes to the rules engine. The processing device then receives. from the rules engine, an identification of one or more prioritized physical hosts of the plurality of physical hosts. The processing device provisions the VM on one of the one or more prioritized physical hosts.
Claims20
A method comprising:
- receiving, through a first interface, by a processing device, a rule for execution by a rules engine;
- providing, by the processing device, the rule to a virtualization manager;
- receiving a request to provision a virtual machine (VM) having VM attributes;
- determining, by the processing device, whether an instance of the rules engine is available;
- in response to determining that an instance of the rules engine is available, establishing communication between the available instance of the rules engine and the virtualization manager;
- in response to determining that no instance of the rules engine is available, initiating a new instance of the rules engine;
- providing, by the processing device, the rule to the rules engine from the virtualization manager;
- providing, by the processing device, metrics of a plurality of physical hosts to the rules engine and the VM attributes to the rules engine;
- receiving, from the rules engine, an identification of one or more prioritized physical hosts of the plurality of physical hosts;
- and
- provisioning, by the processing device, the VM on one of the one or more prioritized physical hosts.
A non-transitory computer-readable storage medium having instructions that, when executed by a processing device, cause the processing device to:
- receive, through a first interface, by the processing device, a rule for execution by a rules engine;
- provide, by the processing device, the rule to a virtualization manager;
- receive a request to provision a virtual machine (VM) having VM attributes;
- determine, by the processing device, whether an instance of the rules engine is available;
- in response to determining that an instance of the rules engine is available, establishing communication between the available instance of the rules engine and the virtualization manager;
- in response to determining that no instance of the rules engine in available, initiating a new instance of the rules engine;
- provide, by the processing device, the rule to the rules engine from the virtualization manager;
- provide, by the processing device, metrics of a plurality of physical hosts to the rules engine and the VM attributes to the rules engine;
- receive, from the rules engine, an identification of one or more prioritized physical hosts of the plurality of physical hosts;
- and
- provision, by the processing device, the VM on one of the one or more prioritized physical hosts.
A computing device comprising:
- a memory;
- and
- a processing device operatively coupled to the memory, the processing device to:
- receive a rule for execution by a rules engine;
- provide the rule to a virtualization manager;
- receive a request to provision a virtual machine (VM) having VM attributes;
- determine whether an instance of the rules engine is available;
- in response to determining that an instance of the rules engine is available, establishing communication between the available instance of the rules engine and the virtualization manager;
- in response to determining that no instance of the rules engine in available, initiating a new instance of the rules engine;
- provide the rule to the rules engine from the virtualization manager;
- provide metrics of a plurality of physical hosts to the rules engine;
- provide the VM attributes to the rules engine;
- receive, from the rules engine, an identification of one or more prioritized physical hosts of the plurality of physical hosts;
- and
- provision the VM on one of the one or more prioritized physical hosts.
Dependencies are inferred from the claim text.