Build Your Own PaaS – At Home – Part 3!

Deploying Pivotal Cloud Foundry in Your Own Home Lab

Assuming you have done steps 1-5 correctly:

Step 6

Pointing your web browser at the address you chose in step 2.i above (for me that is should produce the following screen:

pivotal CF ops manager

Step 7

Click import a product. I then imported cf- (which is  the elastic runtime) and do the same again for p-mysql-

PCF Import

It takes some time to import….

After importing I clicked the add button on the left for both Pivotal Elastic Runtime and Pivotal MySQL (v1.2).

ADD Button

Step 8

Next step is to configure Ops Manager Director. Click on the large vmware vsphere icon. It asks for the IP address of your vcenter server or appliance and user/password. Click save.


Step 8

Select the big button to configure Operations Manager Director for vSphere and go through each of the steps on the left of the screen. I skipped health monitor and resource sizes, leaving them at the default. Everything else I changed or added details. Don’t forget to press save.

  1. vCenter credentials: your IP address and a suitable user (maybe root) and password for your vCenter server. It needs a high level of privileges to do things like create VMs.Ops Mgr 1
  2. vSphere configuration: Data centre name and cluster containing the servers that you will store Pivotal CF on. Datastore name: This is the single 438GB iscsi storage volume that is share between both hosts. Resource pool: I used one that I had created earlier.Ops Mgr 2
  3. Network configuration: choose the name of the network you use for ESX. Subnet: this is one that tripped me up a few times. Use something like 10.0.0/24 and then exclude the ranges that are used by your network for DHCP (see screen shot). Based on this example, Pivotal CF will create VMs using the IP addresses between and above. DNS: This is the Windows simple DNS server that I created. The gateway is just my home network router IP address.Ops Mgr 3
  4. NTP server: I used Note: If you have issues during the install, check all your ESX servers are time synchronized.Ops Mgr 4
  5. System settings: I received a suggestion to enable this. Pivotal CF will restart failed VMs.Ops Mgr 5

Step 9

Next configure Pivotal Elastic Runtime.

  1. For HAProxy, this is a step that tripped me up. I chose (deliberately 3 addresses after the starting point of my range that I created above which began with The CF install will create an IP address against this later. Here’s the tricky bit – you need to have created a DNS server or somehow serve up a DNS address that you create. More on that in a moment. The domain I created is * 1
  2. Choose the check box to “Trust Self-Signed Certificates”. Then click “Generate Self-Signed RSA Certificate”. In this box you need to add the wildcard domain that you are creating – e.g “*”. If you do this successfully and click save you should have: Successfully verified ability to allocate IPElR 2
  3. Cloud Controller: Here you enter your domain such as into the system and apps domain. If you click save you should see success at the top.

ElR 3

Step 10

Leave everything else the same. Now hit the big blue “Install” Button.


You will no doubt see a big red warning at the top stating that you need 43 CPUs, but you only have 16. At this point you can either go out and buy another 4 servers, or do what I did and click “Ignore and continue”.