Information about the static IP for the Horizon Cloud Connector virtual appliance is saved in a container file in the deployed virtual appliance. If you update the static IP address for the Horizon Cloud Connector virtual appliance, you must also perform some additional steps. You must manually reconfigure the container settings file and then send the new static IP information to all desktops associated with the paired Horizon pod.

Where the static IP is stored

The static IP address of the deployed Horizon Cloud Connector virtual appliance is saved in the -/opt/container-data/cc-settings/ip.conf file and is shared with containers running inside the appliance.

For example, the static IP information might appear in the file as follows.

cc.address=10.117.163.20
Where the proxy settings are stored

The proxy settings of the Horizon Cloud Connector virtual appliance are stored in the -/opt/container-data/cc-settings/proxy.conf and are shared with containers running inside the appliance.

For example, the proxy information might appear in the file as follows.

proxyHost=null
proxyPort=0
proxySsl=false
proxyUsername=null
proxyPassword=
noProxyFor=null

Prerequisites

Configure a new static IP address for the Horizon Cloud Connector virtual appliance, and join the appliance to Active Directory.

Procedure

  1. Open /opt/vmware/share/vami/vami_config_net.
  2. To update the IP address, type 6 on the Enter a menu number line and press Enter.
  3. Next to Configure an IPv4 address for eth0, type y.
  4. Next to Use DHCPv4 server..., enter n.
  5. Enter the new IP address and subnet mask.
  6. Confirm the information is correct.
  7. (Optional) To update the default gateway, type 2 on the Enter a menu number line and press Enter. Update the information in the fields that display.
  8. (Optional) To update the DNS, type 4 on the Enter a menu number line and press Enter. Update the information in the fields that display.
  9. Close the vami menu.
  10. In the -/opt/container-data/cc-settings/ip.conf file, edit the cc.address line , as shown in the following example.
    cc.address=10.117.163.20
  11. Reset the Kubernetes cluster using the following commands.
    /opt/vmware/appliance/scripts/reset-keys.sh -r
    /opt/vmware/appliance/scripts/reset-keys.sh -i
  12. Reboot the appliance using the following command.
    reboot -f