2019-12-16 12:50:07 -05:00
|
|
|
======
|
|
|
|
Resize
|
|
|
|
======
|
2017-08-08 16:10:45 +01:00
|
|
|
|
|
|
|
Resize (or Server resize) is the ability to change the flavor of a server, thus
|
|
|
|
allowing it to upscale or downscale according to user needs. For this feature
|
|
|
|
to work properly, you might need to configure some underlying virt layers.
|
|
|
|
|
2019-12-16 12:50:07 -05:00
|
|
|
This document describes how to configure hosts for standard resize.
|
|
|
|
For information on :term:`cross-cell resize <Cross-Cell Resize>`, refer to
|
|
|
|
:doc:`/admin/configuration/cross-cell-resize`.
|
2019-02-20 16:13:05 -05:00
|
|
|
|
2019-02-21 15:45:34 +09:00
|
|
|
Virt drivers
|
|
|
|
------------
|
|
|
|
|
|
|
|
.. todo:: This section needs to be updated for other virt drivers, shared
|
2018-08-01 18:51:31 -04:00
|
|
|
storage considerations, etc.
|
|
|
|
|
2017-08-08 16:10:45 +01:00
|
|
|
KVM
|
|
|
|
~~~
|
|
|
|
|
|
|
|
Resize on KVM is implemented currently by transferring the images between
|
|
|
|
compute nodes over ssh. For KVM you need hostnames to resolve properly and
|
|
|
|
passwordless ssh access between your compute hosts. Direct access from one
|
|
|
|
compute host to another is needed to copy the VM file across.
|
|
|
|
|
2018-08-01 18:51:31 -04:00
|
|
|
Cloud end users can find out how to resize a server by reading
|
|
|
|
:doc:`/user/resize`.
|
2017-08-08 16:10:45 +01:00
|
|
|
|
2019-02-21 15:45:34 +09:00
|
|
|
|
|
|
|
Automatic confirm
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
There is a periodic task configured by configuration option
|
|
|
|
:oslo.config:option:`resize_confirm_window` (in seconds).
|
|
|
|
If this value is not 0, the ``nova-compute`` service will check whether
|
|
|
|
servers are in a resized state longer than the value of
|
|
|
|
:oslo.config:option:`resize_confirm_window` and if so will automatically
|
|
|
|
confirm the resize of the servers.
|