This issue is caused by a sync issue with QRTZ and Inventory. It is easily remedied, however it will require down time as the cells will need to be shut down in the process. And don’t forget…BACKUP, BACKUP, BACKUP. You can never have too much backup 🙂 Just follow the steps below…
Follow the steps given below to capture OVFTool logs:
- Open vCD UI in browser by adding ?debug=true at the end. For example see URL: https://xx.xxx.xxx.xx/cloud/?debug=true
- Now reproduce the issue
- Collect the client logs from the client machine. If client machine is windows, then the logs will be at following location:
There are a ton of blogs out there with complex queries and actions you can perform when your transaction logs are full and the vCD Web Interface fails with an error like:
.CellNotActiveException: Cell is not active
Well, I decided to make it simple for those who just want to get your environment back up and running ASAP.
I found it quite risky to connect to a vCloud instance as a SysAdmin and perform calls to a specific Org and ensure not to touch other orgs by a simple typo in my commands.
Use the following command to connect via PowerCLi direct to an org in vCD.
Connect-CIServer -Org WWW -Server XXX -Username YYY -password ‘ZZZ’
WARNING!!! This will delete ALL VMs in your vCD!!!!!
Connect to your vCD with “Connect-CIServer ” and run the following:
Stop-CIVApp * -Confirm:$false
Remove-CIVApp * -Confirm:$false
Remove-OrgNetwork * -Confirm:$false
Then manually delete any gateway devices and then run the following to clean up all the orgs:
Big thanks to my colleague Grant Voss for this awesome little cleanup script.