Is there a good way to migrate a stack from one pod to another in an OpenStack cluster?
There are some servers running in pod1 with network1 and IP1. Now need to change them to network2 and IP2 in pod2.
If don't delete all the servers in pod1 and create new stack with new IPs in pod2, is there an another way to do? Such as create snapshot, move the snapshot to pod2. But not sure if the snapshot can change to new IP.
"pod" is not an OpenStack term. Are you talking about Kubernetes or OpenStack?
We have different pods to deploy different OpenStack clusters. Now want to move servers from one pod in OpenStack A to the other pod in OpenStack B.
You mean that you want to move instances from one OpenStack cloud to another one?
As you said, take snapshots and copy them to the other cloud. If servers' IP addresses are set by DHCP (the default), networking should not be a problem.
Yes, so that maybe the good way. Will use pre-assigned another network(with vlan and IP range). Thank you very much.
By the way, I found this guide: https://docs.openstack.org/mitaka/user-guide/cli_use_snapshots_to_migrate_instances.html (Use snapshots to migrate instances) But how to set network information and IP? If use heat_template, we can set network information before we create a whole stack.