
Co-Authored-By: Ana Krivokapic <akrivoka@redhat.com> Co-Authored-By: Ben Nemec <bnemec@redhat.com> Co-Authored-By: Ben Nemec <cybertron@nemebean.com> Co-Authored-By: Brad P. Crochet <brad@redhat.com> Co-Authored-By: Crag Wolfe <cwolfe@redhat.com> Co-Authored-By: Dan Sneddon <dsneddon@redhat.com> Co-Authored-By: David Kranz <dkranz@redhat.com> Co-Authored-By: Derek Higgins <derekh@redhat.com> Co-Authored-By: Dimitri Savineau <dsavinea@redhat.com> Co-Authored-By: Dmitry Tantsur <divius.inside@gmail.com> Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com> Co-Authored-By: Dougal Matthews <dougal@redhat.com> Co-Authored-By: François Charlier <francois.charlier@redhat.com> Co-Authored-By: Giulio Fidente <gfidente@redhat.com> Co-Authored-By: Imre Farkas <ifarkas@redhat.com> Co-Authored-By: James Slagle <jslagle@redhat.com> Co-Authored-By: Jan Provaznik <jprovazn@redhat.com> Co-Authored-By: Jaromir Coufal <jcoufal@redhat.com> Co-Authored-By: Jay Dobies <jason.dobies@redhat.com> Co-Authored-By: Jeff Peeler <jpeeler@redhat.com> Co-Authored-By: Jiri Stransky <jistr@redhat.com> Co-Authored-By: Jiri Tomasek <jtomasek@redhat.com> Co-Authored-By: John Trowbridge <trown@redhat.com> Co-Authored-By: Lennart Regebro <regebro@gmail.com> Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com> Co-Authored-By: Marek Aufart <maufart@redhat.com> Co-Authored-By: Ronelle Landy <rlandy@redhat.com> Co-Authored-By: Sasha Chuzhoy <sasha@redhat.com> Co-Authored-By: Sasha Chuzhoy <sashac88@hotmail.com> Co-Authored-By: Steven Hardy <shardy@redhat.com> Co-Authored-By: Zane Bitter <zbitter@redhat.com> Co-Authored-By: marios <marios@redhat.com>
54 lines
2.6 KiB
ReStructuredText
54 lines
2.6 KiB
ReStructuredText
Migrating Workloads from an existing OpenStack cloud
|
|
====================================================
|
|
|
|
|project| provides the ability to manage changes over time to a cloud that it
|
|
has deployed. However, it cannot automatically take over the management of
|
|
existing OpenStack clouds deployed with another installer. Since there can be
|
|
no one-size-fits-all procedure for upgrading an existing cloud to use
|
|
|project|, it is recommended that a new cloud be deployed with |project| and
|
|
any workloads running on an existing cloud be migrated off.
|
|
|
|
Migrating User Workloads
|
|
------------------------
|
|
|
|
Since the best way of avoiding or handling any downtime associated with moving
|
|
an application from one cloud to another is application-dependent, it is
|
|
preferable to have end users migrate their own applications at a time and in
|
|
the manner of their choosing. This can also help to spread out the network
|
|
bandwidth requirements, rather than copying a large number of snapshots in
|
|
bulk.
|
|
|
|
Ideally applications can be re-created from first principles (an Orchestration
|
|
tool such as Heat can help make this repeatable) and any data populated after
|
|
the fact. This allows the new VMs to be backed by a copy-on-write disk image
|
|
overlaid on the original base image. The alternative is to :doc:`export and
|
|
then import <./vm_snapshot>` snapshots of the VM images. This may require
|
|
considerably more disk space as each VM's base image becomes its snapshot,
|
|
where previously multiple VMs may have shared the same base image.
|
|
|
|
Reclaiming Excess Capacity
|
|
--------------------------
|
|
|
|
As workloads are migrated off the previous cloud, compute node hardware can be
|
|
freed up to reallocate to the new cloud. Since there is likely no guarantee as
|
|
to the order in which users will migrate, it will be necessary to consolidate
|
|
the remaining VMs onto a smaller number of machines as utilization drops. This
|
|
can be done by performing live migration within the old cloud.
|
|
|
|
Select a compute node to remove from service and follow the procedure for
|
|
:doc:`quiesce_compute`. Once this is done, the node can be removed from the old
|
|
cloud and the hardware reused, possibly by adding it to the new cloud.
|
|
|
|
Adding New Capacity
|
|
-------------------
|
|
|
|
As utilization of the new cloud increases and hardware becomes available from
|
|
the old cloud, additional compute nodes can be added to the new cloud with
|
|
|project|.
|
|
|
|
First, register and introspect the additional hardware with Ironic just as you
|
|
would have done when :doc:`initially deploying
|
|
<../basic_deployment/basic_deployment_cli>` the cloud with |project|. Then
|
|
:doc:`scale out <scale_roles>` the 'Compute' role in the new overcloud to start
|
|
making use of the additional capacity.
|