stoney cloud: Single-Node Installation

From stoney cloud
Revision as of 11:11, 7 April 2014 by Michael (Talk | contribs)


Jump to: navigation, search

Overview

The stoney cloud builds upon various standard open source components and can be run on commodity hardware. The final Multi-Node Setup consists of the following components:

  • One Primary-Master-Node with an OpenLDAP Directory Server for the storage of the stoney cloud user and service related data with the web based management VM-Manager interface and the Linux kernel based virtualization technology.
  • One Secondary-Master-Node with the Linux kernel based virtualization technology.
  • Two Storage-Nodes configured as a replicated and distributed data storage service based on GlusterFS.

The components communicate with each other over a standard Ethernet based IPv4 network.

Prerequisites

The following items and conditions are required to be able to install and configure a stoney cloud environment:

  • A dedicated server which fulfils the following requirements:
    • 64-Bit Intel with VT-Technologie (AMD is not tested at the moment, but it should work).
    • 8 Gigabyte Memory (more is better).
    • 147 Gigabyte up to 2 Terabyte disks (for the first RAID set, the 2 Terabyte restriction applies).
      • Two 147 Gigabyte Disks, configured as RAID1, are more than enough for the Gentoo Linux operating system.
      • For the mass storage (where the virtual machines are stored) we recommend a second RAID-Set configured as RAID6-Set with battery backup.
    • One or more physical Ethernet Interfaces, which support the same bandwidth (for example 1 Gigabit/s).
  • Two Gigabit layer-2 switches supporting IEEE 802.3ad (dynamic link aggregation), IEEE 802.1Q (VLAN tagging) and stacking (optional, but recommended).
  • Experience with Linux environments especially with Gentoo Linux.
  • Good experience with IP networking, because the Switches need to be configured manually (dynamic link aggregation and VLAN tagging).

Limitations

During the installation of the Gentoo Linux operating system, the first two physical Ethernet Interfaces are automatically configured as a logical interface (bond0) and the four tagged VLANs are set up. If more than two physical Ethernet Interfaces are to be included in to the logical interface (bond0) or the physical Ethernet Interfaces have different bandwidths (for example 1 Gigabit/s and 10 Gigabit/s), the final logical interface (bond0) needs to be configured manually after the installation of the Gentoo Linux operating system. Only the first two GlusterFS Storage-Nodes are set up automatically. More Storage-Nodes need to be integrated manually.

Installation

Booting

Choose 1) FOSS-Cloud Installer: default boot options

Keymap Selection

Set the desired keymap. The following example works for the German speaking part of Switzerland: 46 (de_CH)

Start the Installation

Start the actual installation by typing: yes

Choose the Single-Node Installation

Choose the Single-Node Installation by typing: 2


Skipping Checks

To skip checks, type no when asked:

 Do you want to start the installation?
yes or no?: no

Then manually restart the stoney cloud installer with the desired options. For example

/mnt/cdrom/foss-cloud-installer -c

Options:

-c: Skip CPU requirement checks
-m: Skip memory requirement checks
-s: Skip CPU and memory requirement checks