[Openstack] How to create vm instance to specific compute node?

Vishvananda Ishaya vishvananda at gmail.com
Sat Dec 22 16:12:51 UTC 2012


On Dec 22, 2012, at 7:50 AM, yuezhouli <lyz_pro at 163.com> 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 at lists.launchpad.net
>> 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






More information about the Openstack mailing list