...
Host 1 is explicitly dedicated to domain D1, Host 2 is implicitly dedicated, and Host 3 is a shared host.
Assumptions:
- Hosts can be implicitly dedicated. This is required to prevent unavailability of resources.
- VM deployment will fail if both explicit dedication and implicit dedication are required.
SID-VM : VM with Strict Implicit Dedication required
...
This feature will come as a separate plugin which will use the PluggableService to add the DedicatedResources feature APIs into CloudStack, the DedicatedResourceManager will be responsible for thread scheduling and the ExplicitDedicationProcessor will implement AffinityGroupProcessor adapter and ImplicitDedicationPlanner will implement a deployment planner interface.
No Format |
---|
Ways to achieve Dedication: |
...
To Use Explicit Dedication: Create an Affinity Group of type "explicit dedication". Use that AG to deploy a VM. |
...
To Use Implicit Dedication: Create a Service Offering with Implicit dedication planner. Choose a type: 'strict' or 'preferred'. Use that SO to deploy a VM. |
...
Case 2: Deploy VM for account B with explicit dedication, processors should set the scope of plan to Zone Z since the dedicated hosts are in Pod P1 and P2 , with parent being the zone itself. Also set the Cluster C2 in avoid set.
Default Processor will be modified to make sure that dedicated resources are not picked, when dedication is NOT required.
...
...
d) ImplicitDedication flag
id | bigint(20) unsigned | NO | PRI | NULL | auto_increment |
uuid | varchar(40) | YES | UNI | NULL |
|
data_center_id | bigint(20) unsigned | NO | MUL | NULL |
|
pod_id | bigint(20) unsigned | NO | MUL | NULL |
|
cluster_id | bigint(20) unsigned | NO | MUL | NULL |
|
host_id | bigint(20) unsigned | NO | MUL | NULL |
|
domain_id | bigint(20) unsigned | YES | MUL | NULL |
|
account_id | bigint(20) unsigned | YES | MUL | NULL |
|
implicit_dedication | tinyint(1) unsigned | NO | MUL | 0 |
|
...