Description
It contains Power CLI Scripts(16) to quickly setup VMware NSX Lab to perform testing for basic Testing It takes input from JSON file and performs following tasks
- NSX Manager Deployment
- Register VC in NSX Manager
- Assign NSX License
- Prepare ESXi Host(s) in Cluster
- Create IP Pool for Controller & VTEP
- Deploy Controller ( As it is lab currently deploying only 1 , Can we use same script to deploy multiple if required)
- Add/Create Segment
- Configure VXLAN
- Create Transport Zone
- Create Transit Logical Switch to interconnect DLR and Edge
- Deploy DLR with uplink from Transit Logical Switch
- Deploy ESG with Uplink from VLAN backed PG and Internal NIC from Transit Logical Switch
- Configure Default Gateways on DLR and Edge
- Configure OSPF in DLR
- Configure OSPF in Edge
Download
It can be downloaded from GitHub
Usage Instructions
- Create a folder called \”Scripts\” under C:\\ for windows ( I haven\’t had chance to test it in Linux) and save all the scripts along with JSON file
- Modify the JSON file as per your environment
- Open Power CLI and navigate to the C:\\Scripts and execute \”nsxsetup.ps1\”
Pre-requisites
- Management VC – VC where NSX Manager will be deployed. It could be same as Compute VC
- Compute VC – VC which will be integrated with NSX
- VDS – Distributed Switch on Compute VC along with Port Group with MTU 1600
- Datastore(s) – Datastores where all the VMs will be deployed i.e. NSX Manager , NSX Controller, NSX DLR & NSX Edge. Details needs to be updated in JSON file
- IP Details – All the IP details for all the VMs deployed. Details needs to be updated in JSON file
Demo Link
I have recorded Demo for the Script . ### No Audio. Visual Updates Only ###
I gather more information through this article, so please keep me informed of any update in this regard. For more relevant articles click on: how to recover deleted datacustom filedisk image softwareretrieve deleted files windowsdiskdiggerdiskdigger prousb drivedownload diskdigger