Hey, 
this is not a feature I'm aware of at the moment. But I think you can do that by iterating on the instance. The command 
nova show $instance_id will give you the host the instance is running on. You can use it to loop on a migration process. You can also use a mysql request in order to retrieve all the instances running on that node
OS-EXT-SRV-ATTR:host   X
Razique Mahroua - Nuage & Co
Tel : +33 9 72 37 94 15


Le 8 janv. 2013 à 03:56, "Yuan, Ye A" <[email protected]> a écrit :

Yep, it seems that our purposes are maintenance/test both.
BTW, if one admin/oprator want to maintenance a host, he/she may want to relocate  all instance to another health node.
If there is a command just like  ‘nova live-migrate --all’ and he/she need not care about selecting which node as destination, all works will be done by nova-scheduler.
 
Best wishes,
Yale Yuan
 
From: Razique Mahroua [mailto:razique.mahroua@gmail.com] 
Sent: Monday, January 07, 2013 4:56 PM
To: Yuan, Ye A
Cc: [email protected]
Subject: Re: [Openstack-operators] A concept feature named 'scheduling live migration'
 
Hi Yuan ,
would it be similar somehow to the feature which allows you to disable a service via keystone on a server?
 
Razique Mahroua - Nuage & Co
Tel : +33 9 72 37 94 15

<image001.jpg>
 
Le 7 janv. 2013 à 09:01, "Yuan, Ye A" <[email protected]> a écrit :


Hi all,
There is a feature in my mind just as below:
In VMware, admin can use maintenance mode to set a host to entering maintenance mode, in which the host does not allow you to deploy or power on a virtual machine until all running virtual machines are powered down or migrated to different hosts.
So, if there is a feature that enable scheduler while live migration rather than use destination hostname argument in shell command ‘nova live-migration <instance-uuid> <hostname>’, OpenStack can implement maintenance mode too. In other words, operator can migrate instance without specific destination hostname.
If anyone has some suggestions, please feel free to let me know.
 
Best wishes,
Yale Yuan
 
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to