Open Source For You — December 2017

(Steven Felgate) #1
Let's Try Admin

http://www.OpenSourceForU.com | OPEN SOURCE FOR YOU | DECEMBER 2017 | 59

Host/hypervisor system requirements: The host is where
the cloud services run in the form of guest virtual machines. Each
host is one machine that meets the following requirements:
ƒ Must support HVM (Intel-VT or AMD-V enabled)
ƒ 64-bit x86 CPU (more cores result in better performance)
ƒ Hardware virtualisation support required
ƒ 4GB of memory
ƒ 36GB of local disk
ƒ At least 1 NIC
ƒ Latest hotfixes applied to hypervisor software
ƒ When you deploy CloudStack, the hypervisor host must
not have any VMs already running
ƒ All hosts within a cluster must be homogeneous. The
CPUs must be of the same type, count, and feature flags
Installation steps: You may be able to do a simple trial
installation, but for full installation, do make sure you go
through all the following topics from the Apache CloudStack
documentation (refer to the section ‘Installation Steps’ of this
documentation):
ƒ Choosing a deployment architecture
ƒ Choosing a hypervisor: Supported features
ƒ Network setup
ƒ Storage setup
ƒ Best practices
The steps for the installation are as follows (you can refer to
the Apache CloudStack documentation for detailed steps). Make
sure you have the required hardware ready as discussed above.
Installing the management server (choose
single- or multi-node): The procedure for installing the
management server is:
ƒ Prepare the operating system
ƒ In the case of XenServer only, download and
install vhd-util
ƒ Install the first management server
ƒ Install and configure the MySQL database
ƒ Prepare NFS shares
ƒ Prepare and start additional management servers (optional)
ƒ Prepare the system VM template

Configuring your cloud
After the management server is installed and running, you can
add the compute resources for it to manage. For an overview

ƒ Zones: Typically, a zone is equivalent to a single
data centre. It consists of one or more pods and
secondary storage.
ƒ Pods: A pod is usually a rack, or row of racks that
includes a Layer-2 switch and one or more clusters.
ƒ Clusters: A cluster consists of one or more homogenous
hosts and primary storage.
ƒ Host: This is a single compute node within a cluster;
often, a hypervisor.
ƒ Primary storage: This is a storage resource typically
provided to a single cluster for the actual running of
instance disk images.
ƒ Secondary storage: This is a zone-wide resource which
stores disk templates, ISO images, and snapshots.
Networking overview: CloudStack offers many types of
networking, but these typically fall into one of two scenarios.
ƒ Basic: This is analogous to AWS-classic style networking. It
provides a single flat Layer-2 network, where guest isolation
is provided at Layer-3 by the hypervisors bridge device.
ƒ Advanced: This typically uses Layer-2 isolation such
as VLANs, though this category also includes SDN
technologies such as Nicira NVP.

Installation
In this section, let us look at the minimum system
requirements and installation steps for CloudStack.
Management server, database and storage system
requirements: The machines that will run the management
server and MySQL database must meet the following
requirements. The same machines can also be used to provide
primary and secondary storage, such as via local disks or NFS.
The management server may be placed on a virtual machine.
ƒ Preferred OS: CentOS/RHEL 6.3+ or Ubuntu 14.04 (.2)
ƒ 64-bit x86 CPU (more cores lead to better performance)
ƒ 4GB of memory
ƒ 250GB of local disk space (more space results in better
capability; 500GB recommended)
ƒ At least 1 NIC
ƒ Statically allocated IP address
ƒ Fully qualified domain name as returned by the
hostname command

Figure 2: A region with multiple zones


Figure 3: Installation complete
Free download pdf