We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How to resync vCloud Director with OnApp?
Environment
OnApp 5.2.x (and later) with vCloud Director integration
Answer
In order to run a full resync of vCloud Director with OnApp, run the following commands on your OnApp control panel server:
[root@onapp ~]# cd /onapp/interface ; RAILS_ENV=production rake vcloud:resync_clean
[root@onapp ~]# cd /onapp/interface ; RAILS_ENV=production rake vcloud:resync
The first command will remove any orphaned assets from your OnApp environment.
The second command will ensure your OnApp and vCloud Director environments are both up to date.
Note: There is a cron job that is running this on a daily basis:
[root@onapp interface]# cat /etc/crontab |grep resync
0 1 * * * onapp cd /onapp/interface ; RAILS_ENV=production rake vcloud:resync
15 0 * * * onapp cd /onapp/interface ; RAILS_ENV=production rake vcloud:resync_clean