With the release of 184.108.40.206 vCloud Director, it was time to upgrade Kafflab. Kafflab’s VCD was installed as a single cell 9.0, and this will be it’s first upgrade.
Backup your global.properties file /opt/vmware/vcloud-director/etc/global.properties
Backup your database!
Step 1: Download vCloud Director from http://my.vmware.com.
Here is a direct link https://my.vmware.com/web/vmware/info?slug=datacenter_cloud_infrastructure/vmware_vcloud_director/9_0
Step 2: SCP the download to a folder on the first VCD cell you want to upgrade.
On a Mac the command is scp “file name” root@”vcd cell name”:”location on vcd”
My command looked like this: scp vmware-vcloud-director-distribution-9.0.0-7034009.bin firstname.lastname@example.org:~
If you are on a windows machine, I recommend using winscp
Step 3: Quiesce the cell. This will stop the cell from accepting any more jobs.
./cell-management-tool -u videoadmin -p 123456 cell –quiesce true
Make sure to replace “videoadmin” and “123456” with your username and password.
Step 4: Make sure any jobs that were running are complete
./cell-management-tool -u videoadmin -p 123456 cell –status
You should see something similar to below.
Step 5: Once all the jobs are processed, and your cell is idle change directories back to where you scp’ed the VCD install file and add execute permissions to the file. In my case, it was the home directory of root.
chmod u+x vmware-vcloud-director-distribution-9.0.0-7034009.bin
Step 6: Execute the install file
Type Y for yes
If everything goes well, you should get “Upgrade installation complete.”
Step 7: Update the database
You will get the below warning
The real risk (in my opinion) is if users are using non upgraded cells on an upgraded database they could get errors. Hopefully, you are doing this in a maintenance window after notifying your customers that service could be spotty during the window. As you can see I typed Y.
Step 8: Did you backup your database?
Type Y if you have a backup. Or lie… vCloud won’t know ;). If you lie and lose your data, I get to say, “I told you so.”
Step 9: If the database upgrade completed without error type Y to start VCD
Step 10: Monitor VCD starting
tail -f /opt/vmware/vcloud-director/logs/cell.log | grep %
When you see com.vmware.vcloud.ui-vcloud-webapp hit 100% and stop, VCD should be 100% started.
Congrats you have successfully upgraded vCloud Director to 220.127.116.11.