VMware Cloud Director Availability
VMware Cloud Director
Upon recovery, the RT VM is converted into a standard VM, preventing its automatic cleanup. Notably, this new VM is renamed with a 'rtvm-C4' prefix plus a unique ID, distinguishing it from the original source VM.
This issue is resolved in VCDA 4.7.3.
Manually delete all existing references to stale RT VMs from Cloud Director (VCD)
vcd -k l <vcdcell IP> 'administrator@System' ‘password’
vcd -k g 'query?type=adminVApp&fields=name&filter=(hasOnlyReplicationModeVms==true)&pageSize=200'
psql -U h4postgres -d h4cloud -c 'SELECT rtvapp_id, name FROM vappreplication;'
rtvapp_id
output captured from the database in step.3vcd -k d vApp/vapp-<UUID>
This process deletes entries from both VCD and vCenter, ensuring synchronization.
---
If an error similar to the following is seen prior to the http 200 response during the authentication call in step 1, it is likely that the JWT authentication token is not being parsed correctly and the subsequent calls using the vcd utility will fail:
vcd.sh: missing arg: SETTING_VALUE
This can occur when pointing to the virtual IP for the vCD environment, depending on the configuration of the load balancer, etc. To mitigate this issue, please try pointing directly to an individual vCD cell.