SCore SCore 5.0 2001.03.19 devel@pccluster.org SCore Backbone LAN Ethernet EEPRO100 Myrinet-2000 Fibre 02/03/20 2 1
NIC (Network Interface Card) NIC 100Mbps Ethernet EEPRO100 Tulip 3C905B Network Trunking EEPRO100 1Gbps Ethernet Syskonnect SK-9843 Linux driver 02/03/20 3 IP /etc/sysconfig/network NETWORKING=yes HOSTNAME=server.pccluster.org /etc/sysconfig/network-scripts/ifcfg-eth0 BROADCAST=163.220.0.0 IPADDR=163.220.1.100 NETMASK=255.255.248.0 NETWORK=163.220.0.0 ONBOOT=yes /etc/nsswitch.conf hostname /etc/sysconfig/network hostname 02/03/20 4 2
NIS (Network Information name Service) IP NIS NIS NIS ypwhich NIS ypmatch ypcat NIS /etc/sysconfig/network NISDOMAIN=trc.info /var/yp/ /etc/passwd, /etc/shadow /etc/hosts /etc/group 02/03/20 5 DNS FQDN (Fully Qualified Domain Name) www.pccluster.org host FQDN DNS (Domain Name System) IP IP nslookup host /etc/resolve.conf DNS 02/03/20 6 3
NFS /etc/exports exportfs /etc/fstab /etc/mtab /var/lib/nfs/xtab exportfs r /etc/exports /var/lib/nfs/rmtab /var/lib/nfs/etab 02/03/20 7 find grep rgrep du df find. name score* -print grep find. name score* exec grep i myrinet { } ; 02/03/20 8 4
ps top ps axwl grep scout W kill kill KILL <process ID> kill QUIT <process ID> 02/03/20 9 ping TCP/IP IP ICMP Internet Control Message Protocol echo arp IP Ethernet arp TCP/IP IP Ethernet ifconfig eth0 eth0 Link Link encap:ethernet encap:ethernet HWaddr HWaddr 00:02:B3:06:0A:1E 00:02:B3:06:0A:1E inet inet addr:163.220.7.109 addr:163.220.7.109 Bcast:163.220.0.0 Bcast:163.220.0.0 Mask:255.255.248.0 Mask:255.255.248.0 UP UP BROADCAST BROADCAST RUNNING RUNNING MULTICAST MULTICAST MTU:1500 MTU:1500 Metric:1 Metric:1 RX RX packets:197193 packets:197193 errors:0 errors:0 dropped:0 dropped:0 overruns:0 overruns:0 frame:0 frame:0 TX TX packets:39174 packets:39174 errors:0 errors:0 dropped:0 dropped:0 overruns:0 overruns:0 carrier:0 carrier:0 collisions:51604 collisions:51604 txqueuelen:100 txqueuelen:100 Interrupt:11 Interrupt:11 Base Base address:0x1800 address:0x1800 02/03/20 10 5
FQDN(Fully Qualified Domain Name) eg. comp0.pccluster.org, comp1.pccluster.org, comp2.pccluster.org 02/03/20 11 IP IP DHCP IP IP NIS FQDN DNS, NIS, /etc/hosts, hostname Backbone LAN DHCP IP DHCP IP 02/03/20 12 6
server IP Address 192.168.0.2 comp0 to comp7 IP Addresses 192.168.0.100 -- 192.168.55.107 Netmask 255.255.255.0 Default Gateway IP address 192.168.0.1 Primary Nameserver IP address 192.168.0.1 Domain Name pccluster.org Server Hostname server.pccluster.org NIS domain name score 02/03/20 13 Ethernet EIT anaconda anaconda kickstart file EIT /opt/score/etc/ndconf/ /opt/score/etc/ndconf/ Ethernet Ethernet address address /opt/score/setup/redhat/instimage/compconf/ /opt/score/setup/redhat/instimage/compconf/ EITD IP MAC MAC IP Insert a boot floppy disk created by EIT Server Host Insert a boot floppy SCore Red Hat anaconda disk created by EIT Insert a boot floppy SCore (postprocessing) disk created by EIT SCore Insert a boot floppy disk created by EIT 02/03/20 14 7
Red Hat 7.2 no firewall FQDN DNS NIS /opt/ MBytes SCore 5.0 CD-ROM CD-ROM # mount /mnt/cdrom # cd /mnt/cdrom #./Install 02/03/20 15 hostname FQDN DNS IP # host < > # host <IP > NIS NIS /etc/hosts DHCP confignis server <NIS domain name> NIS 02/03/20 16 8
EIT eit # /opt/score/bin/eit 02/03/20 17 Keyboard Selection Bugs X window system X window system anaconda 02/03/20 18 9
Network Configuration Bugs Server Name Display 02/03/20 19 NFS Configuration NFS 02/03/20 20 10
Disk Partition Disk Partition Plan 02/03/20 21 2 way SMP 2 prefix 1 Add 02/03/20 22 11
12 02/03/20 23 Candiates Select Select All Candidates Selected 1/2 2/2 Candiates Select Select All Candidates Selected 1/2 2/2 SMP 02/03/20 24
02/03/20 25 Cluster Setup NIC IP 02/03/20 26 13
02/03/20 27 Next 02/03/20 28 14
Exit 02/03/20 29 02/03/20 30 15
02/03/20 31 02/03/20 32 16
02/03/20 33 pcc 02/03/20 34 17
Cluster Setup No 02/03/20 35 SCore (1/3) scoreboard $ scorehosts l g pcc $ sceptic v g pcc msgb $ msgb group pcc scout $ scout g pcc $ scout $ scout date 02/03/20 36 18
SCore (2/3) $ cd /opt/score/sbin $./rpmtest comp1 ethernet reply $ cd /opt/score/sbin $./rpmtest comp0 ethernet dest 1 ping # cd /opt/score/sbin # scout g pcc #./sctest network ethernet 02/03/20 37 SCore (3/3) 02/03/20 38 19
EIT (1/3) EIT anaconda anaconda scorehosts.db pm-myrinet.conf, pm-ethernet.con bininstall server init EIT DHCP IP 02/03/20 39 EIT (2/3) /opt/score/setup/install/ndpostpro.sh EIT /opt/score/setup/install/svrpostpro.sh EIT /opt/score/setup/redhat/instimage/ /opt/score/setup/redhat/instimage/compconf/.conf/ EIT 02/03/20 40 20
EIT (3/3) /opt/score/setup/redhat/instimage/compconf/ Ethernet MAC EIT /opt/score/setup/redhat/instimage/compconf/.conf rename 02/03/20 41 EIT /opt/score/lib/tcl/ndpostpro-skelton /opt/score/lib/tcl/svrpostpro-skelton EIT tcl EIT tcl /opt/score/setup/install/ndpostpro.sh /opt/score/setup/install/svrpostpro.sh 02/03/20 42 21
DHCP EITD Ethernet 02/03/20 43 no firewall DNS FQDN /etc/hosts NIS /etc/exports eit DNS host <hostname> NIS ypcat hosts grep <hostname> /etc/hosts grep <hostname> /etc/hosts exportfs ra /etc/exports eit 02/03/20 44 22
msgb scout No host DNS FQDN /etc/hosts NIS DNS NIS /etc/rc.d/init.d/scoreboard reload /etc/rc.d/init.d/msgbserv stop; /etc/rc.d/init/msgbserve start /opt/score/etc/scoreshosts.db MSGBSERV DNS /etc/hosts, NIS (FQDN) /etc/rc.d/init.d/scoreboard reload /etc/rc.d/init.d/msgbserv stop; /etc/rc.d/init/msgbserve start 02/03/20 45 Disk partition anaconda disk partition Partition 4 Root, /usr, swap 0 Root * /usr 3072 Swap 128 GB swap 02/03/20 46 23