Private Cloud Setup Step by Step Using Apache Cloud Stack
Private Cloud Setup Step by Step Using Apache Cloud Stack
Now I will show how to private cloud setup step by step using open source could computing Apache
Cloud Stack. Apache Cloud Stack is a strong cloud computing at this time. This has various environments
like small private cloud and large cloud system using Cloud Stack.
First see full network model for private cloud using Apache Cloud Stack.
Network: 192.168.200.x/24
Installation process:
1. Cloud Stack management server install.
2. Storage server install (NFS).
3. KVM server install.
4. NFS connection and systemvm download with create basic zone.
5. Firewall setup for all servers.
6. NTP install for all servers.
7. Apache Cloud Stack Upload iso.
8. Create Instance on CloudStack.
All firewall service stop and disable. Only use iptables for firewall all servers.
Reboot Cloud Stack management server for change selinux status otherwise not install Cloud
Stack service.
To turn Chrony into the NTP cleint add the following line into the main Chrony
/etc/chrony.conf configuration file. Change the IP address accordingly to point to your local
Chrony NTP server:
Server 192.168.1.150
Restart Chrony NTP daemon to apply the changes:
# systemctl restart chronyd
Check for NTP server sources. Your local NTP server should be listed:
# chronyc sources
Check NTP client list on the NTP server:
# chronyc clients
[cloudstack]
name=cloudstack
baseurl=http://cloudstack.apt-get.eu/centos/$releasever/4.15/
enabled=1
gpgcheck=0
Increase some config like timeout maximum connection. Add all line into my.cnf file.
=================================================================
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = 'ROW'
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Example below:
[mysqld]
Setup myql root password from mysql terminal. By default not setup root password. So must be
setup mysql root password before start Apache Cloud Stack management server.
Restart mysql service then install Apache Cloud Stack management service.