Chapter 6. Migrating Instances

In this chapter, we will cover the task of migrating instances using the native OpenStack capability built into the Compute service (Nova). As mentioned earlier the existence of this functionality is unknown by many. In this chapter, we will prove out this capability by demonstrating how to manually migrate instances. As well as, review the steps required to automate this task and finally create a playbook with roles to fully automate instance migration to a specified compute node.

This chapter will cover the following topics:

  • Instance migration
  • Automation considerations
  • Coding the playbook and roles
  • Playbook and role review

Instance migration

Whenever the topic of instance migration comes up, it normally ends in a spirited ...

Get OpenStack Administration with Ansible 2 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.