You can use the vdmadmin command with the -A option to override the IP address reported by a View Agent.

Syntax

vdmadmin -A [-b authentication_arguments] -override -i ip_or_dns -d desktop -m machine
vdmadmin -A [-b authentication_arguments] -override -list -d desktop -m machine
vdmadmin -A [-b authentication_arguments] -override -r -d desktop [-m machine]

Usage Notes

A View Agent reports the discovered IP address of the machine on which it is running to the View Connection Server instance. In secure configurations where the View Connection Server instance cannot trust the value that the View Agent reports, you can override the value provided by the View Agent and specify the IP address that the managed machine should be using. If the address of a machine that the View Agent reports does not match the defined address, you cannot use Horizon Client to access the machine.

Options

1 shows the options that you can specify to override IP addresses.

Table 1. Options for Overriding IP Addresses

Option

Description

-d desktop

Specifies the desktop pool.

-i ip_or_dns

Specifies the IP address or resolvable domain name in DNS.

-m machine

Specifies the name of the machine in a desktop pool.

-override

Specifies an operation for overriding IP addresses.

-r

Removes an overridden IP address.

Examples

Override the IP address for the machine machine2 in the desktop pool dtpool2.

vdmadmin -A -override -i 10.20.54.165 -d dtpool2 -m machine2

Display the IP addresses that are defined for the machine machine2 in the desktop pool dtpool2.

vdmadmin -A -override -list -d dtpool2 -m machine2

Remove the IP addresses that is defined for the machine machine2 in the desktop pool dtpool2.

vdmadmin -A -override -r -d dtpool2 -m machine2

Remove the IP addresses that are defined for the desktops in the desktop pool dtpool3.

vdmadmin -A -override -r -d dtpool3