From 70ef8818f160b3a3fdb27a8dbfb4c134e38d97c7 Mon Sep 17 00:00:00 2001 From: qiaomin Date: Mon, 5 Dec 2016 12:30:28 +0000 Subject: [PATCH] Use 'openstack' command-client commands to replace nova commands Implements: blueprint use-openstack-command Change-Id: I4defca05a89f9adceedb66dc4b89a3ee56ece1d2 --- doc/admin-guide/source/cli-nova-migrate.rst | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/doc/admin-guide/source/cli-nova-migrate.rst b/doc/admin-guide/source/cli-nova-migrate.rst index b9dd67ee97..3ed2d4f2d1 100644 --- a/doc/admin-guide/source/cli-nova-migrate.rst +++ b/doc/admin-guide/source/cli-nova-migrate.rst @@ -3,8 +3,8 @@ Migrate a single instance to another compute host ================================================= When you want to move an instance from one compute host to another, -you can use the :command:`nova migrate` command. The scheduler chooses the -destination compute host based on its settings. This process does +you can use the :command:`openstack server migrate` command. The scheduler +chooses the destination compute host based on its settings. This process does not assume that the instance has shared storage available on the target host. If you are using SSH tunneling, you must ensure that each node is configured with SSH key authentication so that the @@ -17,18 +17,11 @@ For more information, see :ref:`clinovamigratecfgssh`. $ openstack server list -#. After selecting a VM from the list, run this command where :guilabel:`VM_ID` - is set to the ID in the list returned in the previous step: +#. Use the :command:`openstack server migrate` command. .. code-block:: console - $ nova show VM_ID - -#. Use the :command:`nova migrate` command. - - .. code-block:: console - - $ nova migrate VM_ID + $ openstack server migrate --live TARGET_HOST VM_INSTANCE #. To migrate an instance and watch the status, use this example script: