Step-by-step Install Instructions

From UniCluster

Contents

Before you Begin

Download the DVD or multiple CDs for one (or more) of the supported Operating Systems:

CentOS 5.X
Oracle Enterprise Linux
Red Hat Enterprise Linux

Burn the Operating Systems to DVD.

Installing UniCluster

There are several steps to creating a Cluster with UniCluster they are:

  • Install the downloaded OS to a machine designated as the cluster frontend
  • Configure the UniCluster repositories and Install UniCluster on the cluster frontend using yum
  • Configure UniCluster on the Frontend and add UniCluster Kits to the Frontend
  • Add Compute Nodes to the Cluster
  • Where to go next

Install OS onto Cluster Frontend

  • Take the OS DVD you burned and boot the machine using the DVD.
  • When the OS boot screen is displayed press enter to start an Installation.
  • Choose Install and OS and do not choose Upgrade an existing Installation.
  • At the Partitioning Screen choose "Remove selected partitions on selected drives and create default layout"
  • If you have multiple Disks and need a more complex Partitioning go ahead and create a custom layout, just make sure that 25Gb of disk space is free for UniCluster
  • By default, RHEL, CentOS and OEL will use LVM (Logical Volume Manager) on the formatted disks. This is fine and is useful later on when you want to add more disks to the cluster.
  • partition screen here.
  • Configure the network interfaces on the node. One network interface, typically eth0 should be configured dynamically and the other eth1 must be configured statically. If you have a machine with only one network interface configure the interface statically.
  • Choose a static ip address and netmask for the eth1 interface. Normally a Class 'C' 192.168.1.X is okay with at 255.255.255.0 netmask for a small cluster. If you have a much larger cluster then you may have to choose a Class 'B' interface.
  • Ensure the network interfaces are Active on Boot. You do not have to set the hostname here it will be set later.
  • Choose the time zone for the machine
  • Set the root password for the machine
  • Optionally select packages for the machine. Don't add the unicluster repository here we will add it later.
  • the installer will now install Linux on the machine.
  • Once the machine reboots the installer will continue configuring the machine
  • Disable the firewall. The firewall will be re-enabled by UniCluster later.
  • Disable SELinux
  • continue through the rest of the screens and reboot the machine.
  • login to the machine as root. Don't use the package manager to update packages just yet. Sometimes package updates may conflict with UniCluster.

Configure Networking

  • Open a terminal window and check the hostname of the machine. if the hostname of the machine is not set or is 'localhost' you will need to configure a hostname.
# hostname
univatest
  • To set a hostname edit the /etc/sysconfig/network file as root and a HOSTNAME parameter to the file.
# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IP_V6=no
HOSTNAME=univatest.example.com
  • To ensure that all processes and system services recognize the new hostname, reboot the machine. Once the machine reboots check that the hostname resolves. This hostname will be returned when you do a reverse lookup of your public IP address (this would be from your DNS Server). An ideal situation is as would be a ping of your hostname returning your public IP address and your hostname such as in the following example:
[cbrunner@cbrun-centos ~]$ ping `hostname`
PING cbrun-centos.univa.com (192.168.31.124) 56(84) bytes of data.
64 bytes from cbrun-centos.univa.com (192.168.31.124): icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from cbrun-centos.univa.com (192.168.31.124): icmp_seq=2 ttl=64 time=0.032 ms



Continue to the next step: Configuring the UniCluster Repositories and Install UniCluster