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”
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
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)
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)
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.
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.
We should now add the vCenter server (add the administrator account and password) and click save
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.
Copy the vmware-cloud-director-1.0.1-356485.bin file to a folder in the CentOS VM (I copied it to my Desktop)
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
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.
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
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
Do an ls commando in the etc folder and check if certificates.ks is created.
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
Press enter for the ip address for the remote console proxy
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
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
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….
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
Select Yes, I accept the terms in the license agreement and click next
Enter the license key which VMware provided with the trial download
Enter a Sytem name and installation ID (keep the default) and click Next
Check all settings and press Finish
Login the account just created
Click attach a vCenter
Provide the FQDN/IP address, Port Number, User name, and vCenter name and click Next
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
Congratulations 😉 you’ve just created your first vCD Cell.
Be sure to look at these site for more information:
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!
To get the vCloud Director up and running you’ll need to use an oracle database. While not supported by VMware, the Oracle 10g Express database can be used to get vCloud up and running. Because we have to use the oracle database anyways, i decided to use it for my vCenter server as well.
There is a great post by Duncan Epping (www.yellow-bricks.com) about what steps need to performed to get the vCloud Director installed within CentOS. Most of the steps done in this post come from this post. So let’s start with the installation of CentOS 5.5.
I already installed a router (see this post) and installed a AD/DNS environment. I will not cover the installation of the AD/DNS environment or the install of Windows Server. I also installed Windows Server 2008 R2 and vCenter. In vCenter I created a datacenter and added the ESXi hosts.
For the installation of the VMware vCloud Director we need a installation of CentOS 5.5 and Oracle 10g Express:
- The CentOS 5.5 install iso. Download here (be sure to download the full installation files. NOT the liveCD…)
- The Oracle 10g Express rpm. Download here
The following pdf files are step by step installation guides for installing the CentOS VM and oracle 10g Express
Step-by-Step installation of CentOS 5.5 in Workstation 7.1
Step-by-Step installation of the Oracle 10g Express database
When you’ve performed this steps, all systems are ready….. For vShield and vCloud Director installation.
See you at Part 4 😉