vCloud Director 9.1: Install vCloud Director – Part 2


At first, we need to prepare the virtual machine we are going to deploy the first cell. These are the characteristics of the virtual machine.

  • O.S: CentOS 7 (64-bit)
  • vCPU: 2
  • RAM: 16 GB
  • HDD: 16 GB
  • IP: 10.161.115.165 (Used for HTTP)
  • IP: 10.161.115.166 (Used for Proxy Console)

Next, we need to prepare the operating system with the following packages.

# yum install alsa-lib bash chkconfig coreutils findutils glibc grep initscripts 
krb5-libs libgcc libICE libSM libstdc libX11 libXau libXdmcp libXext libXi libXt 
libXtst module-init-tools net-tools pciutils procps redhat-lsb sed tar which wget

And them, we need to install the lastest operating system updates.

# yum update

And finally, we need to stop and disable the operating system firewall to avoid communication issues.

# systemctl stop firewalld

# systemctl disable firewalld

Second, follow the next steps to deploy the vCloud Director 9.1.

1. Copy the installation file using winSCP.

01

2. Ensure execute permission.

# chmod u+x vmware-vcloud-director-distribution-9.1.0-8825802.bin

3. Run the installation file.

# ./vmware-vcloud-director-distribution-9.1.0-8825802.bin

Note: After the software is installed, the installer prompts you to run the configuration scritp, which configures Certificates, Server’s network and database connections.

In this case, choose n and before to execute the script we must configure the certificates.

02

Third, follow the next steps to create a Self-Signed SSL Certificate.

1. Go to the directory /opt/vmware/vcloud-director/jre/bin.

2. Execute the following commands to generate the Self-Signed SSL Certificates.

  • For HTTP service
# ./keytool -keystore certificates.ks -alias http -storepass passwd -keypass passwd -storetype JCEKS -genkeypair -keyalg RSA -keysize 2048 -validity 365 -dname "CN=vcd01-prd.example.com, OU= Engineering, O=Example Corp, L=Palo Alto, S=California, C=US" -ext "san=dns:vcd01-prd.example.com,dns:vcd01-prd,ip:10.161.115.165"
  • For Console Proxy service
# ./keytool -keystore certificates.ks -alias consoleproxy -storepass passwd  -keypass passwd -storetype JCEKS -genkeypair -keyalg RSA -keysize 2048 -validity 365  -dname "CN=vcd01-proxy-prd.example.com, OU=Engineering, O=Example Corp, L=Palo Alto, S=California, C=US" -ext "san=dns:vcd01-proxy-prd.example.com,dns:vcd01-proxy-prd,ip:10.161.115.166"

3. Verify that all the certificates are generated, list the context of the keystore file.

# ./keytool -storetype JCEKS -storepass passwd -keystore certificates.ks -list

03

 

 

 

4. Validate the certificates using WinSCP in the following directory /opt/vmware/vcloud-director/jre/bin.

04

5. Important: Copy the certificates in a directory in which must be readable by the user vcloud.vcloud. The vCloud Director installer creates this user and group. In this case ‘/opt/vmware/‘.

05

Fourth, Follow the next steps to configure vCloud Director Cell.

1. Run the following comand to execute the configuration utility.

# /opt/vmware/vcloud-director/bin/configure

2. Select the IP address to the HTTP service.

06

3. Select the IP address to the remote console proxy.

07

4. Select the path where you copied the certificates in the previous point 5 ‘/opt/vmware/’.

05

08

5. Configure the database you deployed in the previous post vCloud Director 9.1: Install and Configure Database – Part 1 and join the VMware Customer Expirience Improvement Program.

10

6. Finally start the services and access to setup vCloud Director.

11

Fifth, Follow the steps below to initialize vCloud Director.

1 . Go to the URL and click next.

12

2. Accept the terms.

13

3. Configure the license key and click next.

14

4. Configure administrator account and contact information.

15

5. Configure the system.

16

6. Confirm the resume.

17

7. Finally you are ready to login to vCloud Director.

18

Hoping you have enjoyed this post, see you next time.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s