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:

Screen Shot 2016-02-26 at 10.47.32 PMvra login userpass –user username for the tenant –password password for the tenant username –server vRA appliance FQDN –tenant name of tenant you want to import content into

Run the import command to import the software component package:

Screen Shot 2016-02-26 at 11.03.40 PMYou basically run the following command:

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:

Screen Shot 2016-02-26 at 11.12.26 PM

 

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:

Screen Shot 2016-02-26 at 11.30.51 PM

Screen Shot 2016-02-26 at 11.31.18 PM