Recently I saw an interesting thread on slack where one of the consultant was seeing deploy button grayed out for VRSLCM deployment. Consultant was not aware if the management domain bringup was AVN enabled or not.
AVN was first introduced in VCF 3.9 and it enabled deploying vRealize components on logical segments instead of VLAN backed portgroup. AVN brought many enhancements with Cloud Foundation. Please read this Article to know more about AVN.
Since AVN enablement is optional and you can chose not to use it during SDDC bringup This is controlled via a parameter in VCF configuration workbook and ca be enabled later also.
Now the question is how to verify whether or not a SDDC bringup is AVN enabled bringup. There are couple of ways to verify this.
1: Through PowerVCF
PowerVCF is a PowerShell module to interact with SDDC Manager and the VCF stack. If you have PowerVCF is installed, you can connect to sddc-manager using below command:
# Connect-VCFManager <sddc-manager-fqdn> <sso-credentials>
and then run command: Get-VCFApplicationVirtualNetwork
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
PS C:UsersAdministrator> Connect-VCFManager sddc-manager.vstellar.local administrator@vsphere.local VMware1! Successfully Requested New API Token From SDDC Manager: sddc-manager.vstellar.local PS C:UsersAdministrator> Get-VCFApplicationVirtualNetwork id : 8b0ecaa8-6135-4a4d-a5bb-627b3476d199 name : vRealize-LS regionType : REGION_A subnet : 192.168.10.0 subnetMask : 255.255.255.0 gateway : 192.168.10.1 mtu : 9000 portGroupName : vRealize-LS domainName : vstellar.local routerName : Edge-Cluster01-t1-gw01 id : 78dfcd40-f789-4197-a31a-d2124667f77e name : xreg-seg01 regionType : X_REGION subnet : 192.168.11.0 subnetMask : 255.255.255.0 gateway : 192.168.11.1 mtu : 9000 portGroupName : xreg-seg01 domainName : vstellar.local routerName : Edge-Cluster01-t1-gw01 |
2: Querying VCF Database
Although PowerVCF method is sufficient to verify AVN thing, optionally this can be queried from VCF Database.
1 2 3 4 5 6 |
platform=# select name,portgroup_name,region_type,creation_time from avn; name | portgroup_name | region_type | creation_time -------------+----------------+-------------+--------------- vRealize-LS | vRealize-LS | REGION_A | 1587578302914 xreg-seg01 | xreg-seg01 | X_REGION | 1587578303311 (2 rows) |
3: From feature.properties file
For a AVN enabled bringup, you will see a property feature.vcf.avn.greenfield=true in feature.properties file
root@sddc-manager [ ~ ]# cat /opt/vmware/vcf/commonsvcs/conf/feature.properties | grep avn
feature.vcf.avn.greenfield=true
And that’s it for this post.
I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing 🙂