Configuring a KMS Host
This topic describes how to configure a KMS host that your volume-licensed Windows cell can register with.
Follow the steps in the Log into BOSH section of the Advanced Troubleshooting with the BOSH CLI topic to target and log in to your BOSH Director. The steps vary slightly depending on whether your PCF deployment uses internal authentication or an external user store.
Use the BOSH CLI v2 to show your current runtime config by running
bosh2 -e YOUR-ENV runtime-config. For example:
$ bosh2 -e gcp runtime-config
Copy the contents of your existing runtime config into a new YAML file.
Include the Windows Utilities Release in your new runtime config:
--- releases: ... - name: windows-utilities version: 0.3.0
Include the KMS configuration in your new runtime config:
addons: - name: kms-addon jobs: - name: set_kms_host release: windows-utilities properties: set_kms_host: host: some-kms-host.privatedomainname port: 12345 # defaults to 1688 include: stemcell: - os: windows2012R2
Update the BOSH Director with your new runtime config. For example:
$ bosh2 -e gcp update-runtime-config config.yml
Redeploy the PCF Runtime for Windows tile by navigating to the Ops Manager Installation Dashboard and clicking Apply Changes.