...
- Admin adds Pod/cluster/host
- Admin dedicates the pod/cluster/host to a domain/account using new dedication APIs
- Admin enables the pod/cluster/host
Dedication will be used when:
- If a request is placed to deploy a VM with Service Offering flag "isdedicated" ON
- Check if the account/domain has dedicated resources:
- If Yes, Place the VM in dedicated resource
- If No, Place the VM in new free empty host, make that host dedicated to that account.
...
Parameter Name | Description | Required |
---|
isdedicated | if true, Instance will be deployed on the host dedicated to the account | false
|
DB Changes:
- New Table : dedicated_resources (id, uuid, zone_id, pod_id, cluster_id, host_id, domain_id, account_id) : This table contains the details about the patches for different XenServers versions..|| Field || Type || NULL || Key || Default || Extra ||
Field | Type | NULL | Key | Default | Extra id | bigint(20) unsigned | NO | PRI | NULL | auto_increment |
uuid | varchar(40) | NO | | NULL | |
description | varchar(999) | YES | | NULL | |
label | varchar(40) | YES | | NULL | |
timestamp | timestamp | YES | | NULL | |
url | varchar(999) | YES | | NULL |
|
- service_offering table: Introduce a column “isdedicated” in service_offering table. Default value should be 0.
...