Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document describes the specifications and design of this feature.

Also see https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+for+VMs+on+hardware+dedicated+to+a+specific+accountImage Removed

References

...

  1. If dedicated resources get exhausted for a domin/account, VM deployment will not fail unless shared resources has no free empty host, provided Implicit dedication flag: ON and service offering flag: ON.
  2. VMs that belong to two different offerings can be on the same host as long as they belong to the same account/domain . For e.g. If an instance is deployed by account user and : 
             a. If that account has dedicated resources, service offering flag "isdedicated" checked, then VM will be deployed on the dedicated host having VMs of same account or on the host which is empty.
             b. If that account has NO dedicated resources, service offering flag "isdedicated" checked then VM will be deployed on the host which is empty and that host will become dedicated to this account.
  3. The dedicated VM of other accounts (e.g. A2 or A3 ) of same domain or other domain, cannot use above host, but can use an empty host or host having vms of same account(A2 or A3). 
  4. If the service offering flag if OFF, the VM  will be deployed as CloudStack is doing now but should not use the host marked "dedicated for domain/account x".
  5. If no such host exists, VM operation should fail.

Host Tags with isDedicated flag and dedicated resources

  1. If Host Tag is provided and isDedicated flag is true and NO dedicated Resources (Host) 
    1. if Host has dedicated vms, place the vm in the that host
    2. if Host has no dedicated vms, fail the request.
  2. If host tag is provided and isDedicated flag is false and NO dedicated Resources 
    1. if Host has dedicated vms,  fail the request
    2. if Host has no dedicated vmsplace the vm in that host as cloudstack is doing now
  3. If host tag is provided and isDedicated flag is true and have explicitly Dedicated Resources (dedicated Host)
    1. Search for tagged as well as dedicated host, if found place the vm, if not found,  fail the request. 

Migration of

...

VMs

  1. If VM to be migrated is non-dedicated
    1. if destination host has dedicated vms, fail the request
    2. if the destination host is explicitly dedicated, fail the request.
    3. if destination host has no dedicated vms or is not explicitly dedicated, migrate it to the destination host.
  2. If VM to be migrated is dedicated
    1. if destination host has dedicated vms, migrate it to that host.
    2. if destination host is explicitly dedicated to the account owning VM, migrate it to the host
    3. if destination host is empty, migrate it to the host. Now host is implicitly dedicated to the account.
    4. if destination host has no non-dedicated vms or is not explictly dedicated, fail the request

Architecture and Design description

...