Download presentation
Presentation is loading. Please wait.
Published byDarcy Wood Modified over 9 years ago
1
O.S.C.A.R. Cluster Installation
2
O.S.C.A.R O.S.C.A.R. Open Source Cluster Application Resource Latest Version: 2.2 ( March, 2003 ) http://oscar.calstatela.edu Cal State LA OSCAR version 2.1 (http://oscar.calstatela.edu) http://oscar.sourceforge.net Download OSCAR software from (http://oscar.sourceforge.net)
3
Terminology Cluster Node Head Node, Master Node, Server Node Child Node, Slave Node, Client Node RPM (RPM Package Manager) Public IP, Private IP MAC Address
4
Network Topology
5
Software Requirements Linux Operating System RedHat 7.1 Experimentally supported RedHat 7.2 Fully supported RedHat 7.3 Fully supported Mandrake 8.2 Fully supported Mandrake 9.0 Experimentally supported
6
Hardware Requirements Head Node CPU: Intel Pentium or above 10/100 Network Card (If your OSCAR server node is going to be the router between a public network and the cluster nodes, you will need a second network card) HD: 4GB or above Child Nodes CPU: Intel Pentium or above HD: 2GB or above Network Card All clients must have the same hardware architecture
7
Installing the Linux OS Install Linux (RedHat 7.3) (/tftpboot/rpm Copy All RPMs from ALL of the OS installation CDs ( RedHat 7.3 have 3 CDs ) to the Hard Drive (/tftpboot/rpm)
8
Installing O.S.C.A.R. Run the install cluster script with an argument specifying your server ’ s private network adapter../install_cluster eth0 Follow the documented procedures to finish O.S.C.A.R. installation
9
O.S.C.A.R. Wizard
10
The start_over script Start the cluster installation process over from scratch in order to recover from irresolvable errors the start_over script located in the scripts subdirectory Reboot the computer after running the start_over script and reinstall from the beginning
11
O.S.C.A.R. Clients Child Nodes, Slave Nodes, Client Nodes Image Name Domain Name Base Name Numbers of Hosts Starting Number Starting IP
12
O.S.C.A.R. Clients Build Auto Install Floppy Collect MAC Address Network Boot Client and begin the installation
13
O.S.C.A.R. Wizard
15
Complete the O.S.C.A.R. setup Test OSCAR Setup
16
Adding / Deleting Clients./install_cluster eth0 Image Name Domain Name Base Name Numbers of Hosts Starting Number Starting IP
17
Adding O.S.C.A.R. Clients
18
Deleting O.S.C.A.R. Clients
19
OSCAR Account Setup Use Secure Shell Client to connect to OSCAR2 Start -> Workspace -> Communications -> SSH Secure Shell -> Secure Shell Client Click “Quick Connect”
20
OSCAR Account Setup – Cont. Host Name: – IP Address of OSCAR2 – 130.182.168.199 User Name: studentX Password: 1234567
21
Password Setup To change account password, type in unix command “passwd” Enter current password – 1234567 Then enter new password If acceptable to the system, retype new password
22
Running Your First Program Type “ls” at the $ prompt You should see “hello.c” Type “pico bhost.def” at $ prompt Enter: oscar2 oscar2node1 oscar2node2 oscar2node3 oscar2node4
23
Compiling hello.c Save your bhost.def file Type “ls” and confirm it is there To compile, type: “mpicc hello.c –o hello” Start LAM environment, type “lamboot bhost.def”
24
Run hello To run program, type “mpirun C hello” The output: CHILD NODE: 1 CHILD NODE: 2 HEAD NODE CHILD NODE: 4 CHILD NODE: 3 Output can and should vary.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.