Product SiteDocumentation Site

Chapter 2. Installation

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 [3] 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 [4]
Fedora Installation - Welcome
Fedora Installation: Good choice
Figure 2.1. Fedora Installation - Welcome

Fedora Installation - Storage Devices
Fedora Installation: Storage Devices
Figure 2.2. Fedora Installation - Storage Devices

Assign your machine a host name. [5] I happen to control the clusterlabs.org domain name, so I will use that here.
Fedora Installation - Hostname
Fedora Installation: Choose a 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. [6]
Now select where you want Fedora installed. [7] 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.
Fedora Installation - Installation Type
Fedora Installation: Choose an installation 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.
Fedora Installation - 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 Partitioning
Fedora Installation: Create a partition to use (later) for website data
Figure 2.6. Fedora Installation - Customize Partitioning

Fedora Installation - Bootloader
Fedora Installation: 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.
Fedora Installation - Software
Fedora Installation: Software selection
Figure 2.8. Fedora Installation - Software

Fedora Installation - Installing
Fedora Installation: Go grab something to drink, this may take a while
Figure 2.9. Fedora Installation - Installing

Fedora Installation - Installation Complete
Fedora Installation: Stage 1, completed
Figure 2.10. Fedora Installation - Installation Complete

Once the node reboots, follow the on screen instructions [8] to create a system user and configure the time.
Fedora Installation - First Boot
Figure 2.11. Fedora Installation - First Boot

Fedora Installation - Create Non-privileged User
Fedora Installation: Creating a non-privileged 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 Time
Fedora Installation: Enable NTP to keep the times on all your nodes consistent
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.
Fedora Installation - Customize Networking
Fedora Installation: 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.
Fedora Installation - Specify Network Preferences
Fedora Installation: Specify network settings for your machine, never choose DHCP
Figure 2.15. Fedora Installation - Specify Network Preferences

Fedora Installation - Activate Networking
Fedora Installation: Click the big green button to activate your changes
Figure 2.16. Fedora Installation - Activate Networking

Fedora Installation - Bring up the Terminal
Fedora Installation: 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.