Last active
December 22, 2015 18:39
-
-
Save gcgists/6514779 to your computer and use it in GitHub Desktop.
OpenStack live migration with Cobalt and VMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nova list | |
+--------------------------------------+---------------------+-----------+-----------------------+ | |
| ID | Name | Status | Networks | | |
+--------------------------------------+---------------------+-----------+-----------------------+ | |
| 76c9f4eb-0111-409a-8e88-e5eb2d5c850e | lm-test | MIGRATING | internal=X.X.X.X | | |
+--------------------------------------+---------------------+-----------+-----------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nova list | |
+--------------------------------------+---------------------+---------+-----------------------+ | |
| ID | Name | Status | Networks | | |
+--------------------------------------+---------------------+---------+-----------------------+ | |
| 76c9f4eb-0111-409a-8e88-e5eb2d5c850e | lm-test | ACTIVE | internal=X.X.X.X | | |
+--------------------------------------+---------------------+---------+-----------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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