Where’s the VIB?

Finding the NSX vib can be daunting if you dont know where to find it.   If you need to find the vib, here is a surefire way (as of 6.2.x).

Visit the following URL:

https://<nsxmanagerIP>/bin/vdn/nwfabric.properties

This will provide you a nice little text file showing where the different versions are located.  Here is an example:

# 6.0 VDN EAM Info
VDN_VIB_PATH.1=/bin/vdn/vibs-6.4.4/6.0-11070622/vxlan.zip
VDN_VIB_VERSION.1=11070622
VDN_HOST_PRODUCT_LINE.1=embeddedEsx
VDN_HOST_VERSION.1=6.0.*

# 6.5 VDN EAM Info
VDN_VIB_PATH.2=/bin/vdn/vibs-6.4.4/6.5-11070622/vxlan.zip
VDN_VIB_VERSION.2=11070622
VDN_HOST_PRODUCT_LINE.2=embeddedEsx
VDN_HOST_VERSION.2=6.5.*

# 6.6.3+ VDN EAM Info
VDN_VIB_PATH.3=/bin/vdn/vibs-6.4.4/6.7-11070622/vxlan.zip
VDN_VIB_VERSION.3=11070622
VDN_HOST_PRODUCT_LINE.3=embeddedEsx
VDN_HOST_VERSION.3=6.6.3+

# 6.7 VDN EAM Info
VDN_VIB_PATH.4=/bin/vdn/vibs-6.4.4/6.7-11070622/vxlan.zip
VDN_VIB_VERSION.4=11070622
VDN_HOST_PRODUCT_LINE.4=embeddedEsx
VDN_HOST_VERSION.4=6.7.*

# 6.8 VDN EAM Info
VDN_VIB_PATH.5=/bin/vdn/vibs-6.4.4/6.7-11070622/vxlan.zip
VDN_VIB_VERSION.5=11070622
VDN_HOST_PRODUCT_LINE.5=embeddedEsx
VDN_HOST_VERSION.5=6.8.*

# 6.6.3+ VDN EAM Info for SDDC
VDN_VIB_PATH.6=/bin/vdn/vibs-6.4.4-sddc/6.7-11070622/vxlan.zip
VDN_VIB_VERSION.6=11070622
VDN_HOST_PRODUCT_LINE.6=embeddedEsx.sddc
VDN_HOST_VERSION.6=6.6.3+

# 6.7 VDN EAM Info for SDDC
VDN_VIB_PATH.7=/bin/vdn/vibs-6.4.4-sddc/6.7-11070622/vxlan.zip
VDN_VIB_VERSION.7=11070622
VDN_HOST_PRODUCT_LINE.7=embeddedEsx.sddc
VDN_HOST_VERSION.7=6.7.*

# 6.8 VDN EAM Info for SDDC
VDN_VIB_PATH.8=/bin/vdn/vibs-6.4.4-sddc/6.7-11070622/vxlan.zip
VDN_VIB_VERSION.8=11070622
VDN_HOST_PRODUCT_LINE.8=embeddedEsx.sddc
VDN_HOST_VERSION.8=6.8.*

# Single Version associated with all the VIBs pointed by above VDN_VIB_PATH(s)
VDN_VIB_VERSION=6.4.4.11197766

# Legacy vib location. Used by code to discover avaialble legacy vibs.
LEGACY_VDN_VIB_PATH_FS=/common/em/components/vdn/vibs/legacy/
LEGACY_VDN_VIB_PATH_WEB_ROOT=/bin/vdn/vibs/legacy/

After finding the VIB you need, simply copy the path and add it to the URL following your NSX Manager:

https://<nsxmanagerIP>/bin/vdn/vibs-6.4.4/6.7-11070622/vxlan.zip
Continue Reading

Modifying an AutoDeploy rule in PowerCLi

After some hunting I found that modification of an AutoDeploy rule wasn’t as simple as Edit-DeployRule  🙂  My coworker Joe Keegan, the God of AutoDeploy walked me through the simple steps to modify existing rules rather that deleting and replacing.

NOTE:  You do NOT need to use “” or other characters around the <VALUE> EXCEPT for the Pattern Value.  Otherwise, the object is found when it checks the name against the GetType.

To replace the Pattern of an existing rule:
Get-DeployRule -name <RULENAME> | Copy-DeployRule -ReplacePattern “<NEW PATTERN>”

To replace the Image, Location, or Profile of an existing rule:
Get-DeployRule -name <RULENAME> | Copy-DeployRule -ReplaceItem <NEW PROFILE NAME>

 

Continue Reading