Planners and allocators work on a DeploymentPlan provided as input. The caller can specify particular zone, pod, cluster, host, pool etc., to be used for deployment. So for enforcing the use of a dedicated pod, caller can set the podId in the plan and planners will search under the specific pod only.
There may be some changes necessary (like accepting a list of pods/clusters instead of single Ids) but this design of planners should let you enforce the use of dedicated resources without major changes to planners. -----Original Message----- From: Devdeep Singh [mailto:devdeep.si...@citrix.com] Sent: Friday, December 21, 2012 2:58 PM To: cloudstack-dev@incubator.apache.org Subject: RE: [DISCUSS] Dedicated Resources: Dedicate Pods, Clusters, Hosts to a domain Hi Alex, I assume some apis will be added for letting an admin dedicate a pod/cluster etc to a domain. This can be contained in a plugin. However, for enforcing that a dedicated resource is picked up for servicing deploy vm requests from a user; wouldn't planners and allocators have to be updated to take care of this? Regards, Devdeep > -----Original Message----- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: Thursday, December 20, 2012 7:21 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: [DISCUSS] Dedicated Resources: Dedicate Pods, Clusters, > Hosts to a domain > > Deepti, > > As Chiradeep pointed out, you should get in contact with Prachi. You > should plan on this after the ACL change or you can help out on the ACL > change. > > For this feature, you really need to think about the stats collection > side of this because you'll need to provide a lot of warnings about > being near capacity so people can plan accordingly. It cannot be a > case of the dedicated resource explodes and then they go and work on > expanding it. So you should also talk with Murali about how to do alerts in > his new notification system. > > And then in your spec, you need to plan out how to do this in a plugin > architecture and not modify the core code. > > --Alex > > > -----Original Message----- > > From: Deepti Dohare [mailto:deepti.doh...@citrix.com] > > Sent: Thursday, December 20, 2012 4:32 AM > > To: cloudstack-dev@incubator.apache.org > > Subject: RE: [DISCUSS] Dedicated Resources: Dedicate Pods, Clusters, > > Hosts to a domain > > > > Hi Mice, > > > > Once a new pod is dedicated to the child-domain, deployment of the > > new VMs will happen only in the new pod. > > The existing VMs will keep running on parent-domain's pod. > > > > Do you have any other suggestion on this. > > > > - Deepti > > > -----Original Message----- > > > From: Mice Xia [mailto:weiran.x...@gmail.com] > > > Sent: Thursday, December 20, 2012 4:52 PM > > > To: cloudstack-dev@incubator.apache.org > > > Subject: RE: [DISCUSS] Dedicated Resources: Dedicate Pods, > > > Clusters, Hosts to a domain > > > > > > but if further sub-domain is assigned a different pod then it > > > cannot access > > its > > > parent domain's pod. 2. Sub-domain and its child domains will have > > > the sole access to that new pod. > > > > > > when child domain already has some VMs on parent domain's > > > dedicated pod, is it allowed to assign a pod to the child domain? > > > or the existing VMs > > will > > > be migrated to the new pod? > > > > > > mice