Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The migration of a virtual machine usually requires a downtime (~ 15') of that VM, so before proceeding unless the VM was created using a volume. So before migrating the VM you must agree this operation with the relevant owner.

...

Code Block
[root@cld-ctrl-01 ~]# openstack server show be832766-7996-4ccf-a9c1-5eec2e5f8fd3 | grep user_id
| user_id                             | 7681252c430040e7bb96c7c4f7c88464                            |
[root@cld-ctrl-01 ~]# openstack user show 7681252c430040e7bb96c7c4f7c88464
+---------------------+----------------------------------+
| Field               | Value                            |
+---------------------+----------------------------------+
| domain_id           | default                          |
| email               | Ysabella.Ong@lnl.infn.it         |
| enabled             | True                             |
| id                  | 7681252c430040e7bb96c7c4f7c88464 |
| name                | ysaong@infn.it                   |
| options             | {}                               |
| password_expires_at | None                             |
+---------------------+----------------------------------+



...


To migrate a virtual machine to another compute node, there are two possible procedures:

  • Procedure to be used if the VM was created using a volume
  • Procedure to be used i




  • Install the operating system using foreman. For this use the hosts_all foreman hostgroup
  • Disable SELinux
  • Configure the management and data network
  • Stop puppet:

...