Specifying vSphere parameters
During installation, after launch.sh has run and prior to running launch_deployment.sh, locate the template file for vSphere: /<installation_configuration_directory>/extensions/embedded/cfp-bosh-templates/uiconfig_vmware_template.yml.
Copy this file to your installation directory and modify it. Replace the default and sample values with the actual values for your particular environment.
The following example parameters apply only to vSphere. You can also use common parameters. For more information, see Specifying common parameters.
uiconfig:
#vSphere specific parameters
vmware_address: "100.204.4.40"
vmware_username: "vmware_user"
vmware_password: "vmware_password"
vmware_disk_type: "thin or preallocated"
datacenter_name: "MyDataCenter"
cluster_name: "MyPersistentDataStorePattern"
resource_pool: "MyResourcePool"
template_folder: "MyTemplateFolder"
vm_folder: "MyVMFolder"
disk_path: "/Disk"
datastore_pattern: "MyDataStorePattern*"
persistent_datastore_pattern: "MyPersistentDataStorePattern"
portgroup: "myPortGroup"
- vmware_address: The host name or IP address for the vCenter instance.
- vmware_username: The VMware user name that is authorized to access the vCenter for Cloud Foundry.
- vmware_password: The password for the VMware user.
-
vmware_disk_type: The type of disks to provision for virtual machines (VMs). Valid values are
thinorpreallocated, and the default value isthin. If the parameter value isthin, VMware does not allocate disk space until it is needed, and your disks can be over committed. When you usethinprovisioned disks, VMware writes new files more slowly, and you might run out of space because of over committed storage.If you specify
preallocated, VMware allocates all the disk space when you create a VM. Using this value requires more disk space at deployment time, but ensures the space is always available. - datacenter_name: The vSphere data center that hosts the Cloud Foundry VMware resources.
- cluster_name: The vSphere cluster that hosts the Cloud Foundry ESXi hosts.
- resource_pool: Optional. The resource pool that hosts the virtual machines. If one is not available, set the value to
Resources. - template_folder: The vSphere folder (virtual machines and templates) that contains all
stemcellvirtual machines. - vm_folder: The vSphere folder (virtual machines and templates view) that contains all virtual machines.
- disk_path: The directory in the data store that hosts virtual machine persistent disks (VMDK). If it does not exist, the directory is created.
- datastore_pattern: The pattern that determines which data stores host the Cloud Foundry virtual machines.
- persistent_datastore_pattern: The pattern that determines which data stores host the virtual machine persistent disks. You can use the same value as the datastore_pattern.
- portgroup: The vSphere port group that all virtual machines are provisioned with.