How to get vRealize Automation Install Wizard values

The vRealize Automation installation wizards is one of the best new features in version 7 but I was recently asked how to get the install wizard values post installation for vRealize Automation. This is useful to just help understand what values were entered in case you need to troubleshoot the install or double check the config.

I found one way of doing this which may or may not be the best way.

You can pass in a parameter to the vcac-config utility to get page data specified during the install.

Each installation wizard page has an ID value. You can find these by running this command:

cat /opt/vmware/share/htdocs/service/wizard/wizard.xml
| grep -i '<wizardPage' -A1 | grep -i -w ' id\b'

This will list all the page IDs in the install wizard.

 id="welcome"
 id="eula"
 id="distribution.select"
 id="host.init"
 id="va.init"
 id="role.config"
 id="host.vra"
 id="identity.main"
 id="host.iaas"
 id="db.mssql.config"
 id="iaas.servers.web"
 id="iaas.servers.manager"
 id="iaas.servers.dem"
 id="iaas.servers.agents"
 id="va.certificate"
 id="web.certificate"
 id="ms.certificate"
 id="loadbalancers"
 id="validate"
 id="snapshot"
 id="install"
 id="licensing.main"
 id="telemetry"
 id="finish"

Now you have the wizard page IDs, you can get the parameters you have entered on the install wizard by running this command:

 /usr/sbin/vcac-config install-wizard --page iaas.servers.dem --params-get

This will output something similar to this:

---BEGIN---
 {"DemName":"DEM","instance":"iaas-01.vra.com\\DEM","ServiceUser":"vra\\svc_vra","DemRole":"dem-worker","ServiceUserPassword":"passw0000rd!","DemDescription":"DEM"}
 ---END---

You can run this command and enter the page ID to get any of the install wizard data you entered, just in case you aren’t sure what was configured.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s