Deploying Pivotal Cloud Foundry in Your Own Home Lab
I wanted to see what it would take to deploy Pivotal Cloud Foundry (Pivotal CF) and all the cool things that Bosh brings. I used a very minimal config to prove that a small footprint would work. Here is a summary of my setup:
Desktop 1: Intel Quad Core i7, 32 GB RAM, 2TB Internal Drive
Desktop 2: Intel Quad Core i7, 32 GB RAM, 2TB Internal Drive
Synology DS1513+ NAS Device with 3 x 240GB Intel SSDs in a RAID-5 config
24 Port HP Gigabit Ethernet Switch
Summary: 16 Virtual Cores + 64GB RAM & ~420GBs Useable
Note the internal drives are only used for ESX and vCenter. Pivotal CF is running on the Synology SSDs.
Total cost of the hardware is about $4K. You could get away with a much lower cost NAS device, but I wanted some capacity to scale both GBs and performance.
It’s all running vCenter & ESX 5.5. This image shows my initial vCenter environment.
Here’s my install journey. I had many issues when I began the install process but think I have ironed them out.
Downloaded the Pivotal CF OVA version pcf-22.214.171.124.ova and the “Pivotal CF Elastic Runtime-126.96.36.199” from gopivotal.com. Also grab the mysql file (p-mysql-188.8.131.52.pivotal). The file sizes add up to about 5.6GBs.
NOTE: I had major issues with elastic runtime version 184.108.40.206. I would suggest avoiding this as the process was failing for me while pushing the developer console (post install errand) and the DEA process / VM was dead.
Unzip the files if you need to – I used http://www.7-zip.org
Started following the process for deploying the OVF template at: http://docs.gopivotal.com/pivotalcf/customizing/deploying-vm.html
I used the NFS datastore as a target.
First attempt I received an error saying “The virtual machine is not supported on the target datastore”. I tried a bunch of different datastores and got the same message. Eventually I tried one of my new servers and it worked fine. While the datastores are all VMFS5, I think that maybe it doesn’t like the ones I built under ESX 5.1. Probably need to upgrade these.
a) In vCenter File -> deploy OVF template
b) Browse to the pcf-220.127.116.11.ova file
d) Accept the end user license agreement
e) I placed the template in “MattsDC”
f) I placed the VM in the resource pool Matt’sRP
g) I chose a suitable local datastore for the install
h) Choose “Thick Provision Lazy Zero” for disk format
i) I used the settings below for properties
While the above was running I created a new iSCSI disk on the sinology and allocated it to the two ESX servers. On one of the servers I formatted a lun of maximum size – 438GB. Below is a screen shot of what this looks like. Both ESX servers can see the same lun. Note that during the install I discovered that Pivotal CF needs shared storage. An error appears when using DAS.