o.s.c.a.r. cluster installation. o.s.c.a.r o.s.c.a.r. open source cluster application resource...
TRANSCRIPT
O.S.C.A.R. O.S.C.A.R. Cluster InstallationCluster Installation
O.S.C.A.RO.S.C.A.R.
Open Source Cluster Application ResourceLatest Version: 2.2 (March, 2003)Cal State LA OSCAR version 2.1 (http://oschttp://oscar.calstatela.eduar.calstatela.edu)Download OSCAR software from (http://ohttp://oscar.sourceforge.netscar.sourceforge.net)
TerminologyTerminology
ClusterNodeHead Node, Master Node, Server NodeChild Node, Slave Node, Client NodeRPM (RPM Package Manager)Public IP, Private IPMAC Address
Network TopologyNetwork Topology
Software RequirementsSoftware Requirements
Linux Operating SystemRedHat 7.1 Experimentally supportedRedHat 7.2 Fully supportedRedHat 7.3 Fully supportedMandrake 8.2 Fully supportedMandrake 9.0 Experimentally supported
Hardware RequirementsHardware RequirementsHead Node
CPU: Intel Pentium or above10/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 NodesCPU: Intel Pentium or aboveHD: 2GB or aboveNetwork CardAll clients must have the same hardware architecture
Installing the Linux OSInstalling the Linux OS
Install Linux (RedHat 7.3)
Copy All RPMs from ALL of the OS installation CDs (RedHat 7.3 have 3 CDs) to the Hard Drive (/tftpboot/rpm(/tftpboot/rpm)
Installing O.S.C.A.R.Installing O.S.C.A.R.
Run the install cluster script with an argument specifying your server’s private network adapter.
./install_cluster eth0./install_cluster eth0
Follow the documented procedures to finish O.S.C.A.R. installation
O.S.C.A.R. WizardO.S.C.A.R. Wizard
The The start_overstart_over script script
Start the cluster installation process over from scratch in order to recover from irresolvable errorsthe start_over script located in the scripts subdirectoryReboot the computer after running the start_over script and reinstall from the beginning
O.S.C.A.R. ClientsO.S.C.A.R. Clients
Child Nodes, Slave Nodes, Client NodesImage NameDomain NameBase NameNumbers of HostsStarting NumberStarting IP
O.S.C.A.R. ClientsO.S.C.A.R. Clients
Build Auto Install Floppy
Collect MAC Address
Network Boot Client and begin the installation
O.S.C.A.R. WizardO.S.C.A.R. Wizard
O.S.C.A.R. WizardO.S.C.A.R. Wizard
Complete the O.S.C.A.R. setupComplete the O.S.C.A.R. setup
Test OSCAR Setup
Adding / Deleting ClientsAdding / Deleting Clients
./install_cluster eth0./install_cluster eth0Image NameDomain NameBase NameNumbers of HostsStarting NumberStarting IP
Adding O.S.C.A.R. ClientsAdding O.S.C.A.R. Clients
Deleting O.S.C.A.R. ClientsDeleting O.S.C.A.R. Clients
OSCAR Account Setup
Use Secure Shell Client to connect to OSCAR2Start -> Workspace -> Communications -> SSH Secure Shell -> Secure Shell ClientClick “Quick Connect”
OSCAR Account Setup – Cont.
Host Name: – IP Address of OSCAR2 – 130.182.168.199User Name: studentXPassword: 1234567
Password Setup
To change account password, type in unix command “passwd”Enter current password – 1234567Then enter new passwordIf acceptable to the system, retype new password
Running Your First Program
Type “ls” at the $ promptYou should see “hello.c”Type “pico bhost.def” at $ prompt
Enter: oscar2
oscar2node1oscar2node2oscar2node3oscar2node4
Compiling hello.c
Save your bhost.def fileType “ls” and confirm it is thereTo compile, type: “mpicc hello.c –o hello”Start LAM environment, type “lamboot bhost.def”
Run hello
To run program, type “mpirun C hello”The output:CHILD NODE: 1
CHILD NODE: 2HEAD NODECHILD NODE: 4CHILD NODE: 3
Output can and should vary.