Containers Expo Blog Authors: Pat Romanski, Elizabeth White, Liz McMillan, Yeshim Deniz, Ravi Rajamiyer

Related Topics: Containers Expo Blog, Microservices Expo, Agile Computing, @CloudExpo

Containers Expo Blog: Tutorial

Easy Install of Cloudstack on Defunct Hardware for a Home Lab

Installing Cloudstack in less than an hour

To learn more about Cloud IaaS offerings, I painlessly setup Cloudstack, from Citrix, on two (outdated and defunct) DELL Optiplex 740 desktop computers.

Each desktop is configured with 8GB of memory and the processors are VT compatible (meaning they can run virtualization technology software – a hypervisor).

At first attempt, the Cloudstack software would not recognize the internal disk drives. Thinking that my old hardware would not run cloudstack, I researched the non-descript error and decided that the installer was not able to detect the disks because of the pre-existing software installed.

Thus I proceeded as follows to create clean disks:

  • I created a “live CD”, a bootable CD, with partitioning software.
  • I booted each DELL from the “live CD” and deleted the partitions on the disk.

Install the Hypervisor XENSERVER on Dell 1

  1. IP address ( and hostname (xenserver.local) ready
  2. Download XenServer 6.0.2
  3. Boot from CD
  4. Select a keyboard layout
  5. Accept the license
  6. Skip the disk check
  7. Set a root password
  8. Enter IP information for the network card
  9. Select the timezone
  10. Select “install XENSERVER”

After the install, output should look like:

[[email protected] ~]# uname -a

Linux xenserver.local #1

Install the Cloudstack Manager on Dell 2

  1. I created a CD of Centos6 using the minimal download
  2. Booted the DELL from the Centos CD and performed a basic install, ensuring that I configured a static IP address ( and FQDN(cloudstack.local).
  3. Thus my output of “uname –a” is: Linux cloudstack.local 2.6.32-220.17.1.el6.x86_64
  4. I set the enforcing level of Linux to “permissive” by editing the file “vi /etc/selinux/config” and running the command r[email protected] ~]# setenforce permissive
  5. Disable the firewall [[email protected] ~]# service iptables stop and [[email protected] ~]#chkconfig iptables off

8. I installed wget

[email protected] ~]# yum install wget

9. I updated the OS

[email protected] ~]#yum update

10. From the Centos shell I downloaded Cloudstack

[email protected] ~]wget: http://sourceforge.net/projects/cloudstack/files/CloudStack%20Acton/3.0.2/CloudStack-oss-3.0.2-1-rhel6.2.tar.gz/download

11. unzipped the download

[[email protected] ~]# tar xvf CloudStack-oss-3.0.2-1-rhel6.2.tar.g

12. Started the installer:

a. [[email protected] ~]# cd CloudStack-oss-3.0.2-1-rhel6.2

b. [[email protected] ~]# ./install.sh

c. Enter “M” for the Management server

d. [[email protected] ~]#service rpcbind start [[email protected] ~]#chkconfig rpcbind on

e. [[email protected] ~]#service nfs start [[email protected] ~]#chkconfig nfs on

13. Setup MySQL :

a. Rerun the installer: [[email protected] ~]# ./install.sh

b. Select “D” for database

c. [[email protected] ~]# vi /etc/my.cnf so that it looks like this:

binlog-format = 'ROW'
# Disabling symbolic-links is recommended to prevent assorted security risks

d. [[email protected] ~]# service mysqld restart

e. [[email protected] ~]# mysql -u root

f. Create a password:

i. mysql> SET PASSWORD =  PASSWORD (‘password’);

g. Setup the databases

i. [[email protected] ~]# cloud-setup-databases cloud:[email protected]localhost --deploy-as=root:”password”

14. Setup the cloud manager

a. [[email protected] ~]# cloud-setup-management

15. Setup NFS sharing:

a. [[email protected] ~]# more /etc/exports

/export	*(rw,async,no_root_squash)


b. [[email protected] ~]# exportfs –a

c. create mountpoints

i. [[email protected] ~]# mkdir -p /export/primary

ii. [[email protected] ~]# mkdir -p /export/secondary


16. Setup the cloud template:

a. # /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt –m

b. # /export/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-

c. # /usr/lib64/cloud/agent/scripts/storage/secondary/cloud-install-sys-tmplt -m /export/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2 -h xenserver -F

17. Login to the UI


b. Perform a basic setup

c. Set the “admin” password

More Stories By Jonathan Gershater

Jonathan Gershater has lived and worked in Silicon Valley since 1996, primarily doing system and sales engineering specializing in: Web Applications, Identity and Security. At Red Hat, he provides Technical Marketing for Virtualization and Cloud. Prior to joining Red Hat, Jonathan worked at 3Com, Entrust (by acquisition) two startups, Sun Microsystems and Trend Micro.

(The views expressed in this blog are entirely mine and do not represent my employer - Jonathan).

IoT & Smart Cities Stories
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
DXWorldEXPO LLC announced today that All in Mobile, a mobile app development company from Poland, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. All In Mobile is a mobile app development company from Poland. Since 2014, they maintain passion for developing mobile applications for enterprises and startups worldwide.
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER gives detailed information and help the community to invest in the trusty projects. Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Miami Blockchain Event by FinTechEXPOalso offers sp...
Headquartered in Plainsboro, NJ, Synametrics Technologies has provided IT professionals and computer systems developers since 1997. Based on the success of their initial product offerings (WinSQL and DeltaCopy), the company continues to create and hone innovative products that help its customers get more from their computer applications, databases and infrastructure. To date, over one million users around the world have chosen Synametrics solutions to help power their accelerated business or per...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time t...