Follow these instructions to install the NSX agent on your Windows workload VM.
See Supported Operating Systems for a list of Microsoft Windows versions currently supported.
- Log in to CSM and go to your public cloud:
- If using AWS, go to PCGs is deployed and running. . Click on the VPC on which one or a pair of
- If using Microsoft Azure, go to PCGs is deployed and running. . Click on the VNet on which one or a pair of
- From the Agent Download & Installation section of the screen, make a note of the Download Location and the Installation Command under Windows.
Note: The DNS Suffix in the Installation Command is dynamically generated to match the DNS settings you choose when deploying PCG.
- Connect to your Windows workload VM as Administrator.
- Download the installation script on your Windows VM from the Download Location you noted from CSM. You can use any browser, for example, Internet Explorer, to download the script. It is downloaded in your browser's default downloads directory, for example, C:\ Downloads.
- Open a PowerShell prompt and go to the directory containing the downloaded script.
- Use the Installation command you noted from CSM to run the downloaded script.
c:\> powershell -file ‘nsx_install.ps1” -operation install -dnsSuffix <>Note: The file argument needs the full path unless you are in the same directory or if the PowerShell script is already in the path. For example, if you download the script to C:\Downloads, and you are currently not in that directory, then the script must contain the location: powershell -file 'C:\Downloads\nsx_install.ps1' ...
- The script runs and when completed, displays a message indicating whether the NSX agent was installed successfully.
Note: The script considers the primary network interface as the default.