Notes: Installing Docker on vSphere 6

Add Docker functionality to ESXi

Download the Docker Volume Plugin -> https://github.com/vmware/docker-volume-vsphere/releases/download/0.1.0.tp/vmware-esx-vmdkops-0.1.0.tp.vib

Enable esxi shell and ssh on ESXi host

Use WinSCP to copy the VIB to the ESXi host (WinSCP at https://winscp.net/download/WinSCP-5.9.2-Setup.exe )

Install the VIB into the esxi kernel using the following command:

esxcli software vib install -v /path-to-vib/vmware-esx-vmdkops-0.1.0.tp.vib -f

From <http://www.virtuallyghetto.com/2016/05/getting-started-with-tech-preview-of-docker-volume-driver-for-vsphere.html>

clip_image001

(The ESXi host does NOT need to be rebooted!)

Check all is well with

/etc/init.d/vmdk-opsd status

From <http://cormachogan.com/2016/06/01/docker-volume-driver-vsphere/>

clip_image002

Get Photon as the base host OS for the Docker containers

Download the PhotonOS OVA which is the Docker Container OS (could use Ubuntu instead)

https://github.com/vmware/photon/wiki/Downloading-Photon-OS

Deploy the OVA into your ESXi host (or in this case vCenter server)

clip_image003

(More vCPU/Memory required?)

Boot Photon OS

Immediately you login as root with the default password (“changeme”) you will be forced to change the password to something else

clip_image004

Download the vmdk plug-in for Docker

RPM -> https://github.com/vmware/docker-volume-vsphere/releases/download/0.1.0.tp/docker-volume-vsphere-0.1.0.tp-1.x86_64.rpm

Or

DEB -> https://github.com/vmware/docker-volume-vsphere/releases/download/0.1.0.tp/docker-volume-vsphere_0.1.0.tp_amd64.deb

Use WinSCP to copy either file to /root (use ifconfig to find out what the IP address of the Photon VM is)

clip_image005

Depending on which install package you downloaded, use one of the following commands to install the plug-in into PhotonOS

rpm -ivh docker-volume-vsphere-0.1.0.tp-1.x86_64.rpm

dpkg -i docker-volume-vsphere-0.1.0.tp-1.x86_64.db

From <http://www.virtuallyghetto.com/2016/05/getting-started-with-tech-preview-of-docker-volume-driver-for-vsphere.html>

clip_image006

Test Docker is functioning

Create a 10GB docker volume called ‘vol1’ as an example:

docker volume create –driver=vmdk –name=vol1 -o size=10gb

From <http://www.virtuallyghetto.com/2016/05/getting-started-with-tech-preview-of-docker-volume-driver-for-vsphere.html>

clip_image007

Use a Docker Volume command to see the details

clip_image008

More to follow as I learn Docker…

Mount vCloud Director: Helpful feedback from LinkedIn

After my previous post which asked the question of how to tackle the VCP-Cloud certification in the most efficient manner, here are some of the replies from the LinkedIn group “vCloud Director”:

Rajesh Radhakrishnan

Please complete the below e-learn course , you will get good understanding and you can pass the exam.
VMware vShield Fundamentals [V5.X]
VMware vCloud Director Fundamentals [V1.5]
VMware vCloud Director Fundamentals [V5.1]
VMware vCenter Chargeback Manager Fundamentals [V2.5]
http://mylearn.vmware.com/mgrReg/plan.cfm?plan=33611&ui=www_edu

The mylearn stuff is pretty good. There is also vmwarelearning.com which has an excellent set of videos on key VMWare products including vCloud Director.

I am also a subscriber to trainsignal.com’s excellent video series, which although it costs money (a whole $50 a month, come on!) is also concentrated goodness which helped with gaining the VCP5.

Toby Phillippe

Somewhat misleading as you must be VCP5-DV certified (which itself has a required course) if you don’t want to “spend thousands” on training courses. See the roadmap here: http://mylearn.vmware.com/mgrReg/plan.cfm?plan=32558&ui=www_cert

That being said, the classes are the best prep for the courses in my somewhat biased (I’m a VMware employee) opinion.

Now I agree that I would rather do the course if I could afford it, but I need to watch pennies. Certainly the VMware course materials are pretty good.

Rajesh Radhakrishnan

If you are planning to complete the certification only , you will get that knowledge from above mentioned elearn courses .
The vcp-vcd exam contains questions of vcd manage , vshiled , vcd networking and cbm (charge back manager ) , if you are a vcp5-dv expert you can go ahead with elearn courses , you will get understanding of install , configure manage of VCD.vShield and CBM and you can pass exam with that knowledge.
If you want to know all the features of the vcloud you should go with detailed class and documents .

Joshua Andrews

Note that VCP-Cloud has a class requirement if you have not passed your VCP5-DCV (which has its own class requirements if you don’t have VCP-Cloud).

If you want lab suggestions start looking at blogs around the VCAP-CIA exam which is the live-lab vCloud director exam.

Joshua Andrews

CIA (and the accompanying public blueprint) has only been out a week or so, but I am hopeful there will be blogs on it soon. Note there is a dedicated VCAP-CIA linked in group you can join tho that is also very new.

Toby Phillippe

A few useful resources:

VMware Blogs: http://blogs.vmware.com/
VMware Learning Paths: http://www.vmwarelearningpaths.com/
VMware Videos: http://vmwarelearning.com/
VMware Technical Documentation: https://www.vmware.com/support/pubs/
VMware vCloud Architecture Toolkit: http://www.vmware.com/cloud-computing/cloud-architecture/vcat-toolkit.html

And of course, the exam blueprints to guide you on what to study.
I hope that was a bit more helpful and wish you all the best on your journey to achieving VMware expertise!

So with these responses I have most of the materials for a route to the summit. The learning path I want to follow looks like the following:

image

Time to do some reading…

Getting the VCP-Cloud certification without spending money on courses?

The VCP-Cloud certification has no pre-requisite courses that one must take before the exam. The question is what is the minimum requirement to be able to pass the exam in terms of time and resources?

For example, I would think its absolutely necessary to have a private lab to build a vCloud system because of the practical exam questions.

But what are the minimum reading requirements, recommended resources and books that people who already have the certification would recommend as essential?

I’m waiting with bated breath for the “VMware Private Cloud Computing with VCloud Director” book due to be released in July this year. But I don’t yet know whether the book covers all the syllabus of the exam blueprint, nor can I get materials and lab exercises that cover all of the blueprint without paying for a VMware course – or can I?

Please understand, I’m not asking this because I am attempting to be a minimal “paper VCP-Cloud” – I want to understand all of the product rigorously. Paper certified people devalue the certification in the eyes of employers and render the hard work of others to be near worthless.

I know at least one person who is VCP5 certified who has never touched a ESXi5 hypervisor nor installed vCenter even once – what is the point of that?

What I do want to know is whether gaining the certification is possible without spending thousands of dollars on training courses.

Creating a test vCloud system using Autolab

It’s often difficult to find the hardware available that can support a test vCloud environment but I found that out there on the Interwebs are several ingenious solutions that can use Vmware Workstation, ESXi or even Vmware Player to create a functional system.

One such solution is called Autolab and in essence creates a set of VMs whose core consists of a DC, a VC, an iSCSI SAN (FreeNAS) and two nested ESXi hosts (4.x or 5.x) from a single OVA file.

To this you can add a router (a tiny Linux based VM which has just 32MB of RAM assigned) to allow access to and from your live network. The router is required so you can move files into the NAS for use in the installation of the VMs

For people learning VCP you only need 5 VMs (DC, VC, Host1, Host2 and NAS). You can then practice migrating everything from 4.x to 5.x or play with HA and DRS to your hearts content

Autolab1For vCloud 5.1 I added two VMs which I created myself from OVAs supplied by VMware, one for vCloud Director and one for vShield Manager.

The result is that I have a working vCloud test lab on one ESXi system which has one quad-core processor  and only 10GB of physical memory!

 

 

 

For people who want to learn View and not vCloud, then they need only to add one Connection Server VM and one security server VM.

It takes a little time to setup the DC and the VC (because they use autoinstall scripts on Windows 2008 R2) and on my system took 1 hour each to install.

Here’s the proof that vCloud is alive

vcd1

and here are the CPU and memory stats. Note that there was a step change when I realised I had the vShield manager VM configured with 8GB of RAM when it needed only 2GB (or less I haven’t really tried to squeeze yet).

cpu1

memory

 

Autolab is hosted by the nice people at VEEAM and there’s a VEEAM VM to build and a VEEAM ONE VM to practice with as well.

I would estimate that vCloud would be doable on a Linux laptop running 8GB to 10GB of RAM, with another 2GB required under Windows.

My diskstore shows that the vCloud lab uses 95GB so if you budget for 150GB for the lot you should be safe,

Now to find some vCloud labs…