vCloud Director 9.7 - 3 cells deployment

Deploy vCloud Director 9.7 with 3 cells

In this article I will demonstrate how you can deploy vCloud Director 9.7 with three cells. In my example I will use the vCD appliances (.OVA) and the internal PostgreSQL database as shown below:

vCloud Director design with internal PostgreSQL databases
vCD design with internal PostgreSQL databases

Prerequisites

Before we get started, there are some preparations you need to do yourself:

ObjectCommentExample
NTP Server I use the AD serversdc01.vblog.local
Root passwordRequirements:
Minimum 8 characters in length
Minimum 1 uppercase character
Minimum 1 lowercase
Minimum 1 numeric
Minimum 1 special
Only visible ASCII characters, including space
VeryS3cur3!
NFS mount for transfer file locationFormat: Target:/PathNFS01:/vcd-nfs
vCloud DB passwordUse a different password than the root passwordS@feD@tabas3!
Admin User NameUser nameadministrator
Admin Full NameFull namevCD Admin
Admin User PasswordUse a different password than the root password SecureVCDn0w!
Admin user email addressThis address will receive warnings and alertsyour@mail.com
Default gatewayThe default gateway for this subnet192.168.100.254
Domain nameUse the AD domain herevblog.local
Domain search pathUse the AD domain herevblog.local
Domain name serversEnter DNS servers comma separated192.168.100.1, 192.168.100.2
eth0 Network IP AddressEnter an IP address for eth0
Purpose: Internal traffic
192.168.100.10
eth0 Network Netmask Enter the subnet for eth0 255.255.255.0
eth1 Network IP AddressEnter an IP address for eth1
Purpose: GUI and API access
192.168.100.11
eth1 Network NetmaskEnter the subnet for eth1255.255.255.0

Deploy the first vCloud Director 9.7 appliance

When you’re done with the prerequisites, you’re ready to get started with the deployment of the vCloud appliances!

DNS configuration snipit
First, add the DNS records for the vCD cells to your DNS server (vcd-cell01-srv is the eht1 address!)

Start the Deploy OVF template dialog:

Deploy vCloud Director 9.7 - Select an OVF template
Select VMware_vCloud_Director-9.7.0.4444-14535248_OVF10.ova
Deploy vCloud Director 9.7 - Select a name and folder
Select a folder and choose Next
Deploy vCloud Director 9.7 - Select a compute resource
Select a cluster and choose Next
Deploy vCloud Director 9.7 - Review details
Review the settings and choose Next
Deploy vCloud Director 9.7 - License agreements
Accept the license agreements and choose Next
Deploy vCloud Director 9.7 - Configuration
Select the size of your appliance and choose Next

VMware’s statement on small and large deployment configurations:

The large vCloud Director primary appliance size is suitable for production systems, while the small is suitable for lab or test systems. After the deployment, you can reconfigure the size of the appliance.

Deploy vCloud Director 9.7 - Select storage
Select the datastore you want to use and choose Next
Deploy vCloud Director 9.7 - Select networks
Select the destination network for eth0 (UI & API) and eth1 (Internal & DB) and choose Next
Deploy vCloud Director 9.7 - Customize template
Use the checklist you’ve created earlier to complete the Customize template wizard and choose Next
Deploy vCloud Director 9.7 - Ready to complete
Review your settings and choose Finish

The appliance will be deployed now. After a few minutes, depending on your storage system underneath you can start the appliance.

Hint: if the appliance is not being deployed, you took too long to enter all the settings. The solution is to be a bit quicker next time 😉

Hint 2: if the appliance is being deployed and you want to check the log files after deployment, you can find them here:

Firstboot log/opt/vmware/var/log/firstboot
vCD setup/opt/vmware/var/log/vcd/setupvcd.log

Open your browser and navigate to the eth0 IP of vCloud Director.
It can take up to 5 minutes for the UI to be available in your browser.

vCD admin portal (Flash)
Flash: https://<eth0-IP>/cloud
vCD admin portal (HTML 5)
HTML5: https://<eth0-IP>/provider

Add the second & third appliance

Before you start deploying additional cells in your environment, check the NFS share. After you’ve deployed the first cell, the following folders & file should be present:

NFS storage on Windows Server 2019
vCD content on the NFS share

The deployment steps for vcd-cell 02 and vcd-cell03 are the same as the steps for vcd-cell 01 except for the steps below:

Use the same initial root password on all your cells!

Deploy vCloud Director 9.7 - Deployment configuration
Select Standby – Large instead of Primary – Large
Change the installation ID to 2 and 3 during the deployment
Change the installation ID to 2 and 3 during the deployment

When the deployment is finished, connect to the eth1 IP address of vcd-cell02 and vcd-cell03 via Putty and run the following commands:

The results will look like this:

Pairing vcd-cell02 to the vCloud Director cluster
Pairing vcd-cell02 to the vCloud Director cluster

After you completed the steps for both cells, navigate to the vCloud Director Appliance IP address on any of the cells. (https://<eth0-IP>:5480)

Check vCD Database Availability
You will see the additional cells listed here

Log on to the Flash or HTML5 client via the browser and add a vCenter Server, NSX manager and other good stuff.
If you add a vCenter Server or change settings on one of the cells, your settings will be automatically replicated to the other cells too.

50 total views, 3 views today

AboutMarc Roeleveld

Cloud Architect @ Uniserver Internet | vExpert 2019

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code