Live Migrating OpenStack VMs between physical nodes


Josh Ghiloni
 

Hi All,

I've had a question from my client's IT department that I thought I would run by you before actually just trying it. We're running open source Cloud Foundry on OpenStack, and the admin was wondering if the CPI could handle a particular VM (or a set of vms) being transferred from one physical node to another for something like maintenance on the original node.

My first thought is that it shouldn't affect anything in the CPI, since OpenStack is handling the VM provisioning and locating, but I was curious if anyone had practical experience with this.

Thanks!

Josh Ghiloni
Senior Consultant
303.932.2202 o | 303.590.5427 m | 303.565.2794 f
jghiloni(a)ecsteam.com

ECS Team
Technology Solutions Delivered
ECSTeam.com<http://www.ecsteam.com/>


Dmitriy Kalinin
 

OpenStack CPI does not care / is not aware on which node VMs are running.

As long as VM remains powered on and accessible you should not have a
problem. In practice you may run into certain OpenStack limitations which
may prevent moving VMs around. I vaguely remember presence of a config
drive (CPI is configured to bootstrap VMs via config drive) may limit VM
relocation.

On Tue, Sep 1, 2015 at 10:12 AM, Josh Ghiloni <jghiloni(a)ecsteam.com> wrote:

Hi All,

I've had a question from my client's IT department that I thought I would
run by you before actually just trying it. We're running open source Cloud
Foundry on OpenStack, and the admin was wondering if the CPI could handle a
particular VM (or a set of vms) being transferred from one physical node to
another for something like maintenance on the original node.

My first thought is that it shouldn't affect anything in the CPI, since
OpenStack is handling the VM provisioning and locating, but I was curious
if anyone had practical experience with this.

Thanks!


* Josh *Ghiloni

Senior Consultant

303.932.2202 o | 303.590.5427 m | 303.565.2794 f

jghiloni(a)ecsteam.com



*ECS Team*

*Technology Solutions Delivered*

ECSTeam.com <http://www.ecsteam.com/>


ramonskie
 

when you want to migrate or evacuate hosts
you will notice that bosh will try to respawn the vms/jobs he created because of the health monitor

so what we normally do is disable the bosh health monitor until the the nodes are done

greetz
Ramonskie

-----Original Message-----
From: Dmitriy Kalinin <dkalinin(a)pivotal.io<mailto:Dmitriy%20Kalinin%20%3cdkalinin(a)pivotal.io%3e>>
Reply-to: Discussions about the Cloud Foundry BOSH project. <cf-bosh(a)lists.cloudfoundry.org>
To: Discussions about the Cloud Foundry BOSH project. <cf-bosh(a)lists.cloudfoundry.org<mailto:%22Discussions%20about%20the%20Cloud%20Foundry%20BOSH%20project.%22%20%3ccf-bosh(a)lists.cloudfoundry.org%3e>>
Subject: [cf-bosh] Re: Live Migrating OpenStack VMs between physical nodes
Date: Tue, 1 Sep 2015 10:48:06 -0700

OpenStack CPI does not care / is not aware on which node VMs are running.

As long as VM remains powered on and accessible you should not have a problem. In practice you may run into certain OpenStack limitations which may prevent moving VMs around. I vaguely remember presence of a config drive (CPI is configured to bootstrap VMs via config drive) may limit VM relocation.
On Tue, Sep 1, 2015 at 10:12 AM, Josh Ghiloni <jghiloni(a)ecsteam.com<mailto:jghiloni(a)ecsteam.com>> wrote:
Hi All,


I've had a question from my client's IT department that I thought I would run by you before actually just trying it. We're running open source Cloud Foundry on OpenStack, and the admin was wondering if the CPI could handle a particular VM (or a set of vms) being transferred from one physical node to another for something like maintenance on the original node.


My first thought is that it shouldn't affect anything in the CPI, since OpenStack is handling the VM provisioning and locating, but I was curious if anyone had practical experience with this.


Thanks!

Josh Ghiloni

Senior Consultant

303.932.2202<tel:303.932.2202> o | 303.590.5427<tel:303.590.5427> m | 303.565.2794<tel:303.565.2794> f

jghiloni(a)ecsteam.com<mailto:jghiloni(a)ecsteam.com>



ECS Team

Technology Solutions Delivered

ECSTeam.com<http://www.ecsteam.com/>





********************************************************
For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************


Dmitriy Kalinin
 

I am not too familiar with OpenStack's *live* migration. Do VMs lose
connectivity when moved around by OpenStack?

On Wed, Sep 2, 2015 at 1:02 AM, Makkelie, R (ITCDCC) - KLM <
Ramon.Makkelie(a)klm.com> wrote:

when you want to migrate or evacuate hosts
you will notice that bosh will try to respawn the vms/jobs he created
because of the health monitor

so what we normally do is disable the bosh health monitor until the the
nodes are done

greetz
Ramonskie


-----Original Message-----
*From*: Dmitriy Kalinin <dkalinin(a)pivotal.io
<Dmitriy%20Kalinin%20%3cdkalinin(a)pivotal.io%3e>>
Reply-to: Discussions about the Cloud Foundry BOSH project. <
cf-bosh(a)lists.cloudfoundry.org>
*To*: Discussions about the Cloud Foundry BOSH project. <
cf-bosh(a)lists.cloudfoundry.org
<%22Discussions%20about%20the%20Cloud%20Foundry%20BOSH%20project.%22%20%3ccf-bosh(a)lists.cloudfoundry.org%3e>
*Subject*: [cf-bosh] Re: Live Migrating OpenStack VMs between physical
nodes
*Date*: Tue, 1 Sep 2015 10:48:06 -0700

OpenStack CPI does not care / is not aware on which node VMs are running.

As long as VM remains powered on and accessible you should not have a
problem. In practice you may run into certain OpenStack limitations which
may prevent moving VMs around. I vaguely remember presence of a config
drive (CPI is configured to bootstrap VMs via config drive) may limit VM
relocation.
On Tue, Sep 1, 2015 at 10:12 AM, Josh Ghiloni <jghiloni(a)ecsteam.com>
wrote:

Hi All,



I've had a question from my client's IT department that I thought I would
run by you before actually just trying it. We're running open source Cloud
Foundry on OpenStack, and the admin was wondering if the CPI could handle a
particular VM (or a set of vms) being transferred from one physical node to
another for something like maintenance on the original node.



My first thought is that it shouldn't affect anything in the CPI, since
OpenStack is handling the VM provisioning and locating, but I was curious
if anyone had practical experience with this.



Thanks!


*Josh *Ghiloni

Senior Consultant

303.932.2202 o | 303.590.5427 m | 303.565.2794 f

jghiloni(a)ecsteam.com



*ECS Team*

*Technology Solutions Delivered*

ECSTeam.com <http://www.ecsteam.com/>





********************************************************
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain
confidential and privileged material intended for the addressee only. If
you are not the addressee, you are notified that no part of the e-mail or
any attachment may be disclosed, copied or distributed, and that any other
action related to this e-mail or attachment is strictly prohibited, and may
be unlawful. If you have received this e-mail by error, please notify the
sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
employees shall not be liable for the incorrect or incomplete transmission
of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
Airlines) is registered in Amstelveen, The Netherlands, with registered
number 33014286
********************************************************


ramonskie
 

most of time with live migration you should only experience a few seconds of downtime

-----Original Message-----
From: Dmitriy Kalinin <dkalinin(a)pivotal.io<mailto:Dmitriy%20Kalinin%20%3cdkalinin(a)pivotal.io%3e>>
Reply-to: Discussions about the Cloud Foundry BOSH project. <cf-bosh(a)lists.cloudfoundry.org>
To: Discussions about the Cloud Foundry BOSH project. <cf-bosh(a)lists.cloudfoundry.org<mailto:%22Discussions%20about%20the%20Cloud%20Foundry%20BOSH%20project.%22%20%3ccf-bosh(a)lists.cloudfoundry.org%3e>>
Subject: [cf-bosh] Re: Re: Re: Live Migrating OpenStack VMs between physical nodes
Date: Wed, 2 Sep 2015 10:11:00 -0700

I am not too familiar with OpenStack's *live* migration. Do VMs lose connectivity when moved around by OpenStack?
On Wed, Sep 2, 2015 at 1:02 AM, Makkelie, R (ITCDCC) - KLM <Ramon.Makkelie(a)klm.com<mailto:Ramon.Makkelie(a)klm.com>> wrote:
when you want to migrate or evacuate hosts
you will notice that bosh will try to respawn the vms/jobs he created because of the health monitor

so what we normally do is disable the bosh health monitor until the the nodes are done

greetz
Ramonskie


-----Original Message-----
From: Dmitriy Kalinin <dkalinin(a)pivotal.io<mailto:Dmitriy%20Kalinin%20%3cdkalinin(a)pivotal.io%3e>>
Reply-to: Discussions about the Cloud Foundry BOSH project. <cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>>
To: Discussions about the Cloud Foundry BOSH project. <cf-bosh(a)lists.cloudfoundry.org<mailto:%22Discussions%20about%20the%20Cloud%20Foundry%20BOSH%20project.%22%20%3ccf-bosh(a)lists.cloudfoundry.org%3e>>
Subject: [cf-bosh] Re: Live Migrating OpenStack VMs between physical nodes
Date: Tue, 1 Sep 2015 10:48:06 -0700

OpenStack CPI does not care / is not aware on which node VMs are running.

As long as VM remains powered on and accessible you should not have a problem. In practice you may run into certain OpenStack limitations which may prevent moving VMs around. I vaguely remember presence of a config drive (CPI is configured to bootstrap VMs via config drive) may limit VM relocation.
On Tue, Sep 1, 2015 at 10:12 AM, Josh Ghiloni <jghiloni(a)ecsteam.com<mailto:jghiloni(a)ecsteam.com>> wrote:
Hi All,


I've had a question from my client's IT department that I thought I would run by you before actually just trying it. We're running open source Cloud Foundry on OpenStack, and the admin was wondering if the CPI could handle a particular VM (or a set of vms) being transferred from one physical node to another for something like maintenance on the original node.


My first thought is that it shouldn't affect anything in the CPI, since OpenStack is handling the VM provisioning and locating, but I was curious if anyone had practical experience with this.


Thanks!

Josh Ghiloni

Senior Consultant

303.932.2202<tel:303.932.2202> o | 303.590.5427<tel:303.590.5427> m | 303.565.2794<tel:303.565.2794> f

jghiloni(a)ecsteam.com<mailto:jghiloni(a)ecsteam.com>



ECS Team

Technology Solutions Delivered

ECSTeam.com<http://www.ecsteam.com/>






********************************************************
For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************



********************************************************
For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286
********************************************************