Académique Documents
Professionnel Documents
Culture Documents
Page 1 of 21
Head node: Two dual Xeon 2.4GHz machines, each with 1GB of RAM, a 40GB HD, and two
network interface cards (NICs)
Client node: Four dual Xeon 2.4GHz machines, each with 1GB of RAM, a 40GB HD, and two
NICs
Switch: D-Link 10/100Mbps switch
This article assumes that you have built the cluster with OSCAR beforehand. If this is not the case,
please refer to the OSCAR project page for the OSCAR installation procedure.
The primary and standby servers should have homogeneous hardware, and each server should have at
least two network interface cards. The network interfaces must support PXE boot, and they must all
connect to the local switch (two for redundancy purposes).
HA-OSCAR Architecture
Figure 1 illustrates the HA-OSCAR architecture.
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 2 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 3 of 21
The interface directive is the private network interface for the primary head, normally eth0.
The installation wizard should pop up (as shown in Figure 3). The HA-OSCAR installation wizard will
walk the user through a complete installation process consisting of the following steps:
1.
2.
3.
4.
5.
The following sections describe the HA-OSCAR wizard installation process and provide visuals for the
associated screens.
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 4 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 5 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 6 of 21
Retrieve Standby Server MAC Address (For PXE Boot) and Build the Image on its
Local Drive
Pay close attention to the following procedures to retrieve the standby server's MAC address for PXE
booting before building its images on the local drive. One of the standby server network interfaces,
typically eth0, connects to the private LAN and broadcasts its MAC address during its network boot.
Whenever the primary server is ready to build the standby server image, it starts cloning its images with
the collected addresses. Consequently, the standby server will fetch the image by network booting the
standby server via PXE (or floppy) from the primary server or an optional image server on its local file
system. When the cloning succeeds, the server will reboot from its hard disk. This marks the completion
of the standby server installation.
To assign the standby server's MAC address and build a local image on the standby server, proceed to
step 4 in "Network Setup & Make boot server." HA-OSCAR will display the standby server MAC
address configuration screen as shown in Figure 6.
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 7 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 8 of 21
Figure 7. Standby server MAC address configuration after MAC address collection
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 9 of 21
Figure 8. Step-by-step instructions to set up a virtual network interface and detection channel
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 10 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 11 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 12 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 13 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 14 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 15 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 16 of 21
After you complete the primary server network and detection channel configuration, create a virtual
network interface and enable channel detection. First, switch to the standby server terminal and access
HA-OSCAR Webmin by opening http://localhost:10000 (the link will only work if you've enabled this
locally). The setup steps are similar to those shown earlier in the primary server setup section. When you
finish configuring the network interface, select only the Channel configuration on standby server button.
Otherwise, it may cause unpredictable behavior and invalid configuration.
Virtual Network Interface Creation on the Standby Server
You can create a virtual network interface for the standby server that is similar to the primary server
configuration. Figure 21 shows how to set up the standby server's virtual network interface. Be sure not
to activate the virtual public IP at boot time. It should come up only at the failover when a user creates a
virtual public interface, perhaps eth1:1.
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 17 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 18 of 21
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 19 of 21
Conclusion
This article is meant as a guide to help you on your feet with your installation and configuration of a
highly available Linux cluster using HA-OSCAR.
Open source projects have a special dynamic, especially popular projects,
and they tend to advance and change as their users request. Therefore, if
any of the steps/functionality/screen captures above are not valid by the
time you read this article, this will be due to changes in the HA-OSCAR
package; please forgive us and post an update on the discussion forum.
Related Reading
Acknowledgment
?
Future Work
?
http://www.linuxdevcenter.com/lpt/a/5603
High Performance
Linux Clusters with
OSCAR, Rocks,
OpenMosix, and MPI
By Joseph
D. Sloan
Table of Contents
5/23/2006
?
?
Page 20 of 21
Index
Sample Chapter
Read Online--Safari
Search this book on
Safari:
Glossary
Only This Book
ASP
Code Fragments
Application Service Providers
only
DHCP
Dynamic Host Configuration Protocol
FCAPS
Fault management, Configuration, Accounting, Performance, and Security
HA
High Availability
HA-OSCAR
High Availability OSCAR
HPC
High Performance Computing
ISP
Internet Service Provider
ITU
International Telecommunication Union
LAN
Local Area Network
MAC
Media Access Control
OCG
Open Cluster Group
OSCAR
Open Source Clustering and Application Resources
LUI
Resource-Based Cluster Installation Tool
NFS
Network File System
NIC
Network Interface Card
NTP
Network Time Protocol
SIS SystemImager
Image-Based Installation and Maintenance Tool
SNMP
Simple Network Management Protocol
TFTP
Trivial File Transfer Protocol
Thin-OSCAR
A diskless OSCAR version
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006
Page 21 of 21
TNM
Telecommunication Management Network
Ibrahim Haddad is a researcher at the Open System Lab, Ericsson Research.
Chokchai Leangsuksun is an Associate Professor of Computer Science, Louisiana Tech University.
Stephen L. Scott is a founding member of OCG and OSCAR - and has served in the capacity of both
release manager and working group chair
http://www.linuxdevcenter.com/lpt/a/5603
5/23/2006