Ideally I’d have preferred not to have a Replica Server and the environment will work without it but ideally the LAN based the clients will connect directly to the VDI desktops without the PCoIP traffic going through the Connection Server. The Security Server necessitates that we set the connection server to use a PCoIP Security Gateway which applies to all connections to that Connection Server. Therefore we will create a Replica Server which will be pair with the Security Server. The installation here is very similar to the first Connection Server
Create an VM for the VMware View Connection Replica Server
$vm = Get-ResourcePool -Location Servers | New-VM -Name "VCS02" -DiskGB 30 -MemoryGB 4 -NumCpu 2 -NetworkName "VM Network" -GuestId windows8Server64Guest Get-NetworkAdapter $vm | Set-NetworkAdapter -Type Vmxnet3 -Confirm:$false Get-ScsiController $vm | Set-ScsiController -Type ParaVirtual -Confirm:$false Start-VM $vm | Open-VMConsoleWindow -FullScreen
Install Windows 2012 R2 using MDT.
Set the IP address and DNS server address:
New-NetIPAddress -InterfaceAlias "Ethernet0" -IPAddress 10.0.1.12 -PrefixLength 16 -DefaultGateway 10.0.0.1 Set-DnsClientServerAddress -InterfaceAlias "Ethernet0" -ServerAddresses 10.0.1.5
Set the friendly name of the machine certificate to
vdm. The command line below has issues as it assumes that only one certificate exists but for the most part will work
$cert = Get-ChildItem Cert:\LocalMachine\My $cert.FriendlyName = 'vdm'
Open the View Connection Server installer and run through the installation wizard
Choose a Replica Server
Specify the name of the other Connection Server to replicate from
Automatic Windows firewall configuration please
Summary and finish
At this point from the LAN side either Connection Server can be used which is useful for testing. Once the Security Server is installed and the PCoIP gateway setting is changed the original server should always be used in preference to this one