For silent vRealize Automation CLI or API based installations, you can convert a completed properties answer file to JSON or vice versa. The silent CLI installation requires the properties file, while the API requires JSON format.

Before you begin

A completed properties answer file or completed JSON file

/usr/lib/vcac/tools/install/ha.properties

or

/usr/lib/vcac/tools/install/installationProperties.json

Procedure

  1. Log in to a vRealize Automation appliance console session as root.
  2. Run the appropriate converter script.
    • Convert JSON to Properties

      /usr/lib/vcac/tools/install/convert-properties --from-json installationProperties.json

      The script creates a new properties file with the timestamp in the name, for example:

      ha.2016-10-17_13.02.15.properties

    • Convert Properties to JSON

      /usr/lib/vcac/tools/install/convert-properties --to-json ha.properties

      The script creates a new installationProperties.json file with the timestamp in the name, for example:

      installationProperties.2016-10-17_13.36.13.json

Results

You can also display help for the script.

/usr/lib/vcac/tools/install/convert-properties –-help