To re-populate the map with the existing vRealize Operations Manager Tenant App environment, you trigger an import operation that validates that the specified deployment is working, and imports the vRealize Operations Manager Tenant App environment into the VMware Cloud Provider Lifecycle Manager map.

Procedure

  • In your Web browser, start Postman and configure the following HTTPS request.
    1. On the Headers tab, add the JSESSION ID.
      Setting Value
      JSESSIONID vcp-lcm-session-id
    2. To import the vRealize Operations Manager Tenant App environment, configure the following HTTPS request.
      Setting Value
      HTTPS request method POST
      URL https://vcp-lcm-ip-address:port-number/api/api-version/lcm/environment?action=IMPORT
      Body
      {
          "environmentName": "{{vropsta_env_id}}",
          "products": [
              {
                  "productType": "VROPSTA",
                  "productId": "{{vropsta_product_id}}",
                  "version": "2.4.0",
                  "adminPassword": "{{password}}",
                  "integrations": [
                      {
                          "integrationId": "vropsta-01-to-vrops-01",
                          "datacenterComponentType": "VROPS",
                          "hostname": "{{vrops_ip}}",
                          "integrationUsername": "admin",
                          "integrationPassword": "{{vrops_password}}"
                      },
                      {
                          "integrationId": "vropsta-01-to-vcd-01",
                          "productType": "VCD",
                          "hostname": "{{vcd_lb_ip}}",
                          "integrationUsername": "administrator@system",
                          "integrationPassword": "{{password}}",
                          "properties": {
                              "amqp": {
                                  "amqpHost": "{{rmq_lb_ip}}",
                                  "amqpPort": "{{rmq_port_amqp_ssl}}",
                                  "amqpVHost": "/",
                                  "amqpUseSSL": "true"
                              },
                              "tenantAppProxy": "{{vropsta_proxy}}",
                              "credentials": {
                                  "vcdAmqp": {
                                      "password": "{{password}}"
                                  },
                                  "tenantAppAmqp": {
                                      "username": "svc_vropsta",
                                      "password": "{{password}}"
                                  }
                              }
                          }
                      }
                  ],
                  "nodes": [
                      {
                          "hostName": "{{vropsta_name}}.{{domainName}}",
                          "vmName": "{{vropsta_name}}",
                          "rootPassword": "{{password}}",
                          "nics": [
                              {
                                  "ipAddress": "{{vropsta_ip}}",
                                  "networkName": "vcd-dmz-nw"
                              }
                          ]
                      }
                  ]
              }
          ],
          "deploymentInfrastructures": {
              "infra1": {
                  "vcenter": {
                      "vcenterName": "mgmt-vc",
                      "vcenterHost": "{{vcenter_hostname}}.{{domainName}}",
                      "vcenterUsername": "administrator@vsphere.local",
                      "vcenterPassword": "{{vc_password}}",
                      "datacenterName": "{{vc_datacenter}}",
                      "clusterName": "{{vc_cluster}}",
                      "resourcePool": "{{vc_res_pool}}",
                      "datastores": [
                          "{{vc_datastore}}"
                      ],
                      "networks": {
                          "vcd-dmz-nw": {
                              "portGroupName": "{{vcd_dmz_portgroup}}",
                              "gateway": "{{vcd_dmz_gateway}}",
                              "subnetMask": "{{vcd_dmz_subnet}}",
                              "domainName": "{{domainName}}",
                              "searchPath": [
                                  "{{domainName}}"
                              ],
                              "useDhcp": false,
                              "dns": [
                                  "{{dns}}"
                              ],
                              "ntp": [
                                  "{{ntp}}"
                              ]
                          }
                      }
                  }
              }
          }
      }

Results

If the import is successful, you see an OK (200) status and "taskId":.