These are the instructions that I keep on hand for installing Cloudstack management. I never had a problem on KVM with 4.2 or .3 and then we moved to XenServer with 4.3 and had no problems and then moved to 4.4.0 with no problems and then when I went to 4.4.1 on the first day we had problems. Since then I have reinstalled my hypervisors and they are sitting ready and I have 2 new fresh VM's for my management on a separate XenServer cluster. What I would like for someone to do is basically look over and make sure I'm not missing anything. The last install never launched the system VM's and I was having an error with the management server not being able to get a status from the hypervisors. Also upon looking into the logs I found that I was having some errors with the load balancing of my MySQL cluster. I think I have worked out the kinks in that and I am going to redeploy today.
Big question should I go back to 4.3 or go to 4.4.2? I built my own packages for 4.4.2 with Marvin and it was a good time. No failures so I'm assuming that their ok to use? I can use shapeblues packages if I need to. I just need a stable working cloud. Suggestions welcomed. Cloudstack 4.4 Management Server Setup We will be installing Cloudstack 4.4.? on centos 6.5 using XenServer 6.2 as our hypervisor for the management cluster as well as the hypervisor hosts. Create a VM with 2048mb of ram and 2 vcpu with a 32GB disk. Boot the VM off of the Centos 6.5 64bit network install cd. You will need the address of the VM from your administrator. Once the vm is at the installer prompt you may tell it to skip check the disk as it has been test many times before. Choose the defaults until you get to the where would you like to install from. When asked for where is the cd chose url and use the following: http://mirror.charlottecolo.com/CentOS/6.5/os/x86_64 Enable ipv4 and set to manual, disable ipv6 as we do not support it at the moment. Choose "Basic Storage Options" On file system layout chose use all existing space if you would like to completely use all of the disk. You may choose another option if it suits the intended purpose if the server better. When you are asked what type of install chose "minimal" and allow it to install your package set. Once the server is installed allow it to reboot and when it returns to the login prompt login and shut the server down. We will now change the cd to the xs-tools.iso to install XenServer tools. Now start the server, when the server is back to a login prompt login and run the following commands to load the xen tools mkdir /media/cdrom mount /dev/xvdd /tmp cd /tmp/Linux && ./install.sh Choose yes to install and reboot. You have now successfully installed xen tools and the server is read to provision. Cloudstack Management Setup We need to add "Grant" to the mysql database that is hosting the cloud DB. >From your MySQL prompt run the following query. GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' with GRANT option; SET PASSWORD FOR 'root'@'%' = PASSWORD('<password>'); We will now need add the hosts file for name resolutions as we do not have default internal name servers yet. But first we will need to install "nano" for our editor yum -y install nano && nano /etc/hosts paste hosts from stored file. Now we add and enable a Cloudstack repo nano /etc/yum.repos.d/cloudstack.repo [cloudstack] name=cloudstack baseurl=http://cloudstack.apt-get.eu/rhel/4.4/ enabled=1 gpgcheck=0 Next we need to set the SELINUX to permissive. nano /etc/selinux/config set to permissive and reboot We need to install and enable NTP and rbcbind on all servers. yum install ntp -y chkconfig ntpd on yum install nfs-utils -y service nfs start chkconfig nfs on yum install MySQL -y Now we can install the management and usage server and update the system. yum -y install cloudstack-management cloudstack-usage Before we add the hypervisors we need to run this from all management servers. cd /usr/share/cloudstack-common/scripts/vm/hypervisor/XenServer/ wget http://download.cloud.com.s3.amazonaws.com/tools/vhd-util Now we will deploy the database cloudstack-setup-databases cloud:passw...@havipsql.pvdc.chlt.charlottecolo.com --deploy-as=root:password To install secondary management servers you run cloudstack-setup-databases cloud:passw...@havipsql.pvdc.chlt.charlottecolo.com Now we run the command cloudstack-setup-management to complete the management server install. We have to have the SystemVM templates on seconday storage, cloud templates only need to be done from one management server "once". mkdir /mnt/secondary mount -t nfs cstss1.pvdc.chlt.charlottecolo.com:/var/cstss1-2 /mnt/secondary We now need to download the Cloudstack templates /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmp lt -m /mnt/secondary -u http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.1-7-xen.vhd .bz2 -h XenServer -s -F Now we can start and enable the services service cloudstack-management start service cloudstack-usage start chkconfig cloudstack-management on ckhconfig cloudstack-usage on The management server takes a moment to boot and you can watch it in the logs with this command. tail -f /var/log/cloudstack/management/management.log To just watch for errors you can run this all on one line. tail -f /var/log/cloudstack/management/management.log | grep -i -E 'exception|unable|fail|invalid|leak|warn|error' Once the service has been started you my browse to http://servername:8080/client Login with user:admin, passwd:password You will be prompted to use the wizard or " I have used Cloudstack before" We will be choosing " I have used cloudstack before" as we are using Advanced networking with Vlans.