Difference between revisions of "Cluster: New BobSCEd Install Log"

From Earlham CS Department
Jump to navigation Jump to search
(Head Node)
Line 23: Line 23:
 
** See [[Cluster: Ganglia README | Ganglia README]]
 
** See [[Cluster: Ganglia README | Ganglia README]]
 
** <code>./configure --prefix=/cluster</code>
 
** <code>./configure --prefix=/cluster</code>
** It looks for the config in /etc/ganglia/gmond.conf, so I symlinked to there from /etc/cluster/gmond.conf
+
** The head node uses a different Ganglia gmond.conf in /etc/ganglia/gmond.conf and the workers just have theirs symlinked to /cluster/etc/gmond.conf
** Configured ACLs (see gmond man page)
 
 
** By default, iptables is running on the CentOS install and blocks hopper's Ganglia requests
 
** By default, iptables is running on the CentOS install and blocks hopper's Ganglia requests
*** For now, <font color="green">disabled iptables - needs to be further looked into</font>
+
*** Turned off by clearing it and then running <code>/sbin/service iptables save</code>
  
 +
'''Networking'''
 
* Shorewall, see <code>/etc/shorewall/params</code> for almost all of the important definitions
 
* Shorewall, see <code>/etc/shorewall/params</code> for almost all of the important definitions
 
** Natting is done through <code>/etc/shorewall/masq</code>
 
** Natting is done through <code>/etc/shorewall/masq</code>
 
 
* DHCP relay, added to boot with <code>chkconfig on</code>, set for hopper (installed as part of dhcp yum package)
 
* DHCP relay, added to boot with <code>chkconfig on</code>, set for hopper (installed as part of dhcp yum package)
 
** See <code>/etc/sysconfig/dhcrelay</code>
 
** See <code>/etc/sysconfig/dhcrelay</code>
Line 38: Line 37:
 
:<code>route_bs0="192.168.0.1 159.28.234.200"</code>
 
:<code>route_bs0="192.168.0.1 159.28.234.200"</code>
  
 +
'''Modules'''
 
* Installed environment-modules from http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/environment-modules.html
 
* Installed environment-modules from http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/environment-modules.html
 
** Important directories: <code>/usr/share/Modules/</code>
 
** Important directories: <code>/usr/share/Modules/</code>

Revision as of 10:02, 13 August 2009

Scratch Space

Log

Green color indicates something that still needs to be done.

Head Node

Yum installed:

  • gcc.x86_64, gcc-c++.x86_64
  • for Ganglia:
    • apr.x86_64 and apr-devel.x86_64
    • libconfuse-2.5-4.el5.x86_64.rpm, libconfuse-devel-2.5-4.el5.x86_64.rpm (from Fedora repositories)
    • expat-devel.x86_64

Install C3 tools from http://www.csm.ornl.gov/torc/C3/C3softwarepage.shtml

  • Downloaded full install rpm on bs0, installed with yum --nogpgcheck localinstall c3-4.0.1-1.noarch.rpm

Ganglia

  • On hopper, added the data_source line for bs0 to /usr/local/etc/gmetad.conf and restarted it with /usr/local/etc/rc.d/gmetad restart
  • Downloaded tar ball from http://sourceforge.net/projects/ganglia/
    • See Ganglia README
    • ./configure --prefix=/cluster
    • The head node uses a different Ganglia gmond.conf in /etc/ganglia/gmond.conf and the workers just have theirs symlinked to /cluster/etc/gmond.conf
    • By default, iptables is running on the CentOS install and blocks hopper's Ganglia requests
      • Turned off by clearing it and then running /sbin/service iptables save

Networking

  • Shorewall, see /etc/shorewall/params for almost all of the important definitions
    • Natting is done through /etc/shorewall/masq
  • DHCP relay, added to boot with chkconfig on, set for hopper (installed as part of dhcp yum package)
    • See /etc/sysconfig/dhcrelay
    • This means that a dhcp server is also installed, but it is not set to run and is not configured, either
    • Hopper needs to have a static route added in order to have the responses return, these are in /etc/rc.conf:
static_routes="bs0"
route_bs0="192.168.0.1 159.28.234.200"

Modules