Sample Exchange

 View Only

PowerShell Script to deploy vRNIC Proxy OVA on VMC SDDC 

Jan 07, 2020 07:47 PM

vRealize Network Insight Cloud - Guide to deploy vRNIC Proxy (Collector) on VMC SDDC using PowerShell Script.

Pre-requisites:
* PowerShell version is 6.1 or above.
* Connectivity to Internet from where PowerShell script will be executed
* Connectivity to VMC SDDC vCenter Private IP over HTTPS(443) from where PowerShell script will be executed. You can get the private IP by following below step:
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
	* SDDC name should be under the heading "Software-Defined Data Centers (SDDC)"
    * Click 'support' tile
    * Copy vCenter Private IP
    * Here is the way to verify connectivity
        * Open on browser https://<vCenter Private IP>. If this page opens even with certificate error, its fine.
        * telnet <vCenter Private IP> 443

Follow steps below:
Step: Download script by clicking "Download" button on this page.

Step: Copy vRNIC Proxy OVA shared secret key from Platform UI and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware vRealize Network Insight Cloud' tile under 'My Services'
    * Click on Settings
    * Click on 'Install and Support'
    * Click on 'Add Collector VM'
    * Click 'Copy' to copy shared secret and keep it handy.

Step: Copy Organization Name and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Organization name should be on right/upper side of portal    
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
    * Copy 

Step: Copy SDDC name and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
	* SDDC name should be under the heading "Software-Defined Data Centers (SDDC)" 
    * Copy SDDC name

Step: Copy RefreshToken name and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Click on 'User Settings' -> 'My Account' -> 'API Tokens' -> 'Generate Token' (Optional if you already have one)

Step: Collector Inventory location where Tenant Proxy OVA will be deployed
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
    * Click on SDDC
    * Network Name (keep it handy) - Can be picked from 'Network & Security' -> 'Network' -> 'Segments'. Note: The VMs on this network should be able to reach Internet. 

Step: Open script on editor and modify the required variables. For more info, run below command to get help
        PS > get-help .\deploy_ova_on_vmc_sddc.ps1
    
Step: Run script
    PS > cd <script download directory> 

 

Contributors: 

Arun Sharma <sharmaarun@vmware.com>

Sourabh Verma <sourabhv@vmware.com>

Ashutosh Kulkarni <ashutoshk@vmware.com>

Munishpal Makhija <mmakhija@vmware.com>

PS > ./deploy_ova_on_vmc_sddc.ps1sdfsdfvRealize Network Insight Cloud - Guide to deploy Tenant Proxy (Collector) on VMC SDDC using PowerShell Script.
 
Pre-requisites:
* PowerShell version is 6.1 or above.
* Connectivity to Internet from where PowerShell script will be executed
* Connectivity to VMC SDDC vCenter Private IP over HTTPS(443) from where PowerShell script will be executed. You can get the private IP by following below step:
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
    * SDDC name should be under the heading "Software-Defined Data Centers (SDDC)"
    * Click 'support' tile
    * Copy vCenter Private IP
    * Here is the way to verify connectivity
        * Open on browser https://<vCenter Private IP>. If this page opens even with certificate error, its fine.
        * telnet <vCenter Private IP> 443
 
Follow steps below:
Step: Download script from location <TODO: Arun add url here>
 
Step: Copy vRNIC Proxy OVA shared secret key from Platform UI and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware vRealize Network Insight Cloud' tile under 'My Services'
    * Click on Settings
    * Click on 'Install and Support'
    * Click on 'Add Collector VM'
    * Click 'Copy' to copy shared secret and keep it handy.
 
Step: Copy Organization Name and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Organization name should be on right/upper side of portal    
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
    * Copy 
 
Step: Copy SDDC name and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
    * SDDC name should be under the heading "Software-Defined Data Centers (SDDC)" 
    * Copy SDDC name
 
Step: Copy RefreshToken name and keep it handy for further step
    * Login to https://console.cloud.vmware.com/
    * Click on 'User Settings' -> 'My Account' -> 'API Tokens' -> 'Generate Token' (Optional if you already have one)
 
Step: Collector Inventory location where Tenant Proxy OVA will be deployed
    * Login to https://console.cloud.vmware.com/
    * Click on 'VMware Cloud on AWS' tile under 'My Services'
    * Click on SDDC
    * Network Name (keep it handy) - Can be picked from 'Network & Security' -> 'Network' -> 'Segments'. Note: The VMs on this network should be able to reach Internet. 
 
Step: Open script on editor and modify the required variables. For more info, run below command to get help
        PS > get-help .\deploy_ova_on_vmc_sddc.ps1
    
Step: Run script
    PS > cd <script download directory>
    PS > ./deploy_ova_on_vmc_sddc.ps1

#Apache2.0
#PowerShell
#vRealizeNetworkInsight
#vRNIC
#vRealizeNetworkInsightAPI
#NetworkInsight
#vRNI
#PowervRNI

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
ps1 file
deploy_ova_on_vmc_sddc.ps1   29 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.