Ask Your Question
0

Is there a way to prevent any further deploys on the selected host, while it can still perform live-migration of it's VMs to other available hosts?

asked 2014-07-01 13:32:28 -0600

anonymous user

Anonymous

Hello Everyone, I am looking for evacuation support in openstack Icehouse.

From what I could find, there are following two commands:

  1. nova evacuate evacuated_server_name host_b --on-shared-storage

  2. nova host-evacuate command

However, both seem to have some downtime

What I looking for is something like:

  1. Host is put in a state, like maintenance mode, so that no new VMs are provisioned on it.

  2. Do a live migration from this source host to any host chosen by the scheduler

This way, there won't be a downtime for the VMs and the host can be removed / brought down for maintenance.

To put it simply, Is there a way to prevent any further deploys on the selected host, while it can still perform live-migration of it's VMs to other available hosts? Openstack version is: IceHouse

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-07-01 18:14:16 -0600

Eric Xie gravatar image

As I know, there are two ways: 1. Set host in maintenance mode. Use CLI - nova host-update but libvirt does not implement; 2. Fill the field --availability-zone az:host:node when boot a new instance. Only for administrator.

edit flag offensive delete link more
0

answered 2014-09-09 21:15:44 -0600

AaronTSmith gravatar image

nova service-disable <host> compute-nova

The scheduler will not place instances on hosts with the nova service disabled.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-01 13:32:28 -0600

Seen: 159 times

Last updated: Jul 01 '14