Performing Day 2 operations using vRealize Suite Lifecycle Manager APIs
After you have successfully installed or imported products, you can use the vRealize Suite Lifecycle Manager APIs to perform Day 2 operations.
As with any product installation, to perform Day 2 operations, you must have a MyVMware account. The licenses, certificates, and products that you can update are associated with your MyVMware account.
For the vRealize Suite products and versions that you can update, see Creating an Environment.
Prerequisites for Day 2 Operations
All Day 2 operations include the following common prerequisites:
- Verify that the appliance name and fully qualified domain name of the vRealize Suite Lifecycle Manager instance are available.
- Verify that the URL variable is
assigned.
url='https://LCM-Hostname'
Some tasks also include a prerequisite to
obtain your environment ID and product ID. To find the environment ID and assign the
environmentId
and productId
variables, perform
the following steps.- List all environment
IDs.
curl -X GET \ '$url/lcm/lcops/api/v2/environments' \ -H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \ -H 'Content-Type: application/json' \ | jq "."
- Examine the response to locate
your environment ID as in the following example that includes a product ID
for vRealize
Automation.
... { "environmentId": "dc902745-8232-4820-9479-6921edb86cf7", "environmentName": "vRS Example Environment", ... }, "products": [ { "id": "vra", "version": "8.0.1", "patchHistory": null, "snapshotHistory": null, "logHistory": null, "clusterVIP": null, ...
- Assign variables for the the
environment ID
variable andproduct ID
.environmentId = "dc902745-8232-4820-9479-6921edb86cf7" productId = "vra"
Any additional prerequisites are specified with the individual tasks.