Category Archives:VMware

Post navigation

After you have finished using your Docker persistent storage volumes you can remove them from the environment so you can clean them up and don’t consume more storage that what is really needed. Here is what you have to do do clean those up.

List your volumes

docker volume ls

You will see your docker volumes stored in your /vsanDatastore/dockvols folder

Remove the volumes not needed

docker volume rm volumename

ex: docker volume rm MyVolume

This will remove the volume from the docker host and will also remove it from the VMware vSphere datastore.

In my last blog post I described how to install the VMware Plugin for Docker. Now we will deploy an environment and show how we can use a persistent storage volume across containers.

Build a new volume for a container

docker volume create –driver-vmdk –name BusyBox1 -o size=2gb

You can check the volume with docker volume ls or docker volume inspect commands.

Create a container with persistent storage

docker run –rm -it -v Volumename:/mnt/mymount containerimage.

docker run –rm -it -v BusyBox1:/mnt/myvol busybox

Create a file in the persistent storage

In your container go to the directory you specified in the previous command. In our case it is /mnt/myvol

Create a quick file ex: touch file1 and then add some information to it.

We have created a file in the persistent storage not in the container file system.

Now you can exit your container. ex: exit

Create a different container and attach the persistent volume

I will download a new image for an Ubuntu:latest container and mount the persistent storage volume.

docker run –rm -it -v BusyBox1:/mnt/myvol ubuntu

Change to the same directory /mnt/myvol and see that you can browse the file was created before.

Why is this important?

This allows the developers or administrators to provide a persistent storage that can be used across container reboots to save data outside the container. This can be a great use case for database or shared data that can be used for different containers.

You may have heard that VMware released a docker plugin. This plugin allows the developers use persistent storage and store it in the VMware datastore while allowing IT Administrators the capability to manage their environment their way.

In this post I will go thru the steps to add the all the components to the ESXi server and to the VM’s

Sometimes it is important to know the manual steps of the automated task that vCenter executes. This will come handy in the event that vCenter server is down. Here is a list of steps that can help you move a VM from one host to another one without vCenter

Power Off the VM

Right Click the VM and select “Remove from Inventory”

Go to the other host where you want to bring this VM up.

Click Configuration à Storage à Click the datastore where the VM is located

Right click the datastore à Browse datastore

Look for the VM that you want to add on the left pane and click the folder

Look on the right pane for a file with the name of the vm and the vmx extension. Example: server1.vmx

I was working on creating a new lab environment for Exchange 2013 and Lync 2013. I decide to create a couple of new portgroups with VLANs on all the ESXi servers. the task was going to be repeated 30 times so I decided to spend a little time creating a script to automate the process of creating all the port groups and the vlans.

As with every version there is a new set of tools to perform administration in your vSphere ESXi hypervisor. The new tool is called esxcli. Here are some steps to try to get shutdown a VM from the command line

VMware vCenter Appliance provides the capability to manage your environment from a simple VM without the need to have another Windows server to manage the VMware vSphere Infrastructure. As this appliance is based on SUSE Linux; Where will you copy the Sysprep tools for your VM’s? The location is /etc/vmware/sysprep there you can copy the files for your sysprep customization.

For all my friends and co-workers that constantly ask can you send me the links for that documentation. I will start compiling a list of all the support documents and tools I currently use for VMware virtualization technologies.

Post navigation

Display Books

Living to Serve, Lead and be a Technical Geek.

For the last 20 years, Carlos Vargas has impacted people's lives through his speaking and teaching, inspiring individuals across Brazil, Mexico, Cuba, Puerto Rico, United States and Europe. Carlos loves being a Transformation agent for people who have current limiting beliefs in their business, personal or spiritual lives. This is the fuel which keeps him going.

Carlos works with individuals, family groups and businesses to help them reduce stress and enjoy life through great interaction via their personality and individual leadership competencies.

Carlos Vargas earned his education in the Defenders of the Faith Theological Institute in Santurce, Puerto Rico and later received more than 80 IT certifications during his successful career as an International Architect with different Fortune 100 and 500 companies.

Carlos was part of an elite team of world changers invited to travel to Paraguay and transform the lives of 17,000 people by helping them transform their lives.

As an International Leadership and Executive Coach, he finished a tour through the beautiful countries of Brazil and Cuba where he helped countless people transform their limiting beliefs into new opportunities.