vCloud Director 9.1: Install vCloud Director Second Node – Part 6


At first, we need to prepare the virtual machine we are going to deploy the Second 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.167 (Used for HTTP)
  • IP: 10.161.115.168 (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=vcd02-prd.example.com, OU= Engineering, O=Example Corp, L=Palo Alto, S=California, C=US" -ext "san=dns:vcd02-prd.example.com,dns:vcd02-prd,ip:10.161.115.167"
  • 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=vcd02-proxy-prd.example.com, OU=Engineering, O=Example Corp, L=Palo Alto, S=California, C=US" -ext "san=dns:vcd02-proxy-prd.example.com,dns:vcd02-proxy-prd,ip:10.161.115.168"

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 mount shared NFS we already created in the last posts.

1. we need to mount the shared NFS by runing this command.

# mount -t nfs 10.161.115.160:/nfs /opt/vmware/vcloud-director/data/transfer

And them we need to make sure the shared NFS is mounted after reboot by editing /etc/export.

# nano /etc/export

10.161.115.160:/nfs /opt/vmware/vcloud-director/data/transfer/ nfs rw 0 0

02

Fifth, Follow the next steps to configure Second vCloud Director Cell.

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

# /opt/vmware/vcloud-director/bin/configure -r /tmp/responses.properties

2. Select the IP address to the HTTP service and Select the IP address to the remote console proxy.

05

Sixth, Follow the steps below to validate second vCloud Director node.

1 . validating vCloud Diretor Node.

06

 

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