First vCloud Cell:
1. turn off firewall and selinux, set up NTP to sync time, set up SQL database for vcloud 2. run ./vmware-vcloudxxx.bin,and when it asks to run the script,enter N then press enter to exit out of the installer 3. Mount the transfer nfs folder to your new vCloud Director server by editing your /etc/fstab on your new vCloud Director server by adding the following line: example: nfs_server:/vcloud-share /opt/vmware/vcloud-director/data/transfer nfs defaults 0 0 4. Save your /etc/fstab then run the following command: mount –a 5. Change the permissions of the transfer folder: chown -R vcloud:vcloud /opt/vmware/vcloud-director/data/transfer chmod -R 750 /opt/vmware/vcloud-director/data/transfer 6. Create the SSL Certificates, default: /opt/vmware/vcloud-director/etc cd /opt/vmware/vcloud-director/etc keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -keyalg RSA -alias http keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -keyalg RSA -alias consoleproxy keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -certreq -alias http -file http.csr keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -certreq -alias consoleproxy -file consoleproxy.csr note: When keytoolasks for your first and last name, type the fully qualified domain name associated with the IP address you want to use for the HTTP and console proxy service. 7. here, we use Windows 2008 R2 CA, http://server_name/certsrv first download CA root certificate as root.cer for http.csr: advanced enrollment, web server template, save as base64 code with http.cer for consoleproxy.csr: advanced enrollment, web server template, save as base64 code with consoleproxy.cer 8. keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -import -alias root -file root.cer keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -import -alias http -file http.cer keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -import -alias consoleproxy -file consoleproxy.cer keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -list 9. Continue the installation /opt/vmware/vcloud-director/bin/configure 10. Setting up Sysprep for Windows Guests using VM_advanced ISO /opt/vmware/vcloud-director/deploymentPackageCreator/createSysprepPackage.sh /tmp/02-vCloudSysprep 11. Setup vShield Manager 12. Start Configuration! https://vcloud-server Second vCloud Cell: 1. turn off firewall and selinux 2. run ./vmware-vcloudxxx.bin,and when it asks to run the script,enter N then press enter to exit out of the installer 3. Mount the transfer nfs folder to your new vCloud Director server by editing your /etc/fstab on your new vCloud Director server by adding the following line: example: nfs_server:/vcloud-share /opt/vmware/vcloud-director/data/transfer nfs defaults 0 0 4. Save your /etc/fstab then run the following command: mount –a 5. Change the permissions of the transfer folder: chown -R vcloud:vcloud /opt/vmware/vcloud-director/data/transfer chmod -R 750 /opt/vmware/vcloud-director/data/transfer 6. Create the SSL Certificates, default: /opt/vmware/vcloud-director/etc cd /opt/vmware/vcloud-director/etc keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -keyalg RSA -alias http keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -genkey -keyalg RSA -alias consoleproxy keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -certreq -alias http -file http.csr keytool -keystore certificates.ks -storetype JCEKS -storepass passwd -certreq -alias consoleproxy -file consoleproxy.csr note: When keytoolasks for your first and last name, type the fully qualified domain name associated with the IP address you want to use for the HTTP and console proxy service. 7. here, we use Windows 2008 R2 CA, http://server_name/certsrv first download CA root certificate as root.cer for http.csr: advanced enrollment, web server template, save as base64 code with http.cer for consoleproxy.csr: advanced enrollment, web server template, save as base64 code with consoleproxy.cer 8. keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -import -alias root -file root.cer keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -import -alias http -file http.cer keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -import -alias consoleproxy -file consoleproxy.cer keytool -storetype JCEKS -storepass passwd-keystore certificates.ks -list 9. Copy your response.properties file from your first vCloud Director server found on /opt/vmware/vcloud-director/etc. I have copied mine to the /tmp on the second vCloud Director Server, then chown vcloud:vcloud /tmp/response.properties 10. Continue the installation /opt/vmware/vcloud-director/bin/configure –r /tmp/responses.properties 11. on first cell, we need to copy sysprep files to each of our vCloud Cells so do this for every cell scp /opt/vmware/cloud-director/guestcustomization/vcloud_sysprep.properties /opt/vmware/cloud-director/guestcustomization/windows_deployment_package_sysprep.cab root@next_cell_IP:/opt/vmware/cloud-director/guestcustomization 12. reboot