Skip to content

Instantly share code, notes, and snippets.

@gcgists
Last active December 22, 2015 18:39
Show Gist options
  • Save gcgists/6514779 to your computer and use it in GitHub Desktop.
Save gcgists/6514779 to your computer and use it in GitHub Desktop.
OpenStack live migration with Cobalt and VMS
$ nova list
+--------------------------------------+---------------------+-----------+-----------------------+
| ID | Name | Status | Networks |
+--------------------------------------+---------------------+-----------+-----------------------+
| 76c9f4eb-0111-409a-8e88-e5eb2d5c850e | lm-test | MIGRATING | internal=X.X.X.X |
+--------------------------------------+---------------------+-----------+-----------------------+
$ nova list
+--------------------------------------+---------------------+---------+-----------------------+
| ID | Name | Status | Networks |
+--------------------------------------+---------------------+---------+-----------------------+
| 76c9f4eb-0111-409a-8e88-e5eb2d5c850e | lm-test | ACTIVE | internal=X.X.X.X |
+--------------------------------------+---------------------+---------+-----------------------+
# Migrate an instance using VMS.
#
# Positional arguments:
# <instance> ID or name of the instance to migrate
#
# Optional arguments:
# --dest <destination host>
# The host to migrate to, as reported by nova
# host-list. If this argument is omitted, a
# random cobalt-enabled host is selected (useful
# for evacuating a host).
nova cobalt-migrate --dest myhost123 myinstance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment