Product SiteDocumentation Site

Chapter 2. Installation

Table of Contents

2.1. OS Installation
2.2. Cluster Software Installation
2.2.1. Security Shortcuts
2.2.2. Install the Cluster Software
2.3. Before You Continue
2.4. Setup
2.4.1. Finalize Networking
2.4.2. Configure SSH
2.4.3. Short Node Names
2.4.4. Configuring Corosync
2.4.5. Propagate the Configuration

2.1. OS Installation

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

Figure 2.1. Installation: Good choice


Storage Devices

Figure 2.2. Fedora Installation - 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

Figure 2.3. Fedora Installation - 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

Figure 2.4. Fedora Installation - Installation Type


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

Figure 2.5. Fedora Installation - Default Partitioning


The finalized partition layout should look something like the diagram below.

Important

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

Figure 2.6. Fedora Installation - Customize Partitioning


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

Figure 2.7. Fedora Installation - 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

Figure 2.8. Fedora Installation - Software


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

Figure 2.9. Fedora Installation - Installing


Stage 1, completed

Figure 2.10. Fedora Installation - Installation Complete


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

Figure 2.11. Fedora Installation - First Boot


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

Figure 2.12. Fedora Installation - Create Non-privileged User


Note

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

Figure 2.13. Fedora Installation - Date and Time


Click through the next screens until you reach the login window. Click on the user you created and supply the password you indicated earlier.
Click here to configure networking

Figure 2.14. Fedora Installation - Customize Networking


Important

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

Figure 2.15. Fedora Installation - Specify Network Preferences


Click the big green button to activate your changes

Figure 2.16. Fedora Installation - Activate Networking


Down to business, fire up the command line

Figure 2.17. Fedora Installation - Bring up the Terminal


Note

That was the last screenshot, from here on in we’re going to be working from the terminal.