While trying to remove vCenter from vRLCM Datacenter, we get message "The following environments are associated with the vCenter. Hence the vCenter cannot be deleted"
search cancel

While trying to remove vCenter from vRLCM Datacenter, we get message "The following environments are associated with the vCenter. Hence the vCenter cannot be deleted"

book

Article ID: 375065

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Unable to remove vCenter from Aria Lifecycle Manager.

While trying to delete vCenter from Aria Lifecycle Datacenter, we get the message "The following environments are associated with the vCenter. Hence the vCenter cannot be deleted"

Environment

Aria Lifecycle Manager 8.x

Cause

This is caused as Infrastructural properties still contain references to the old vCenter, while only the component vCenter information has been correctly updated to point to the new vCenter.

This occurs even when the Aria Suite virtual machines were successfully migrated to the new vCenter, and the inventory sync completed successfully and reflect the new vCenter information. 

Resolution

To resolve the issue, we need to delete all Environments from Aria Lifecycle Manager associated with the vCenter and add them back.

Steps to remove old vCenter from Aria Lifecycle Manager:

  1. Take a Snapshot of the Aria Lifecycle Manager Server:

    • Create a snapshot of the Aria Lifecycle Manager and export the configuration of each Environment configuration as JSON before proceeding with the migration. 
  2. Trigger Inventory Sync:

    • Initiate an inventory sync for the products to ensure that the Aria Lifecycle Manager has the most up-to-date information about the existing environment. 
  3. Delete Aria Product Environments and  "globalenvironment":

    • Delete Environments: Select the Environment to delete them from the Aria Lifecycle Manager. Ensure that you only check the "Delete environment from Aria Lifecycle Manager" option to avoid accidentally deleting VMs.
    • Delete "globalenvironment": Once the products Environments are deleted, proceed to delete the "globalenvironment" from the vRLCM server. 
  4. Delete vCenter from Datacenter in vRLCM.

Steps to add "globalenvironment" and other Aria Suite Products in Aria Lifecycle Manager:

  1. Discover Products: