← Back to team overview

openstack team mailing list archive

Re: How to create vm instance to specific compute node?

 

On Dec 22, 2012, at 7:50 AM, yuezhouli <lyz_pro@xxxxxxx> wrote:

> On 2012年12月22日 09:59, 이창만 wrote:
>> Hello.
>> 
>> Could anyone tell me how to create vm instance to specific compute node?
>> 
>> I've tried blow command, but I couldn't place vm instance to wanted compute node.
>> 
>> 
>> $ nova boot --image precise --flavor m1.cdh --key-name ubuntu --availability-zone nova-compute:compute2 mytest_vm
>> (There are two compute node which are compute1 and compute2)
>> 
>> 
>> Regards.
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>> 
> HI
> pls. make sure your "nova-compute" is the zone name .
> 
> $ nova boot --image precise --flavor m1.cdh --key-name ubuntu --availability-zone <zone-name>:<host-name> mytest_vm
> 

The default zone-name is 'nova'. Also this will only work if you have admin credentials.

Vish




Follow ups

References