Product SiteDocumentation Site

Capitolo 2. Installazione

Indice

2.1. Installazione del sistema operativo
2.2. Installazione del software cluster
2.2.1. Considerazioni sulla sicurezza
2.2.2. Installazione del software cluster
2.3. Prima di continuare
2.4. Setup
2.4.1. Definire la rete
2.4.2. Configuarazione di SSH
2.4.3. Nomi di nodi abbreviati
2.4.4. Configurare Corosync
2.4.5. Distribuire la configurazione

2.1. Installazione del sistema operativo

Detailed instructions for installing Fedora are available at http://docs.fedoraproject.org/install-guide/f13/ in a number of languages. The abbreviated version is as follows…
Point your browser to http://fedoraproject.org/en/get-fedora-all, locate the Install Media section and download the install DVD that matches your hardware.
Burn the disk image to a DVD [4] and boot from it. Or use the image to boot a virtual machine as I have done here. After clicking through the welcome screen, select your language and keyboard layout [5]
Welcome

Figura 2.1. Installation: Good choice


Storage Devices

Figura 2.2. Installazione di Fedora - Storage Devices


Assign your machine a host name. [6] I happen to control the clusterlabs.org domain name, so I will use that here.
Hostname

Figura 2.3. Installazione di Fedora - Hostname


You will then be prompted to indicate the machine’s physical location and to supply a root password. [7]
Now select where you want Fedora installed. [8]
As I don’t care about any existing data, I will accept the default and allow Fedora to use the complete drive. However I want to reserve some space for DRBD, so I’ll check the Review and modify partitioning layout box.
Choose Install Type

Figura 2.4. Installazione di Fedora - Tipo di installazione


By default, Fedora will give all the space to the / (aka. root) partition. Wel’ll take some back so we can use DRBD.
Default Partitioning

Figura 2.5. Installazione di Fedora - Partizionamento di default


Lo schema di partizionamento finale dovrà somigliare a quanto illustrato nel diagramma sotto.

Importante

If you plan on following the DRBD or GFS2 portions of this guide, you should reserve at least 1Gb of space on each machine from which to create a shared volume. Fedora Installation - Customize PartitioningFedora Installation: Create a partition to use (later) for website data
Customize Partitioning

Figura 2.6. Installazione di Fedora - Personalizzazione delle partizioni


Unless you have a strong reason not to, accept the default bootloader location

Figura 2.7. Installazione di Fedora - Bootloader


Next choose which software should be installed. Change the selection to Web Server since we plan on using Apache. Don’t enable updates yet, we’ll do that (and install any extra software we need) later. After you click next, Fedora will begin installing.
Software selection

Figura 2.8. Installazione di Fedora - Software


Go grab something to drink, this may take a while
Installing

Figura 2.9. Installazione di Fedora - Installazione


Stage 1, completed

Figura 2.10. Installazione di Fedora - Installazione completata


Once the node reboots, follow the on screen instructions [9] to create a system user and configure the time.
First boot

Figura 2.11. Installazione di Fedora - Primo avvio


Creating a new user, take note of the password, you'll need it soon

Figura 2.12. Installazione di Fedora - Creazione utente non privilegiato


Nota

It is highly recommended to enable NTP on your cluster nodes. Doing so ensures all nodes agree on the current time and makes reading log files significantly easier. Fedora Installation - Date and TimeFedora Installation: Enable NTP to keep the times on all your nodes consistent
Date and time

Figura 2.13. Installazione di Fedora - Data ed ora


Cliccare su next fino alla comparsa della schermata di login. Cliccare sull'utente creato e fornire la password stabilita.
Click here to configure networking

Figura 2.14. Installazione di Fedora - Personalizzare la rete


Importante

Do not accept the default network settings. Cluster machines should never obtain an ip address via DHCP. Here I will use the internal addresses for the clusterlab.org network.
Specify network settings for your machine, never choose DHCP

Figura 2.15. Installazione di Fedora - Specificare le preferenze di rete


Click the big green button to activate your changes

Figura 2.16. Installazione di Fedora - Attivare la rete


Down to business, fire up the command line

Figura 2.17. Installazione di Fedora - Aprire il terminale


Nota

Questa era l'ultima schermata, da qui in poi il lavoro verrà effettuato da terminale.