You can upgrade all cells in the server group together with the shared database by running the VMware Cloud Director installer with the --private-key-path option.
You can use the VMware Cloud Director installer for Linux to upgrade a VMware Cloud Director server group that consists of VMware Cloud Director installations on a supported Linux OS. If your VMware Cloud Director server group consists of VMware Cloud Director 9.5 appliances deployments, you use the VMware Cloud Director installer for Linux to upgrade your existing environment only as part of the migration workflow. See Upgrading and Migrating the VMware Cloud Director Appliance.
VMware Cloud Director for Linux is distributed as a digitally signed executable file with a name of the form vmware-vcloud-director-distribution-v.v.v-nnnnnn.bin, where v.v.v represents the product version and nnnnnn the build number. For example: vmware-vcloud-director-distribution-8.10.0-3698331.bin. Running this executable installs or upgrades VMware Cloud Director.
When you run the VMware Cloud Director installer with the --private-key-path option, you can add other command options of the upgrade utility, for example, --maintenance-cell. For information about the database upgrade utility options, see Database Upgrade Utility Reference.
Verify that your VMware Cloud Director database, the vSphere components, and the NSX components are compatible with the new version of VMware Cloud Director.Important: If your existing VMware Cloud Director installation uses an Oracle database or a Microsoft SQL Server database, verify that you migrated to a PostgreSQL database before the upgrade. For the possible upgrade paths, see Upgrading VMware Cloud Director on Linux.
Verify that you have superuser credentials for the target server.
If you want the installer to verify the digital signature of the installation file, download and install the VMware public key on the target server. If you already verified the digital signature of the installation file, you do not need to verify it again during installation. See Download and Install the VMware Public Key.
- Verify that you have a valid license key to use the version of the VMware Cloud Director software to which you are upgrading.
- Verify that all cells permit SSH connections from the superuser without a password. To perform a verification, you can run the following Linux command:
sudo -u vcloud ssh -i private-key-path root@cell-ipThis example sets your identity to
vcloud, then makes an SSH connection to the cell at cell-ip as root but does not supply the root password. If the private key in private-key-path on the local cell is readable by user
vcloud.vcloudand the corresponding public key is present in the authorized-keys file for the root user at cell-ip the command succeeds.Note:
vcloud.vcloudaccount are created by the VMware Cloud Director installer for use as an identity with which VMware Cloud Director processes run. The
vclouduser has no password.
- Verify that you all ESXi hosts are enabled. Starting with VMware Cloud Director 9.5, disabled ESXi hosts are unsupported.
- Verify that all servers in the server group can access the shared transfer server storage. See Preparing the Transfer Server Storage for VMware Cloud Director on Linux.
- If your VMware Cloud Director installation uses an LDAPS server, to avoid LDAP login failures after the upgrade, verify that you have a properly constructed certificate for Java 8 Update 181. For information, see the Java 8 Release Changes at https://www.java.com.
- Log in to the target server as root.
- Download the installation file to the target server.
If you purchased the software on media, copy the installation file to a location that is accessible to the target server.
- Verify that the checksum of the download matches the checksum posted on the download page.
Values for MD5 and SHA1 checksums are posted on the download page. Use the appropriate tool to verify that the checksum of the downloaded installation file matches the checksum shown on the download page. A Linux command of the following form displays the checksum for installation-file.
[root@cell1 /tmp]# md5sum installation-fileThe command returns the installation file checksum that must match the MD5 checksum from the download page.
- Ensure that the installation file is executable.
The installation file requires execute permission. To be sure that it has this permission, open a console, shell, or terminal window and run the following Linux command, where installation-file is the full pathname to the VMware Cloud Director installation file.
[root@cell1 /tmp]# chmod u+x installation-file
- In a console, shell, or terminal window, run the installation file with the --private-key-path option and the pathname to the private key of the target cell.
You can add other command options of the database upgrade utility.
./installation-file --private-key-path /vcloud/.ssh/id_rsaNote: You cannot run the installation file from a directory whose pathname includes any embedded space characters.
The installer detects an earlier version of VMware Cloud Director and prompts you to confirm the upgrade.
If the installer detects a version of VMware Cloud Director that is equal to or later than the version in the installation file, it displays an error message and exits.
- Enter y and press Enter to confirm the upgrade.
- Verifies that the current cell host meets all requirements.
- Unpacks the VMware Cloud Director RPM package.
- Upgrades VMware Cloud Director software on the current cell.
- Upgrades the VMware Cloud Director database.
- Upgrades VMware Cloud Director software on each of the remaining cells, then restarts VMware Cloud Director services on the cell.
- Restarts VMware Cloud Director services on the current cell.