Archive for February, 2016
You gotta love the new software components feature in vRA 7. It enables the easy deployment, configuration, and removal of software/applications and makes them reusable across multiple platforms such as vSphere, AWS, and vCloud Air. I was recently working on a POC with a customer and they were testing out the full VMware stack. This included vROPs, vRA, NSX, VSAN, etc. One of the things I proposed is that we use the new software components features to hand the install and initial configuration of the vROPs End Point Operations agent during the deployment of workloads and also make sure to remove the agent when the workload is destroyed. They are primarily a Windows shop, so the software component I created is based on Windows but if there is enough interest I can also create one for Linux builds. The software package can be downloaded from the VMware Sample Exchange here.
Once you have downloaded the software component zip, the cloudclient can be used to import the software package. If you don’t have the cloudclient you can download it from here, along with the documentation on how to setup and configure it.
Login to the cloudclient:
Run the import command to import the software component package:
vra content import –path Path to Sotware Component .zip package –dry-run false –resolution OVERWRITE –precheck WARN
You could use true option with –dry-run first. This will test the import and let you know if there were any errors.
Next you add the software component to a Windows vRA blueprint and provide values for the properties:
Below are the details of the properties:
securePort – The secure port used to connect to vROPS, this is not required and would default to 443
serverCertificateThumbprint- This the the server certificate thumbprint of your vRealize Operations Manager server. This is required to install the EPO agent.
installer- Name of the installer package to be used for the install
passwordUNC- Password used for account to used to connect to share containing the installer package
installerPath- UNC path to the share that contains the installer package
usernameOps- Username used with vROPs to register the agent
serverAddress – FQDN or IP of the vRealize Operations Manager server
usernameUNC- Username to be used for connecting to the share
paswordOps- Password for unsernameOps account used to register agent with vROPs
These property values are used in some windows cmd line scripts that execute for installing the EPO agent and removing it when the workload is destroyed. These are defined in the software component like below: