vCloud Director Installation Pre-requisites

This blog post is not about vCloud Director installation rather working out the pre-requisites which are hard to work on if you are not from a Linux background:

1) Installing Red Hat 5.x on a Virtual Machine must be straight forward, but if you still need a step by step instructions with screenshots then follow the link here

2) Installation of VMware Tools is required if you provide vmxnet3 NICs to your VM.

Click VM in the virtual machine menu, then click Guest > Install/Upgrade VMware Tools and click OK

mkdir /mnt/cdrom

mount /dev/cdrom /mnt/cdrom

rpm -ivh /mnt/cdrom/VMwareTools-<version>.rpm

Where <version> is the version of VMware Tools you want to install

To check the existing version of VMware Tools, use the “cd” command to go to /mnt/cdrom/ directory and list the contents of the directory with the command # ls.

/usr/bin/vmware-config-tools.pl

umount /mnt/cdrom

You can even follow VMware’s KB article here and here

3) Changing IP addresses on eth0 and eth1 interfaces is easy if you have used the VI editor before, or just follow this link here

4) Database creation is again easy as it is mentioned in the VMware documentation, run those scripts as is, just by changing some values i.e. the path to your Database, DB name and login credentials

5) Create SSL certificates, this can be a little tricky if you have not done this before:

There are 2 ways to do it:

a) Either create them on a separate machine and copy them over, which is a little tricky and tedious

b) use the keytool provided by vCloud Director installation.

The question is, How do I actually use the keytool before even installing vCloud director?

Well its simple! you need to install (by running the installation command provided in the VMware documentation) the vCloud Director and “DO NOT CONFIGURE IT”

Once the installation is done, browse to /opt/vmware/cloud-director/jre/bin/ and type these commands:

keytool -keystore certificates.ks -storetype JCEKS -storepass password -genkey -keyalg RSA -alias http -keypass [password]

&

keytool -keystore certificates.ks -storetype JCEKS -storepass password -genkey -keyalg RSA -alias consoleproxy -keypass [password]

Remember, you will need to enter some information manually, they are self explanatory and should be easy to enter

once you have generated the certificates, the run the vCloud Configuration i.e. /opt/vmware/vcloud-director/bin/configure and follow the onscreen instructions

6) Accessing the vCloud Director Portal from the vCloud Director server requires you to install the Flash Plug in. Just follow these steps below to install Flash plugin on the Linux box:

download “flash-plugin-11.2.202.238-release.x86_64.rpm” (check for latest release on the Adobe website) and move the rpm package onto any folder on the vcloud director server

Browse to the location onto which you moved the rpm package and run  “rpm -ivh flash-plugin-11.2.202.238-release.x86_64.rpm” and wait for it to install”

Please let me know if anything is missing or can be reworded with proper steps and bullet points.