Voor stille CLI- of API-gebaseerde installaties van vRealize Automation kunt u een voltooid properties-antwoordbestand converteren naar JSON of omgekeerd. Voor de stille CLI-installatie is het properties-bestand vereist, terwijl voor de API-installatie de JSON-indeling is vereist.
Voorwaarden
Een voltooid properties-antwoordbestand of een voltooid JSON-bestand
/usr/lib/vcac/tools/install/ha.properties
of
/usr/lib/vcac/tools/install/installationProperties.json
Procedure
- Meld u als rootgebruiker aan bij de consolesessie van de vRealize Automation-toepassing.
- Voer het betreffende converterscript uit.
JSON converteren naar properties
/usr/lib/vcac/tools/install/convert-properties --from-json installationProperties.json
Het script maakt een nieuw properties-bestand met de tijdstempel in de naam, bijvoorbeeld:
ha.2016-10-17_13.02.15.properties
Properties converteren naar JSON
/usr/lib/vcac/tools/install/convert-properties --to-json ha.properties
Het script maakt een nieuw installationProperties.json-bestand met de tijdstempel in de naam, bijvoorbeeld:
installationProperties.2016-10-17_13.36.13.json
Resultaten
U kunt ook de Help voor het script weergeven.
/usr/lib/vcac/tools/install/convert-properties –-help