Difference between revisions of "stoney cloud: Single-Node Installation"

From stoney cloud
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Booting)
(Skipping Checks)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Overview =
 
= Overview =
The [http://www.stoney-cloud.org/ 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:
+
The [http://www.stoney-cloud.org/ stoney cloud] builds upon various standard open source components and can be run on commodity hardware. The Single-Node installation consists of one node with the following software-stack installed:
* 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.
+
* The Linux kernel based virtualization technology.
* One [[Secondary-Master-Node]] with the Linux kernel based virtualization technology.
+
* 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.
* Two [[Storage-Node | Storage-Nodes]] configured as  a replicated and distributed data storage service based on [http://www.gluster.org/ GlusterFS].
+
The components communicate with each other over a standard Ethernet based IPv4 network.
+
  
 
== Prerequisites ==
 
== Prerequisites ==
Line 20: Line 18:
 
== Limitations ==
 
== Limitations ==
 
During the installation of the [http://www.gentoo.org/ 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 [http://www.gentoo.org/ Gentoo Linux] operating system.
 
During the installation of the [http://www.gentoo.org/ 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 [http://www.gentoo.org/ Gentoo Linux] operating system.
Only the first two [http://www.gluster.org/ GlusterFS] [[Storage-Node | Storage-Nodes]] are set up automatically. More [[Storage-Node | Storage-Nodes]] need to be integrated manually.
 
  
 
= Installation =
 
= Installation =
Line 26: Line 23:
 
Choose '''1) FOSS-Cloud Installer: default boot options'''
 
Choose '''1) FOSS-Cloud Installer: default boot options'''
  
[[Image:stoney_cloud_single-node_01.png]]
+
[[Image:stoney_cloud_single-node_01.png||600px]]
  
 
== Keymap Selection ==
 
== Keymap Selection ==
Set the desired keymap. The following example works for the German speaking part of Switzerland: '''46''' (de_CH)
+
 
 +
Set the desired keymap. The following example works for the German speaking part of Switzerland: '''46 (de_CH)'''
 +
 
 +
[[Image:stoney_cloud_single-node_02.png||600px]]
  
 
== Start the Installation ==
 
== Start the Installation ==
 
Start the actual installation by typing: '''yes'''
 
Start the actual installation by typing: '''yes'''
 +
 +
[[Image:stoney_cloud_single-node_03.png||600px]]
  
 
== Choose the Single-Node Installation ==
 
== Choose the Single-Node Installation ==
 
Choose the Single-Node Installation by typing: '''2'''
 
Choose the Single-Node Installation by typing: '''2'''
 +
 +
[[Image:stoney_cloud_single-node_04.png||600px]]
  
 
== Device Selection ==
 
== Device Selection ==
 
You'll need to select a SCIS, SATA, PATA or virtual disk. The following installation in done in a virtualized environment, therefore we choose the virtual disk: '''vda'''
 
You'll need to select a SCIS, SATA, PATA or virtual disk. The following installation in done in a virtualized environment, therefore we choose the virtual disk: '''vda'''
  
 +
[[Image:stoney_cloud_single-node_05.png||600px]]
  
If you type yes, you'll be deleting all the existing data on the chosen disk: yes
+
If you type yes, you'll be deleting all the existing data on the chosen disk: '''yes'''
 +
 
 +
[[Image:stoney_cloud_single-node_06.png||600px]]
  
 
== Proceeding ... ==
 
== Proceeding ... ==
Line 48: Line 55:
 
You can ignore the message "Error: /dev/vda: unrecognised disk label" as this is normal for a first installation in a virtual disk.
 
You can ignore the message "Error: /dev/vda: unrecognised disk label" as this is normal for a first installation in a virtual disk.
  
06/07
+
[[Image:stoney_cloud_single-node_07.png||600px]]
 +
 
 +
[[Image:stoney_cloud_single-node_08.png||600px]]
  
 
== Network ==
 
== Network ==
 
Now we configure the network. In this example, we only have one network interface: '''eth0'''
 
Now we configure the network. In this example, we only have one network interface: '''eth0'''
  
09
+
[[Image:stoney_cloud_single-node_09.png||600px]]
  
 
== Hostname ==
 
== Hostname ==
 
Set the desired hostname (not the fully qualified domain name). We'll choose: '''kvm-0237'''
 
Set the desired hostname (not the fully qualified domain name). We'll choose: '''kvm-0237'''
  
10
+
[[Image:stoney_cloud_single-node_10.png||600px]]
 
+
 
+
 
+
 
+
  
  
== Skipping Checks ==
+
= Skipping Checks =
 
To skip checks, type '''no''' when asked:
 
To skip checks, type '''no''' when asked:
 
   Do you want to start the installation?
 
   Do you want to start the installation?

Latest revision as of 11:24, 7 April 2014

Overview

The stoney cloud builds upon various standard open source components and can be run on commodity hardware. The Single-Node installation consists of one node with the following software-stack installed:

  • The Linux kernel based virtualization technology.
  • 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.

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).
    • 130 Gigabyte up to 2 Terabyte disks (for the first RAID-Set, the 2 Terabyte restriction applies).
      • 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.

Installation

Booting

Choose 1) FOSS-Cloud Installer: default boot options

stoney cloud single-node 01.png

Keymap Selection

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

stoney cloud single-node 02.png

Start the Installation

Start the actual installation by typing: yes

stoney cloud single-node 03.png

Choose the Single-Node Installation

Choose the Single-Node Installation by typing: 2

stoney cloud single-node 04.png

Device Selection

You'll need to select a SCIS, SATA, PATA or virtual disk. The following installation in done in a virtualized environment, therefore we choose the virtual disk: vda

stoney cloud single-node 05.png

If you type yes, you'll be deleting all the existing data on the chosen disk: yes

stoney cloud single-node 06.png

Proceeding ...

The installation proceeds with the partitioning of the disk and the installation of the operating system:

You can ignore the message "Error: /dev/vda: unrecognised disk label" as this is normal for a first installation in a virtual disk.

stoney cloud single-node 07.png

stoney cloud single-node 08.png

Network

Now we configure the network. In this example, we only have one network interface: eth0

stoney cloud single-node 09.png

Hostname

Set the desired hostname (not the fully qualified domain name). We'll choose: kvm-0237

stoney cloud single-node 10.png


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