{"id":1674,"date":"2020-01-29T13:13:38","date_gmt":"2020-01-29T13:13:38","guid":{"rendered":"http:\/\/vpxd.dc5.cz\/?p=1674"},"modified":"2020-03-04T12:43:57","modified_gmt":"2020-03-04T12:43:57","slug":"vmware-vcloud-director-for-service-provider-upgrade-from-9-7-to-10-0","status":"publish","type":"post","link":"https:\/\/vpxd.dc5.cz\/index.php\/2020\/01\/29\/vmware-vcloud-director-for-service-provider-upgrade-from-9-7-to-10-0\/","title":{"rendered":"VMware vCloud Director for Service Provider upgrade from 9.7 to 10.0"},"content":{"rendered":"<p><span style=\"font-family:Times New Roman; font-size:18pt\"><strong>Check prerequisites, documentation, release notes<br \/>\n<\/strong><\/span><\/p>\n<p><span style=\"font-size:10pt\">Documentation:  <a href=\"https:\/\/docs.vmware.com\/en\/vCloud-Director\/index.html\">https:\/\/docs.vmware.com\/en\/vCloud-Director\/index.html<\/a><\/span><\/p>\n<p><span style=\"font-family:Times New Roman\">Release notes: <a href=\"https:\/\/docs.vmware.com\/en\/vCloud-Director\/10.0\/rn\/VMware-vCloud-Director-for-Service-Providers-100-Release-Notes.html\">https:\/\/docs.vmware.com\/en\/vCloud-Director\/10.0\/rn\/VMware-vCloud-Director-for-Service-Providers-100-Release-Notes.html<\/a><br \/>\nAPI:  <a href=\"https:\/\/code.vmware.com\/apis\/553\/vcloud-director\">https:\/\/code.vmware.com\/apis\/553\/vcloud-director<\/a><\/span><\/p>\n<p>Instalation,configuration and upgrade guide: <a href=\"https:\/\/docs.vmware.com\/en\/vCloud-Director\/9.7\/com.vmware.vcloud.install.doc\/GUID-F14315CC-B373-4A21-A3D9-270FFCF0A417.html\">https:\/\/docs.vmware.com\/en\/vCloud-Director\/9.7\/com.vmware.vcloud.install.doc\/GUID-F14315CC-B373-4A21-A3D9-270FFCF0A417.html<\/a><br \/>\n<span style=\"font-family:Times New Roman; font-size:10pt\">In my scenario I have CentOS 7 VM where is vCloud director 9.7 running. And another VM where is running PostgreSQL.<br \/>\n<\/span><\/p>\n<p><span style=\"font-family:Times New Roman; font-size:18pt\"><strong>Step-by-step guide<br \/>\n<\/strong><\/span><\/p>\n<ol>\n<li>\n<div><span style=\"font-family:Times New Roman; font-size:12pt\">stop vCloud services<br \/>\n<\/span><\/div>\n<p style=\"margin-left: 36pt\"><span style=\"font-family:Courier New; font-size:12pt\">\/etc\/init.d\/vmware-vcd stop<br \/>\n<\/span><\/p>\n<\/li>\n<li>\n<div><span style=\"font-family:Times New Roman; font-size:12pt\">backup vCloud DB. In my case PostgreSQL<br \/>\n<\/span><\/div>\n<p style=\"margin-left: 36pt\"><span style=\"font-family:Courier New; font-size:12pt\">su &#8211; postgres<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 36pt\"><span style=\"font-family:Courier New; font-size:12pt\">pg_dump vcloud &gt; \/var\/lib\/pgsql\/vcloud-backup_20200124-1821.sql<br \/>\n<\/span><\/p>\n<\/li>\n<li><span style=\"font-family:Times New Roman; font-size:12pt\">create snapshot on vCloud Director VM a PostgreSQL VM<br \/>\n<\/span><\/li>\n<li>\n<div><span style=\"font-family:Times New Roman; font-size:12pt\">upload and run installation file<br \/>\n<\/span><\/div>\n<p style=\"margin-left: 36pt\"><span style=\"font-family:Courier New; font-size:12pt\">.\/vmware-vcloud-director-distribution-10.0.0-14638910.bin<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Checking free disk space&#8230;doneChecking for a supported Linux distribution&#8230;Detected CentOS7 systemdoneChecking for necessary RPM prerequisites&#8230;doneExtracting VMware vCloud Director. Please wait, this could take a few minutes&#8230;vmware-vcloud-director-25.2019.09.12-14636284.x86_64.rpmvmware-vcloud-director-rhel-25.2019.09.12-14636284.x86_64.rpmvmware-vcloud-director-h5ui-25.2019.09.12-14636284.x86_64.rpmvmware-phonehome-1.0.0-14574960.noarch.rpmdoneVerifying RPM signatures&#8230;doneAn older version of VMware vCloud Director has been detected and will beupgraded to 10.0.0.If you choose to proceed, the installer will stop the vmware-vcd service,back up any configuration files from the previous release and migrate theproduct configuration as necessary.<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Would you like to upgrade now? (y\/n)? <span style=\"background-color:yellow\"><strong>y<\/strong><\/span><br \/>\nUpgrading VMware vCloud Director&#8230;<br \/>\nInstalling the VMware vCloud Director 10.0.0 RPM&#8230;<br \/>\nwarning: vmware-vcloud-director-25.2019.09.12-14636284.x86_64.rpm: Header V3 RSA\/SHA1 Signature, key ID 66fd4949 : NOKEY<br \/>\nPreparing&#8230; ################################# [100%]<br \/>\nUpdating \/ installing&#8230;<br \/>\n1:vmware-vcloud-director-rhel-25.20################################# [ 13%]<br \/>\n2:vmware-vcloud-director-25.2019.09warning: \/opt\/vmware\/vcloud-director\/etc\/global.properties created as \/opt \/vmware\/vcloud-director\/etc\/global.properties.rpmnew<br \/>\n################################# [ 25%]<br \/>\n3:vmware-vcloud-director-h5ui-25.20################################# [ 38%]<br \/>\n4:vmware-phonehome-1.0.0-14574960 ################################# [ 50%]<br \/>\nCleaning up \/ removing&#8230;<br \/>\n5:vmware-phonehome-1.0.0-12611311 ################################# [ 63%]<br \/>\n6:vmware-vcloud-director-h5ui-24.20################################# [ 75%]<br \/>\n7:vmware-vcloud-director-24.2019.03################################# [ 88%]<br \/>\nUpdate completed.<br \/>\n8:vmware-vcloud-director-rhel-24.20################################# [100%]<br \/>\ndone<br \/>\nNo DSA certificates found; disabling DSA ciphers for SSL\/TLS connections. See KB 2056026 for details<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Upgrade installation complete.<br \/>\nNext steps:<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">You will need to upgrade the database schema before starting the<br \/>\nvmware-vcd service. The product upgrade tool should be run only once per<br \/>\nvCloud Director group. The tool may be run with the following command:<br \/>\n\/opt\/vmware\/vcloud-director\/bin\/upgradeRun upgrade script<br \/>\n<\/span><\/p>\n<\/li>\n<li>\n<div><span style=\"font-size:12pt\"><span style=\"font-family:Times New Roman\">Run upgrade script<br \/>\n<strong>\/<\/strong><\/span><span style=\"font-family:Courier New\">opt\/vmware\/vcloud-director\/bin\/upgrade<br \/>\n<\/span><\/span><\/div>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Welcome to the vCloud Director upgrade utility<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Verify that you have a valid license key to use the version of the<br \/>\nvCloud Director software to which you are upgrading.<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">This utility will apply several updates to the database. Please<br \/>\nensure you have created a backup of your database prior to continuing.<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\"><br \/>\nDo you wish to upgrade the product now? [Y\/N] <span style=\"background-color:yellow\"><strong>y<\/strong><\/span><br \/>\nExamining database at URL: jdbc:<a href=\"postgresql:\/\/10.20.55.103:5432\/vcloud?socketTimeout=90\"><span style=\"color:blue; text-decoration:underline\">postgresql:\/\/Postgre-DB.lab:5432\/vcloud?socketTimeout=90<\/span><\/a><br \/>\nThe next step in the upgrade process will change the vCloud Director database schema.<br \/>\nBackup your database now using the tools provided by your database vendor.<br \/>\nEnter [Y] after the backup is complete. <span style=\"background-color:yellow\"><strong>y<\/strong><\/span><br \/>\nRunning 5 upgrade tasks<br \/>\nExecuting upgrade task:<br \/>\nSuccessfully ran upgrade task<br \/>\nExecuting upgrade task:<br \/>\nSuccessfully ran upgrade task<br \/>\nExecuting upgrade task:<br \/>\nSuccessfully ran upgrade task<br \/>\nExecuting upgrade task:<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;.\/Successfully ran upgrade task<br \/>\nExecuting upgrade task:<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;[15]<br \/>\nSuccessfully ran upgrade task<br \/>\nDatabase upgrade complete<br \/>\nUpgrade complete<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Would you like to start the vCloud Director service now? If you choose not<br \/>\nto start it now, you can manually start it at any time using this command:<br \/>\nservice vmware-vcd start<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Start it now? [y\/n] <strong>y<\/strong><br \/>\n<\/span><\/p>\n<p style=\"margin-left: 72pt\"><span style=\"font-family:Courier New; font-size:10pt\">Starting vmware-vcd-watchdog: [ OK ]<br \/>\nStarting vmware-vcd-cell [ OK ]<br \/>\n<\/span><\/p>\n<\/li>\n<\/ol>\n<ul>\n<li>\n<div><span style=\"font-family:Times New Roman; font-size:12pt\">check vCloud HTTPS page<br \/>\n<\/span><\/div>\n<ul>\n<li><span style=\"font-family:Times New Roman; font-size:12pt\">Provider login<br \/>\n<a href=\"https:\/\/vcloud\/provider\/\">https:\/\/vcloud\/provider\/<\/a><br \/>\n<\/span><\/li>\n<li><span style=\"font-family:Times New Roman; font-size:12pt\">Tenant login<br \/>\n<a href=\"https:\/\/vcloud\/tenant\/\">https:\/\/vcloud\/tenant\/<\/a><\/p>\n<p><\/span><\/li>\n<\/ul>\n<\/li>\n<li>\n<div><span style=\"font-family:Times New Roman; font-size:12pt\">Delete VM snapshots.<br \/>\n<\/span><\/div>\n<\/li>\n<\/ul>\n<p><span style=\"font-family:Times New Roman; font-size:12pt\"><br \/>\n<\/span>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check prerequisites, documentation, release notes Documentation: https:\/\/docs.vmware.com\/en\/vCloud-Director\/index.html Release notes: https:\/\/docs.vmware.com\/en\/vCloud-Director\/10.0\/rn\/VMware-vCloud-Director-for-Service-Providers-100-Release-Notes.html API: https:\/\/code.vmware.com\/apis\/553\/vcloud-director Instalation,configuration and upgrade guide: https:\/\/docs.vmware.com\/en\/vCloud-Director\/9.7\/com.vmware.vcloud.install.doc\/GUID-F14315CC-B373-4A21-A3D9-270FFCF0A417.html In my scenario I have CentOS 7 VM where is vCloud director 9.7 running. And another VM where is running PostgreSQL. Step-by-step guide stop vCloud services \/etc\/init.d\/vmware-vcd stop backup vCloud DB. In my case PostgreSQL su &#8211; postgres &hellip; <a href=\"https:\/\/vpxd.dc5.cz\/index.php\/2020\/01\/29\/vmware-vcloud-director-for-service-provider-upgrade-from-9-7-to-10-0\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;VMware vCloud Director for Service Provider upgrade from 9.7 to 10.0&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,24],"tags":[],"class_list":["post-1674","post","type-post","status-publish","format-standard","hentry","category-blog","category-vcloud"],"_links":{"self":[{"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/posts\/1674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/comments?post=1674"}],"version-history":[{"count":4,"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/posts\/1674\/revisions"}],"predecessor-version":[{"id":1712,"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/posts\/1674\/revisions\/1712"}],"wp:attachment":[{"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/media?parent=1674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/categories?post=1674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpxd.dc5.cz\/index.php\/wp-json\/wp\/v2\/tags?post=1674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}