InfoScale Enterprise also addresses the use case related to migrating both the infrastructure and container data. In this scenario, you need to bring down the Docker Daemon and Docker Container on the primary node and bring them up on the secondary node.
While migrating containers, ensure that you stop the Docker Daemon and Docker Container on the primary node before you migrate them to the secondary node.
To configure the Docker Daemon and containers using SFCFS
# vxdg -s init dockdg disk1 disk2 disk3
# vxassist -g dockdg make vol7 10G
# mkfs -t vxfs /dev/vx/dsk/dockdg/vol7
# mount -t vxfs -o cluster /dev/vx/dsk/dockdg/vol7 /docvol
Where docvol is the directory used by the Docker Daemon for Docker infrastructure.
/docvol
.
# systemctl stop docker
OPTIONS
field in the /etc/sysconfig/docker
configuration file..# systemctl start docker
The Docker Daemon is initialized on the target node. After migration is complete, Docker containers will be in exited state. User may need to manually start the containers.