BOSH director unifies deployment, and lifecycle management of small and large-scale cloud software. It can provision and deploy software over hundreds of VMs. BOSH also performs monitoring, failure recovery, and software updates with zero-to-minimal downtime. BOSH is particularly well-suited for large distributed systems. In addition, it supports multiple Infrastructure as a Service (IaaS) providers like VMware vSphere, GCP, AWS EC2, Microsoft Azure, and OpenStack.
In this blog post, we will discuss about how to configure BOSH Director for vSphere for the VMware Enterprise PKS environment. To start the process login to the OpsManager GUI using https://<opsman-fqdn-or-IP-address>/
Once logged in to the OpsMan, you will see the BOSH director for vSphere Tile. BOSH Tile is by default imported with the OpsMan installation. However, the Tile is orange in color which means it has not been configured. Follow the below steps to configure the BOSH Director Tile.
Step 1 : Configure the vCenter
Click on the BOSH director Tile and complete the fields on the vcenter config pane.
- Name: A name for your vCenter server
- vCenter Host: The FQDN/IP-Address if the vCenter
- vCenter Username: A vCenter server username
- vCenter Password: The password for the vCenter user
- Datacenter Name: The name of the datacenter as it appears in vCenter
- Virtual Disk Type: Select thick or thin provision disk
- Ephemeral Datastore Names: Datastores that stores ephemeral VM disks
- Persistent Datastore Names: Datastore that stores persistant VM disks
- Select a network configuration from one of the following: For this blog, I am selecting NSX
- NSX Mode: Select either NSX-V or NSX-T
- NSX Address: The FQDN or IP-Address of the NSX Manager
- NSX Username: The username to connect to the NSX manager
- NSX Password: The password for the username specified above
- NSX CA Cert: Copy and paste the NSX manager certificate
- VM Folder: The vSphere datacenter folder where Ops Manager places VMs.
- Template Folder: The vSphere datacenter folder where Ops Manager places VMs.
- Disk path Folder: The vSphere datastore folder where Ops Manager creates attached disk images.
- Click on Save
Step 2 : Director Config
In Ops Manager, select Director Config,
- Update the NTP Server details
- Enable VM Resurrector Plugin: checked
- Enable Post Deploy Scripts: checked
- Recreate All VMs: checked
- Leave all other parameters as default and click save
Step 3 : Configure Availability Zones
To configure availability zone, click on the create availability zone and click add > Fill the cluster information and click save
Step 4 : Create Networks
Provide the vSphere network information after clicking on Add Network.
Note: Reserved IP Ranges can be used so that the OpsMan will not use any IP mentioned in the range
Step 6 : Assign AZs and Networks
Select the AZ and Network created in the previous steps and click save
The rest of the settings are optional only. You can now go to the home page of the OpsMan Have you noticed the BOSH Tile is now green in color? This is because we have updated all the configuration of the BOSH director.
Now it’s time to deploy the BOSH Director vm. Click on the Review Pending Changes tab and then click Apply Changes to deploy the BOSH vm.
You can now see the BOSH director deployment has initiated.
Once the deployment is completed, you will see the Changes Applied window with the confirmation.
Login to your vCenter server and you will be able to see the BOSH director virtual machine created under the Mgmt-AZ resource pool. Note the custom attributes section and the IP address of the VM.
This completes the installation of BOSH Director for vSphere. In the coming blogs we will discuss about Preparing NSXT for Enterprise PKS installation