Nice approach Stephen, thanks for the hint.

Razique Mahroua - Nuage & Co
Tel : +33 9 72 37 94 15


Le 8 janv. 2013 à 11:03, Stephen Gran <[email protected]> a écrit :

Hi,

Yes, this is in my mind.  I see it as being in two parts:

First, there needs to be a scheduler hint and filter so that the
scheduler knows not to schedule more VMs for the host in maintenance
mode.

Second, there needs to be a way to ask the scheduler 'where would you
put this VM if you were asked to do so' without making the scheduler
actually schedule a VM creation, then use that information for live
migration destination selection.

Both of these look relatively straightforward, but they both need
doing :)

Cheers,

On Tue, 2013-01-08 at 10:49 +0100, Razique Mahroua wrote:
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
[email protected]
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:[email protected]]
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?
see : https://bugs.launchpad.net/keystone/+bug/1048662

Razique Mahroua - Nuage & Co
[email protected]
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

--
Stephen Gran
Senior Systems Integrator - guardian.co.uk

Please consider the environment before printing this email.
------------------------------------------------------------------
Visit guardian.co.uk - website of the year

www.guardian.co.uk    www.observer.co.uk     www.guardiannews.com

On your mobile, visit m.guardian.co.uk or download the Guardian
iPhone app www.guardian.co.uk/iphone and iPad edition www.guardian.co.uk/iPad

Save up to 37% by subscribing to the Guardian and Observer - choose the papers you want and get full digital access.
Visit guardian.co.uk/subscribe

---------------------------------------------------------------------
This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.

Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.

Guardian News & Media Limited

A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
London
N1P 2AP

Registered in England Number 908396


_______________________________________________
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