Specifying common parameters

You can find a template file for your IaaS infrastructure type in the following location: /<installation_configuration_directory>/extensions/embedded/cfp-bosh-templates/uiconfig_<environment_type>_template.yml. Copy this file to your installation directory and modify it. Replace the default and sample values with the actual values for your vSphere, OpenStack, or AWS infrastructure.

These parameters are common to AWS, vSphere, and OpenStack. For example:

uiconfig:
  #Infrastructure agnostic parameters.
  developer_mode: "false"
  main_user_name: "admin"
  main_user_password: "mypassword"
  diego_cell_instances: 1
  bluemix_env_domain: "local.bluemix.net"
  bluemix_env_domain_cert: |+
      -----BEGIN CERTIFICATE-----
      -----END CERTIFICATE-----
  bluemix_env_domain_cert_ca: |+
      -----BEGIN CERTIFICATE-----
      -----END CERTIFICATE-----
  bluemix_env_domain_cert_rsa_key: |+
      -----BEGIN PRIVATE KEY-----
      -----END PRIVATE KEY-----
  bluemix_apps_domain: "local.mybluemix.net"
  bluemix_apps_domain_cert: |+
      -----BEGIN CERTIFICATE-----
      -----END CERTIFICATE-----
  bluemix_apps_domain_cert_rsa_key: |+
      -----BEGIN PRIVATE KEY-----
      -----END PRIVATE KEY-----
  ntp_servers: "ntp1,myntp2.com"
  subnet: "100.155.194.129/27"
  address_range: "100.15.194.130-100.15.194.155"
  external_dns:  "100.12.13.14,100.12.13.15,100.12.13.16"
  gateway: "100.15.194.1"
  director_ip: "100.15.194.2"
  console_ip: "100.15.194.5"
  router_static_ips: "100.15.194.3, 100.15.194.4"
  #cloud configuration customization.
  #Uncomment the attribute 'cloud_config_custom' and add your customization in place of the example, if needed.
  #cloud_config_custom:  |
  #  ---
  #  my_custom_yaml: my_custom_yaml

  #Cloud Foundry customization
  #Uncomment the attribute `cf_custom` and add your customization in place of the example, if needed.
  #cf_custom:  |
  #  ---
  #  my_custom_yaml: my_custom_yaml

  #Bosh director customization
  #Uncomment the attribute `director_custom` and add your customization in place of the example, if needed.
  #director_custom: |
  #  ---
  #  my_custom_yaml: my_custom_yaml

  #Backups
  #Note: Most of the parameters are optional.

  bbr_backup:
  #Set the `customer_nfs_host`, `customer_nfs_path` and `customer_short_name` if you want the director and
  #deployment backups pushed to your own NFS server.
  #The NFS mount is built as <customer_nfs_host>:/<customer_nfs_path>/<customer_short_name>
  customer_nfs_host: "NFS IP or host name"
  customer_nfs_path: "/bluemix_nfs"
  customer_short_name: "bluemix1"

  #    director_backup: # Optional. Add this parameter if you want to change the default time for the director backup.
  #                      The default value is 2 AM in the nfs_WAL_server time zone.
  #      scheduled: "* 2 * * *"
  #      enable: "false" # The default value is true, which means that backups are executed.
  #      nb_backups: "10" #Number of backup to keep on the nfs_WAL_server. The default value is 10.
  #      max_log_size: "1048576" #Maximum log size before it rolls over (in bytes). The default value is 1048576 (1 MB).
  #      nb_logs: "10" #Maximum number of logs to keep on the nfs_WAL_server. The default value is 10.
  #    deployments_backup:
  #      deployments: #Optional. Add this parameter if you want to change the default time for the Bluemix deployment backup.
  #                   The default value is 2:30 AM in the nfs_WAL_server time zone.
  #      - name: Bluemix
  #        enabled: "false" # The default value is true, which means that the backup runs.
  #        nb_backups: "10" #Number of backups to keep on the nfs_WAL_server. The default value is 10.
  #        max_log_size: "1048576" #Maximum log size before it rolls over (in bytes). The default value is 1048576 (1 MB)
  #        nb_logs: "10" #Maximum number of logs to keep on the nfs_WAL_server. The default value is 10.
  #        schedule: "* 6 * * *"

  db_nfs_copy:
  #Set the customer_nfs_host, customer_nfs_path and customer_short_name if you want the UAADB and
  #CCDB backups pushed to your own NFS server.
  #The NFS mount is built as <customer_nfs_host>:/<customer_nfs_path>/<customer_short_name>
  customer_nfs_host: "NFS server IP address or host name"
  customer_nfs_path: "/bluemix_nfs"
  customer_short_name: "bluemix1"