VM migrations in vCenter not getting updated in Aria Automation
search cancel

VM migrations in vCenter not getting updated in Aria Automation

book

Article ID: 384092

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Cannot remove cloudzone from Project. results in an error "Cannot delete with 1 active resources". VM has been moved to a new cloudzone in the same project.

Environment

Aria Automation 8.18.x

Cause

The migration works based off events, emitted from vSphere. These events are polled periodically and ingested into Aria Automation. The configuration in the resolution changes the polling interval which vAA uses to acquire events from vSphere.

Resolution

Make sure to have proper backups or snapshots before running commands.

SSH into the appliance and run commands to update polling interval:

vracli cluster exec -- sh -c "base64 -d <<< '/Td6WFoAAATm1rRGBMCFA94HIQEWAAAAAAAAACXWapfgA90BfV0AEYhCRj30GGqmZ696n+GRg9KJEjcSM2+Tirvc77lPER/MtKTK/KQd7pQpxrV9CgT0bLOmNvP/jSS89k9xgEimiyFmBNQ61vdLCnPzjdChzhNS+9XzH2FK2U/owMhLtHvuggZwmVju1tkxKu37EcJupOk5Gw+97zgULhrqz6QV+tEFmDaRbaWiLnVVQhZurlxnbRlLsntmVJ0ox/gGLof3YC5W+RxuoJcizt1b7UWC40XnMfqG2kbstf2mBlxLBWjERsqyZA4xmkB9UzkeQkVWG19ItJb8PmJI5hb421Dm1h6DLOCPnD7dizEvXVcPuleYbyIBRd4phYc73dX19CU79iTkGekxqyTVxTsShFzjMqgBjFFeq3E5kIzgNeAufLy2y78nUBwhyG1OXxg4x1xF8WSWTL+kjLuxuEZ4i75Rb7BxPRpMrE6xdNCeyFANFU8zcDQzWtRymExd8DGiLANEhtn7kmM9eJXIUel9ykhKELmukBVCwqGGQIm6mX6gAAAAACpjZ3Vv9tKBAAGhA94HAABptHGVscRn+wIAAAAABFla' | xz -d | sh -"

(Optional, not needed if property is already applied) Restart the Aria Automation deployment:
/opt/scripts/deploy.sh 

Additional Information

The changes are made to the configuration of Provisioning service. The way it works is it creates something called a profile (which is an actual file on the host), which can add/override values from the configuration of the service when the VA is being deployed. So when the deployment process starts, it reads these profiles and applies them on top. This is how the configuration survives re-deploys and upgrades.