5.1

Table Of Contents
Example: Creating Self-Signed Certificates
Both of these examples assume a keystore at /tmp/cell.ks that has the password kspw. This keystore is created
if it does not already exist.
This example creates the new certificates using the defaults. The issuer name is set to CN=Unknown. The certificate
uses 1024-bit encryption and expires one year after creation.
[root@cell1 /opt/vmware/vcloud-
director/bin]# ./cell-management-tool generate-certs -o /tmp/cell.ks -w kspw
New keystore created and written to /tmp/cell.ks.
This example creates the new certificates using custom values for key size and issuer name. The issuer name
is set to CN=Test, L=London, C=GB. The certificate uses 2048-bit encryption and expires 90 days after creation.
[root@cell1 /opt/vmware/vcloud-
director/bin]# ./cell-management-tool generate-certs -o /tmp/cell.ks -w kspw
-i "CN=Test, L=London, C=GB" -s 2048 -x 90
New keystore created and written to /tmp/cell.ks.
Recovering the System Administrator Password
If you know the vCloud Director database username and password, you can use the recover-password
command of the cell management tool to recover the vCloud Director system administrator password.
With the recover-password command of the cell management tool, a user who knows the vCloud Director
database username and password can recover the vCloud Director system administrator password.
To recover the system administrator password, use a command line with the following form:
cell-management-tool recover-password
options
Table 3-5. Cell Management Tool Options and Arguments, recover-password Subcommand
Option Argument Description
--help (-h) None Provides a summary of available
commands in this category.
--dbuser
The user name of the
vCloud Director database
user.
Must be supplied on the command
line.
--dbpassword
The password of the
vCloud Director database
user.
Prompted for if not supplied.
Upgrade vCloud Director Software on Any Member of a Server Group
The vCloud Director installer verifies that the target server meets all upgrade prerequisites and upgrades the
vCloud Director software on the server.
vCloud Director software is distributed as a Linux executable file named vmware-vcloud-director-5.1.0-
nnnnnn.bin, where nnnnnn represents a build number. After the upgrade is installed on a member of a server
group, you must run a tool that upgrades the vCloud Director database that the group uses before you can
restart vCloud Director services on the upgraded server.
Prerequisites
n
Verify that all organizations in the system that contain an organization network also contain an
organization vDC. Because the upgrade process converts existing organization networks to organization
vDC networks, organizations that contain organization networks but do not contain an organization vDC
cannot be upgraded, and the database upgrade fails.
vCloud Director Installation and Upgrade Guide
42 VMware, Inc.