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
Creating Docker Containers with storage attached automatically
To create docker containers with storage attached automatically
In the procedure, demovol
is the name of the created volume.
- Create a volume using the docker volume create command.
# docker volume create -d veritas --name demovol
- Alternatively, you can also specify size and or layout options using
-o
option.# docker volume create -d veritas --name demovol -o size=1g -o layout=mirror
Note:
If options are not provided while creating a volume, then it uses default values for size and layout that are stored in the
/etc/vx/docker/vxinfoscale-default.conf
file. If layout=auto is mentioned, then InfoScale automatically chooses the best layout for the environment. - You can verify whether the volume is created properly by running the a docker volume ls command.
# docker volume ls
DRIVER VOLUME NAME veritas demovol
- You can verify the detail information of the volume using docker volume inspect command.
# docker volume inspect demovol
[ { "Name": "demovol", "Driver": "veritas", "Mountpoint": "/dockerfs/demovol_dockerdg", "Labels": {}, "Scope": "global" } ]
- Launch docker container.
# docker run --name <container_name> -it --volume-driver veritas -v demovol:/vol<docker_image> <command>
Where, VxVM volume 'demovol' gets automatically attached to the docker container.
- You may verify that the container is running and accessible.
# docker ps <container_name>
- You can also remove the volume if it is not needed anymore.
# docker volume rm demovol