VMware: Scaling a vRA 7.3 Environment – Part 3
Last time we explored the wonderful vra-command tool. Now it’s time to dive into the REST API world of vRA configuration. You may already know the vRA API and probably may have already used it. However, if you open a browser and navigate to https://you-vra-va:5480/config you’ll see a nice UI listing all the available options for meddling with your infrastructure:
When you click on a certain command you can event test it. This will trigger a curl statement on the current VA and will show all the results on the same page:
This is very neat!
And just like with vra-command, you’ve got all the options in the world to scale vRA any way you want.
To make your life easier, I’ve even prepared a PowerShell script that can invoke all these operations. The script is below and can be run by using the following switches:
Before running the script there are a few parameters you need to fill out. You can see all the parameters and their values in the initialization section of the script. Just edit the script to reflect your environment and you’re good to go. If you want to know what parameters each operation requires you can check all the Construct-XXXBody functions. They define the JSON bodies for all the PUT requests that are issued. I’ve tried to make the script as generic as possible so it would be easier for you to modify it every way you want. Just remember to install the management agents on the IaaS server beforehand.
Read the entire article here, Scaling a vRA 7.3 Environment (Part 3)
via the fine folks at VMware!