Migrates one instance from its current host, or migrates all instances from a specific host.
Note: The euserv-migrate-instances command replaces the deprecated euca-migrate-instances command.


euserv-migrate-instances (-s HOST | -i INSTANCE)

  [--include-dest HOST | --exclude-dest HOST]
  [-U URL] [--region USER@REGION] [-I KEY_ID]  [-S  KEY]  [--security-token
  TOKEN] [--debug] [--debugger] [--version] [-h]


Option Description Required
-s, --source host Remove all instances from a specific host. No
-i, --instance instance Remove one instance from its current host. No
--include-dest host Allow migration to only a specific host (may be used more than once). No
--exclude-dest host Allow migration to any host except a specific one (may be used more than once). No

Common Options

Option Description
--show-empty-fields Show empty fields as "(nil)".
--region user@region Region and/or user name to search when looking up config file data. Only valid for EC2 endpoints.
-U,--url url URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean.
-I,--access-key-id key_id User's access key ID.
-S,--secret-key secret_key User's secret key.
--security-token token User's security token.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error.
-h,--help Display the manual page for the command.
--version Display the version of this tool.


Unless requested, no output is given. You can run the euserv-describe-* command to verify that the migration activity completed successfully, as shown in the example following.


To migrate an instance from its current host:

euserv-migrate-instances -i i-8eacd211 
NODE  zone-555  enabled    

NODE  zone-555  enabled    
INSTANCE  i-8eacd211