To move a specified container from one host to another, use the container move command.
shipa container move <container id> <to host>
This command allows users to specify a container id and a destination host. The command creates a new container on the destination host and removes it from its previous host.
To move all containers from one host to another, use the containers move command.
shipa containers move <from host> <to host>
The command above is useful when performing maintenance on hosts where and must be hostnames of existing nodes.
This command performs the following steps:
- Enumerate all units at the origin host
- For each unit, create a new unit at the destination host
- Erase each unit from the origin host
Updated 6 months ago