Tawfiq

As a root admin you can use the 'hostid' option parameter which will place the 
VM on a specific Host in a specific Cluster

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com


-----Original Message-----
From: tawfiq zidi [mailto:tawfiq.z...@gmail.com]
Sent: 06 March 2013 11:33
To: cloudstack-users@incubator.apache.org
Subject: Deploy Virtual Machine via API

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.
ShapeBlue provides a range of strategic and technical consulting and 
implementation services to help IT Service Providers and Enterprises to build a 
true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack 
technology, allows IT Service Providers and Enterprises to deliver true, 
utility based, IaaS to the customer or end-user.

________________________________

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd. If you are not the intended recipient of 
this email, you must neither take any action based upon its contents, nor copy 
or show it to anyone. Please contact the sender if you believe you have 
received this email in error. Shape Blue Ltd is a company incorporated in 
England & Wales.

Reply via email to