Table of Contents |
---|
Info |
---|
Manage This page describes how to manage allocation rules to control resource scheduling in private cloud data centers while allowing your virtualization technology to take care of the details. This page describes how to configure rules for load balance, compute load level, storage load level, enterprise exclusion, and fit policies, to ensure that VMs will be allocated in the desired hosts |
Introduction to allocation rules
The platform uses allocation rules to control the scheduling of resources in datacenters, although your to deploy your VMs to the desired hosts. Your virtualization technology must manage the use of resources in the resourcesvirtualization technology.
For details of the allocation process, see the Virtual machine allocation section.
There are two types of allocation rules: Global rules apply to all datacenters and Datacenter rules apply to the selected datacenter.
...
Tip |
---|
API Documentation For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource RulesResource. |
...
Create a global load balance rule
...
Go to Infrastructure → Private → select a datacenter
If you are in Map view or Statistics view, click the Server symbol in top right-hand corner to go to Servers view
Go to Allocation rules
On the Global pane, click the +add button
For the Rule type, select
Load level compute
If you are using a cluster as a physical machine, to create rules for the cluster, select the Server option
Complete the dialog
Field | Value |
---|---|
Rule type | Select Load level compute |
Rack | Select All or a specific rack |
Server | Select All or a specific server. If you are using a cluster as a physical machine, to create rules for the cluster, select the Server option |
Cluster | If you are using vCenter with ESXi, the platform detects the clusters. Select a specific cluster A cluster rule affects all hosts irrespective of their state, for example, it applies to hosts that are powered off. |
Aggregate | Select to create a rule for the sum of all resources in a group (datacenters, racks, or clusters). This means that the platform will sum all of the resources in the group and calculate the load level percentage of the total in order to determine the available resources for the group. |
Service Port | The port used by the cloud nodes to connect to the storage technology |
RAM | Percentage usage of memory to allow. We DO NOT recommend the overallocation of RAM |
CPU cores | Percentage usage of CPU cores to allow. We DO NOT recommend the oversubscription of CPU cores |
...
Create load level storage rules
...
Go to Infrastructure → Private → select a datacenter
If you are in Map view or Statistics view, click the Server symbol in top right-hand corner to go to Servers view
Go to Allocation rules
On the Global panel, click the + add button and complete the dialog
For the Rule type, select
Load level storage
For the Datastore and Datastore tier select
All
or a specific tierFor Storage, to limit the amount to use, enter a percentage (0 to 100%)
Click Save
...
Go to Infrastructure → Private
Select a datacenter
Go to Allocation rules → Global
Click the + add button
Select Restrict shared server rule
Select the two enterprises that must not share a physical server. The cloud admin must configure the rules properly to customize VM deployments.
Note that you can also restrict servers by editing an enterprise in Users view.
...
To gradually migrate users to a new empty hypervisor, set load balance rules to performance. This will ensure that new deployments will go to the new machine.
To stop VMs from deploying to a specific physical machine, set load level rules to 1% for RAM and CPU. This will ensure that users cannot deploy more VMs to this physical machine. However, it is also important to consider that users will not be able to reconfigure the VMs that were already deployed there.
...
Manage allocation rules with the API
Tip |
---|
API Documentation For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource RulesResource. |
Related topics