one could also tag the hosts with the same tag within a cluster. Then
associate service offerings to map to either cluster A or cluster B. Thats
also another option.


On Wed, Mar 6, 2013 at 3:53 AM, prasanna <srivatsav.prasa...@gmail.com>wrote:

> On 6 March 2013 17:03, tawfiq zidi <tawfiq.z...@gmail.com> wrote:
> > Hi,
> >
> > I recently decided to start using CloudStack API , I want to use API to
> > deploy virtual machine.
> > My current configuration is :
> > * I have two Clusters KVM and each cluster have one host.
> > *One management server.
> >
> > I wonder how I can choose the Cluster when I deploy VM , beause I looked
> > into API deployVrtualMachine : (
> >
> http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/user/deployVirtualMachine.html
> > )
> > and I didn't found something that specify the Cluster.
> >
> > I would be thankful for any help.
> >
> > Best regards.
>
> Users are not allowed to target clusters for deployingVMs because they
> have no visibility of it. It is possible through the Root admin api to
> target a host
>
> http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/deployVirtualMachine.html
>
>
> --
> Prasanna.,
>

Reply via email to