Customize VDA registration port for DaaS deployments
book
Article ID: CTX473025
calendar_today
Updated On:
Description
Change the VDA registration port in a DaaS deployment
Instructions
- We have to do it on the cloud connector as that is acting as the broker proxy.
- Open Command prompt as an admin on a cloud connector
- Change the directory to programfiles\Citrix\XaXdCloudProxy (or whatever the cloud connector installation directory is)
- Run the command xaxdcloudproxy.exe -VDAPORT <port number>.

- You can run the command netstat -anob | find "PORTNUMBER" on the configured connector to confirm that it has started listening on the configured port

- Run the command HighAvailabilityService.exe -VdaPort <port number> -ConfigureFirewall by changing the directory to C:\Program Files\Citrix\Broker\Service\ (or your installation directory) to configure it for HA mode and auto configuring the windows firewall rules for it as well.
- Following registry key should be added to the connector automatically, after running the commands

When customizing the port, consider the following:-
- You must use the same port number in both commands.
- You must run both commands on all Cloud Connectors.
- The port you configure persists across connector updates.
- You will have to make sure that your VDAs can talk to the connectors on the configured port. Get any blocks removed with the help of your networking team.
- To successfully communicate with Cloud Connectors, ensure that all VDAs use the same port number(see VDA configuration below).
Additional cloud connector configuration when using Rendezvous V1:
- Set the below reg key on each cloud connector.
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\XaXdCloudProxyPersist
Name: WorkerPortNumber
Type: REG_DWORD
Value: <port number>
VDA Configuration:-
- Please do not forget to change the controllerregistrarport on the existing VDAs (the screenshot below is from a VDA):-

- You can also do the same on the VDA by:-
Install the VDA with default settings and configure as follows. If the VDA is already installed, continue with the steps below.
-
Open XenDesktopVdaSetup.exe, which is located at C:\Program Files\Citrix\XenDesktopVdaSetup\XenDesktopVdaSetup.exe
.
-
On the Protocol and Port page, add the custom port number.

-
On the Delivery Controller page, enter the FQDN of the Controller.

-
Click Next to proceed through the wizard to complete the configuration.
The port numbers are then reconfigured successfully.
Environment
This software application is provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that: (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the software application be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the software application.
Issue/Introduction
This doc will be useful for customers interested in changing the VDA registration port in case of DaaS/Citrix Cloud deployments
Additional Information
https://docs.citrix.com/en-us/citrix-daas/install-configure/install-vdas.html#customize-a-vda
Was this article helpful?
thumb_up
Yes
thumb_down
No