Cloudstack Management Server Installation (4.0.2)


Overview

CloudStack is an open source software cloud controller for building private, public and hybrid IaaS environments. CloudStack lets you pool and manage compute, storage and network resources all from its inviting web interface. In this post I’ll show how to install the management server.

Lets take a look at the high level components of Cloudstack. It very simple consisting of these components:

  • Management Server: [cloud-client]
  • Mysql Server: [mysql-server]
  • Usage Server: [cloud-usage]
  • Agent(KVM): [cloud-agent]

Installed Packages:

  • cloud-python-4.0.2-1.el6.x86_64
  • cloud-scripts-4.0.2-1.el6.x86_64
  • cloud-deps-4.0.2-1.el6.x86_64
  • cloud-server-4.0.2-1.el6.x86_64
  • cloud-aws-api-4.0.2-1.el6.x86_64
  • cloud-client-4.0.2-1.el6.x86_64
  • cloud-utils-4.0.2-1.el6.x86_64
  • cloud-core-4.0.2-1.el6.x86_64
  • cloud-setup-4.0.2-1.el6.x86_64
  • cloud-client-ui-4.0.2-1.el6.x86_64

The components can be separated by Management Server and Agent where they would be installed as such.

  • Management Server: [cloud-client, mysql-server, cloud-awsapi, cloud-usage]
  • Agent Server: [cloud-agent]

Management Server Installation

This process outlines the steps for installing the Cloudstack management server on CentOS 6.x. The Cloudstack management server is supported on other versions of linux but they will not be covered in this document.

  1. Install the linux OS. I start off with CentOS 6.3 x64 minimal.
  2. Upgrade the linux OS [# yum update]
  3. Edit the SELinux configuration file, set “SELINUX=Permissive” [# vi /etc/selinux/config]
  4. Reboot
  5. Configure the cloudstack repo [# vi /etc/yum.repos.d/cloudstack.repo]
  6. Add lines to cloudstack.repo and save the file:
    [cloudstack]
    name=cloudstack
    baseurl=http://cloudstack.apt-get.eu/rhel/4.0/
    enabled=1
    gpgcheck=0
  7. Install Network Time Protocol (NTP) [# yum install ntp -y]
  8. Install Cloudstack components [# yum install cloud-client -y]
  9. Install MySQL server [# yum install mysql-server -y]
  10. Start ntp service [# service ntpd start]
  11. Start database service [# service mysqld start]
  12. Configure NTP service to run at startup [# chkconfig ntpd on]
  13. Configure MySQL service to run at startup [# chkconfig mysqld on]
  14. Setup MySQL password [# mysql_secure_installation]
  15. Use the following options below:
    • enter
    • new password
    • retype password
    • y
    • y
    • y
    • y
  16. Configure the MySQL database for Cloudstack. [# cloud-setup-databases cloud:Y0urPa$$w0rd@localhost --deploy-as=root:Y0urPa$$w0rd]
  17. Setup Cloudstack management [# cloud-setup-management]
  18. Browse to http://servername:8080/client
  19. Login with user:admin, passwd:password

 


1 comment

Add yours
  1. Luis

    Hi

    I am trying you guide but i can’t access the manager with myip:8080/client is like nothing is running, any idea?

    Greetings.

Comments are closed.