cloudstack 4.3
Cloudstack is an opensource Cloud platform which is robust as well as its rich features enables it to work in both Public and private cloud. Over the years its installation has become easier and easier and I was curious to check the new 4.3 version. As hypervisor I have used XEN but there are other options as well such as KVM, VMware, Hyper-V, LXC. Although its installation is pretty straight forward but here it goes:
I have deployed it in CentOS 6.5 server. I will update the details of steps:
hostname –fqdn
Check the hostname (fully qualified domain name)
If it doesn’t show the hostname then edit the name in /etc/hosts and insert the line.
172.19.10.7 hostname.domain.com
update the server repository
yum update -y
nano /etc/yum.repos.d/cloudstack.repo
[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/rhel/4.3/
enabled=1
gpgcheck=0
yum install ntp -y
service ntpd start
nano /etc/selinux/config
set SElinux to permissive
reboot
yum install cloudstack-management -y
yum install mysql-server -y
chkconfig mysqld on
nano /etc/my.cnf
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = ‘ROW’
service mysqld restart
wget http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
mv vhd-util /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/
chmod +x /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util
mysql_secure_installation
mount 172.19.10.14:/storage/secondary /mnt/secondary/ -o nolock
cloudstack-setup-databases cloud:password@localhost –deploy-as=root:password
cloudstack-setup-management
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2 -h xenserver -F

Leave a Reply

Your email address will not be published. Required fields are marked *