This will be the last of 4 parts. In Part 1, Part 2 and Part 3 we’ve installed all stuff needed to get the vCloud director up and running. That’s all except one…. vShield. So let’s get that up and running first:

As with the installation of the vyatta router, the vShield manager software comes as a ova file intended for a ESX environment. So we need to use the OVFtool again to get a format suitable for VMware workstation. Because i’m using a Windows 7 machine this will doen through the command prompt:

Make sure you’ll start a CMD with administrative rights and go to the which contains the ovftool. Once there execute the following line: ovftool.exe “path_to_the_OVF_file” “path_to_folder_for_vShield_files”

2

The files will be extracted and placed in the folder you’ve provided in the cmd line. Go to that folder\VSM and doubleclick on the vmx file

4

The Files will be imported into the workstation environment, creating a new VM. Go to the newly created VM and click Power on this VM (check if all devices are correct) 5

The VM will fire up and come to an hold at the following line: Localhost login: Type admin and press enter. Supply the password (the password is default)

6

At the manager> line enter enable and press enter. You’ll have to provide the password again (default) and at the manager# line enter setup and press enter. After this you’ll have to provide a couple of settings (IP Address, Subnet Mask, Default Gateway, Primairy DNS, Secondary DNS, DNS domain searc list) click Y to save the config.

7

exit out of the manager, and the installation of vShield is done. Let’s check if all is working well. Open a webbrowser and surf to https://172.24.0.14 log in with admin and the default password.

8

We should now add the vCenter server (add the administrator account and password) and click save

9

Your vCenter server will become visible and your done with the installation of vShield (I wil’l not be discussing the different settings of vShield in this post. Maybe in a later post ;-))

Installing vCloud Director

The last thing we need to install is the vCloud Director software which we’ll do on the already installed CentOS system.

1

Copy the vmware-cloud-director-1.0.1-356485.bin file to a folder in the CentOS VM (I copied it to my Desktop)

2

Open a terminal and make sure you’ve got root privilege. Navigate to the folder which contains the vmware-cloud-director-1.0.1-256485.bin file and execute the following line: chmod +x vmware-cloud-director-1.0.1-356485.bin

3

After you did the chmod, we’ll have to execute the bin file. This can be done by entering the following line ./vmware-cloud-director-1.0.1-256485.bin and press enter. When asked type y and press enter.

4

The installation of the vCloud Director will start and after a while asks if you would like to run the script now? Enter n and press enter

4a

We now first need to create self signed certificates, in the terminal window navigate to /etc and type the following line:

/opt/vmware/cloud-director/jre/bin/keytool -keystore certificates.ks -storetype JCEKS -storepass password -genkey -keyalg RSA -alias http

answer the questions and answer yes after the is …. correct? then provide a Password (twice) and do the same process with the following line:

/opt/vmware/cloud-director/jre/bin/keytool -keystore certificates.ks -storetype JCEKS -storepass password -genkey -keyalg RSA -alias consoleproxy

5

Do an ls commando in the etc folder and check if certificates.ks is created.

6

After we’ve created the certificates.ks we can continue with the installation of the vCloud Director. Type the following:

/opt/vmware/cloud-director/bin/configure and press enter

Select the number that indicates the IP address of your internal network (1 in my case) and press enter

7

Press enter for the ip address for the remote console proxy

8

Enter the path to the keystore (/etc/certificates.ks) and enter the keystore password (this is the storepass setting which was password) and press enter

9

Enter the private key passwords and press enter press enter when asked about the syslog host name (or provide the FQDN/IP when you have one) and provide the IP address of the host (can be 127.0.0.1) press enter for the default 1521 port, and xe for the databse service name. Provide your databse username and password and the installation will continue

10

when asked to start the vCloud Director now? enter y and press enter. In my case I needed to reboot the Vm to get the service up and running….

11

Open a browser and browse to https://IP-address/FQDN_of_the_vCloud_director_server the VMware Cloud Director setup will launch > click next at the welcome screen

12

Select Yes, I accept the terms in the license agreement and click next

13

Enter the license key which VMware provided with the trial download

14

Enter a Sytem name and installation ID (keep the default) and click Next

15

Check all settings and press Finish

16

Login the account just created

17

Click attach a vCenter

18

Provide the FQDN/IP address, Port Number, User name, and vCenter name and click Next

19

Provide the FQDN/IP address for the vShield manager (make sure that vShield is added to your DNS, as well as vCloud Director) add the username (admin) and password (default) and press Next, and then click Finish

20

Congratulations 😉 you’ve just created your first vCD Cell.

Be sure to look at these site for more information:

VMware: http://www.vmware.com/solutions/cloud-computing/private-cloud/products.html

Duncan’s blog: http://www.yellow-bricks.com

Chris Colotti’s blog: http://www.chriscolotti.us

Thanks for the visit! And all comments are welcome!