Professional Documents
Culture Documents
Introduction 2
1. Terminology 2
2. Main Software Requirements 2
3. Additional Pre-Installation Software Requirements 3
4. Hardware Requirements 3
5. Other Requirements 4
1
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Introduction
Oscar - If your organization needs or desires high-performance super-computing power at a very
affordable price, OSCAR (Open Source Cluster Application Resource) software offers the ideal solution.
OSCAR software enables virtually any person with minimal computer skills to transform several standard
computers into a virtual super-computer.
Red Hat Enterprise Linux (RHEL) is a Linux distribution produced by Red Hat and targeted toward the
commercial market, including mainframes. Red Hat Enterprise Linux is released in server versions for x86,
x86_64, Itanium, PowerPC and IBM System z, and desktop versions for x86 and x86_64. All of Red Hat's
official support and training, and the Red Hat Certification Program center on the Red Hat Enterprise
Linux platform
On one certified platform, Red Hat Enterprise Linux offers your choice of: (i) Applications - Thousands of
certified ISV applications; (ii) Deployment - Including standalone or virtual servers, cloud computing, or
software appliances; (iii) Hardware - Wide range of platforms from the world's leading hardware vendors.
This gives IT departments’ unprecedented levels of operational flexibility. And it gives ISVs unprecedented
market reach when delivering applications. Certify once, deploy anywhere. All while providing world-class
performance, security, and stability. And unbeatable value. This is why today Red Hat is the platform of
choice.
In order to begin creating an OSCAR cluster, several software and hardware items are required. We’ll also
need to learn some terminologies before we kick-off with our lab session.
1. Terminology
• Cluster - a group of individual computers bundled together using hardware and software in order
to make them work as a single machine.
• Node - each individual machine of a cluster.
• Server (Head) node is responsible for servicing the requests of client nodes.
• Client (Child, Slave) node is dedicated to computation.
2
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Mandrake, and other Linux distros, however, these instructions are only valid for clusters using
RHEL5 as their underlying operating systems. Before installing RHEL5, please read very carefully the
included step-by-step Linux Installation Guide for OSCAR.
2. If you do not have already RHEL5, you can purchase and download one for subscription fee at
www.redhat.com. We assume that you’ll have your copy on a single DVD.
3. At the time of writing the Hands-on Lab session, we downloaded OSCAR Version 5.1rc1. This
software can be downloaded for free at http://prdownloads.sourceforge.net/oscar/ (Although other
versions of OSCAR exist, these instructions are specifically designed for OSCAR version 5.1rc1.).
The three required Oscar files are:
• oscar-base-5.1rc1.tar.gz
• oscar-repo-common-rpms-5.1rc1.tar.gz
• oscar-repo-rhel-5-i386-5.1rc1.tar.gz
ii) Tk-GUI Interface – Hope over at CPAN and download the Tk-804.028_502.tar.gz at the time of
writing from: http://search.cpan.org/~srezic/Tk-804.028_502/
Extract and enter dir "Tk-804.028_502", and issue the following commands to install it:
perl Makefile.PL
make
make test
make install
Note: Be warned. When running "make test" you will see hundreds of dialog boxes and
pictures opening all over the place and closing. Enjoy the fireworks
4. Hardware Requirements
i) Computers (Nodes)
Although technically you only need one computer in your OSCAR cluster, it makes little sense to have a
cluster of one. Therefore, at a minimum, you should have two computers with one computer acting as the
head node and one as the client. Of course, you can have many more nodes than two. The following are
the system requirements for the head and client nodes.
3
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Head Node:
• CPU of i586 or above
• A network interface card that supports a TCP/IP stack
o **If your OSCAR head node is going to be the router between a public network and
the cluster nodes, you will need a second network interface card, see Fig. 1.
• At least 4GB total free space – 2GB under / and 2GB under /var (although 10+ GB is really
preferable because you will need about 2GB for installing the X Window System, GNOME,
and KDE).
• A Floppy Drive, CD/DVD Drive, or .ISO software.
Client nodes:
• CPU of i586 or above
• A disk on each client node, at least 2GB in size (OSCAR will format the disks during the
installation)
• A network interface card that supports a TCP/IP stack
• All clients must have the same architecture (e.g., ia32 vs. ia64)
• Monitors and keyboards may be helpful, but are not required
• Floppy or PXE enable BIOS
• A Floppy Drive, CD/DVD Drive, or .ISO software.
ii) An Ethernet switch – any brand of switch should suffice. However, make sure that each node
(including the head node) has its own port on the switch. In other words, if you have one head node and 8
client nodes, you need at a minimum a 9-port switch. The switch is necessary for communication
between the nodes.
iii) Ethernet Cables – you need a separate Ethernet cable for each node to connect to the switch.
If you have obtained all necessary hardware and software, you are now ready to begin building your
OSCAR cluster.
5. Other Requirements
If you plan on remotely accessing your OSCAR cluster through telnet or SSH, you need a static IP
address. If you do not have a static IP, it doesn’t make any sense to have remote access to your OSCAR
cluster. If you do not have a static IP, your OSCAR cluster will strictly have a private network and your
head node will only require a single Ethernet card.
4
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
this labs session you should have gained an experience and capability to enable you to plan design
implement and deploy Oscar server cluster network infrastructure.
Figure 1 shows our network setup for pilot lab test session of our Oscar cluster system, which we have
configured using VMware with two NIC adapters attached to Oscar Server (Virtual Machine 1) head node.
The eth0 is attached to the public side of the network and is receiving its IP address from the Internet
DHCP server via the VMnet0. The eth1 is configured with static IP address and is also the NIC that is
attached to DHCP server which feed the dynamic IP address to the devices located within the private LAN
(Oscar node clients) via the VMnet2 virtual switch, connects the Oscar clients (Oscarnodes), see Fig. 1.
eth1 eth0
Virtual Machine 1
Virtual network switch Oscar Server
oscarnode1 oscarnode2 oscarnoden VMnet2
Note: once you’re done with pilot testing and all is working great then you can migrate your setup
to your production environment.
Assumptions:
1. It’s assumed that you have a good understanding of Linux operating system and its working
environment. It’s also assumed that you know how to install and configure Linux RHEL5, if not go
5
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
ahead and pop over to scribd.com and check out a good HowTo entitled “Install Guide Red Hat Linux
Enterprise Server v1.0” to get you started.
2. It’s also assumed that you have a good understanding of MySQL database and Apache (httpd)
server.
2. It doesn’t matter which node’s cable is plugged into which port, as long as each node’s cable is
plugged into the switch.
3. Turn on the switch’s power button, and you have completed your setup.
1. It’s assumed that you have a good understanding of Linux operating system and its working
environment. It’s also assumed that you know how to install and configure Linux CentOS5, if not go
ahead and pop over to scribd.com and check out a good HowTo entitled “Install Guide Red Hat Linux
Enterprise Server v1.0” to get you started. This is the same Guide that I have used to install the Oscar
Cluster.
# mkdir –p /tftpboot
Then create a subdirectory called "rpm" within the "tftpboot" directory by typing:
6
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
# mkdir –p /tftpboot/rpm
3. Install the Linux RHEL5 DVD or disk 1 into the CD/DVD drive. Type at the command prompt:
# cd /mnt/cdrom
This will take a while. (Note: You can also perform this step using the Graphical User Interface and
simply click, point and drop.). If you’re using CDs; then remove Linux RHEL5 disk 1, and insert disk 2
repeat the same operation, and etc.
Note: sometimes when you remove a CD, you must unmount that CD before inserting a new CD.
You can do this by typing "cd /mnt" and then typing "umount cdrom". Then insert the new CD,
type "cd /mnt" and then "mount cdrom". This should fix most problems.)
# mkdir –p /tftpboot/distro/redhat-el-server-5-i386
Note: Now copy all the RPMs files from the distro’s CD/DVD into the "distro/redhat-el-
server-5-i386" directory
The full document has moved to Docstoc.com. You can access and download it
from here:
http://www.docstoc.com/docs/31460875/?key=NWM5Y2Y1ZGUt&pass=OWE2Yy00MjA5
-----------------------------------------------
Kefa Rabah is the Founder and CIO, of Global Technology Solutions Institute. Kefa is highly
knowledgeable in the fields of Science & Technology, IT Security Compliance and Project
Management, and Renewable Energy Systems. He is also the founder of Global Open Versity, a
Center of Excellence in eLearning.
7
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada