diff --git a/doc/openstack-ops/ch_ops_maintenance.xml b/doc/openstack-ops/ch_ops_maintenance.xml index 47ed76a6..aa049b6f 100644 --- a/doc/openstack-ops/ch_ops_maintenance.xml +++ b/doc/openstack-ops/ch_ops_maintenance.xml @@ -562,6 +562,17 @@ inner join nova.instances on cinder.volumes.instance_uuid=nova.instances.uuid mysql> update instances set host = 'c02.example.com' where host = \ 'c01.example.com' and deleted = 0; + If you're using the Networking service ML2 plug-in, update the + Networking service database to indicate that all ports that + used to be hosted on c01.example.com are now hosted on + c02.example.com: + + mysql> update ml2_port_bindings set host = 'c02.example.com' where host = \ + 'c01.example.com'; + + mysql> update ml2_port_binding_levels set host = 'c02.example.com' where host = \ + 'c01.example.com'; + After that, use the nova command to reboot all instances that were on c01.example.com while regenerating their XML files at the same time: