Veritas InfoScale™ 8.0 Virtualization Guide - Linux
- Section I. Overview of Veritas InfoScale Solutions used in Linux virtualization
- Overview of supported products and technologies
- About Veritas InfoScale Solutions support for Linux virtualization environments
- About Kernel-based Virtual Machine (KVM) technology
- About the RHEV environment
- Overview of supported products and technologies
- Section II. Implementing a basic KVM environment
- Getting started with basic KVM
- Veritas InfoScale Solutions configuration options for the kernel-based virtual machines environment
- Installing and configuring Cluster Server in a kernel-based virtual machine (KVM) environment
- Configuring KVM resources
- Getting started with basic KVM
- Section III. Implementing Linux virtualization use cases
- Application visibility and device discovery
- Server consolidation
- Physical to virtual migration
- Simplified management
- Application availability using Cluster Server
- Virtual machine availability
- Virtual machine availability for live migration
- Virtual to virtual clustering in a Red Hat Enterprise Virtualization environment
- Virtual to virtual clustering in a Microsoft Hyper-V environment
- Virtual to virtual clustering in a Oracle Virtual Machine (OVM) environment
- Disaster recovery for virtual machines in the Red Hat Enterprise Virtualization environment
- Disaster recovery of volumes and file systems using Volume Replicator (VVR) and Veritas File Replicator (VFR)
- Multi-tier business service support
- Managing Docker containers with InfoScale Enterprise
- About the Cluster Server agents for Docker, Docker Daemon, and Docker Container
- Managing storage capacity for Docker containers
- Offline migration of Docker containers
- Disaster recovery of volumes and file systems in Docker environments
- Application visibility and device discovery
- Section IV. Reference
- Appendix A. Troubleshooting
- Appendix B. Sample configurations
- Appendix C. Where to find more information
- Appendix A. Troubleshooting
Provisioning storage for Docker infrastructure from the Veritas File System
You can provision storage for Docker infrastructure on VxFS. The Docker infrastructure is managed by Docker Daemon. One of the ways to provision storage for Docker containers is from the Docker infrastructure. You can create and run Docker containers by provisioning storage from the Docker infrastructure. The Docker Daemon uses the '/var/lib/docker' directory on the VxFS file system for creating Docker infrastructure.
Alternatively, storage from VxFS and VxVM can be provisioned as data volumes to Docker containers. You can choose not to create the /var/lib/docker
directory on VxFS, by editing the /etc/sysconfig/docker
file with an alternate directory to be used by the Docker Daemon.
To provision Docker infrastructure from the default Docker directory
- Mount the Docker infrastructure directory on VxFS.
# vxdg init dockerdg disk1 disk2
# vxassist -g dockerdg make dockervol 200G
# mkfs -t vxfs /dev/vx/dsk/dockerdg/dockervol
# mount -t vxfs /dev/vx/dsk/dockerdg/dockervol /var/lib/docker/
- Start Docker Daemon and create container. Note the change in the size of directory.
# systemctl start docker
To provision Docker infrastructure from another directory
- Create a VxFS directory.
# vxdg init dockerdg disk1 disk2
# vxassist -g dockerdg make dockervol 1G
# mkfs -t vxfs /dev/vx/dsk/dockerdg/dockervol
# mount -t vxfs /dev/vx/dsk/dockerdg/dockervol /dockervol
- In the '/etc/sysconfig/docker' file, append the
OPTIONS
field with -g dockervol.# grep OPTIONS /etc/sysconfig/docker
Note:
If SELinux is already disabled, do not append the docker file with the option --selinux-disabled.
- Start the Docker Daemon and note the directory size.
# systemctl start docker