Blog

Posted 2011/04/26

How to install a Dori compute node

Now we have our cluster back in working order I have written the instructions for configuring a new compute node.

Installing

Boot the Centos 5.6 Net install CD.
Some screen shots of what you will see are here:
http://www.chrisgountanis.com/technical/45-centos-netinstall.html

When it gets to "Installation Method" choose HTTP
The cluster LAN Ethernet is on eth0.
Set IPv4 to "Manual configuration"
Disable IPv6.

For node node001 the network settings are (fix for other nodes):
Address: 172.16.0.1/16
Gateway: 172.16.100.1
Name server: 198.82.247.66

The correct HTTP Setup settings for Centos 5.6 are:
Website Name: mirror.centos.org
CentOS Directory: centos-5/5.6/os/x86_64

For partitioning use "Remove linux partitions on selected drives and create default layout"

Set the hostname to node001 (fix for other nodes)

Untick Desktop-Gnome in package selections.

First boot

When the first boot setup agent starts.
-> "Firewall configuration"
Set Security level "Disabled"
Set SELinux "Disabled"

Log in as root.

Run yum update and install all updates.

Edit /etc/sysconfig/network and append
NISDOMAIN=dori.cs.vt.edu

Edit /etc/yp.conf and append
domain dori.cs.vt.edu server 172.16.100.1

Edit /etc/nsswitch.conf and change the following:
passwd: files nis
shadow: files nis
group: files nis
hosts: files nis dns

Now run these:
nisdomainname dori.cs.vt.edu
service portmap restart
service ypbind start
chkconfig portmap on
chkconfig ypbind on

Edit /etc/fstab and append
172.16.100.1:/home /home nfs defaults 0 0

Run:
mount -a

visudo and append
%powerusers ALL=(ALL) ALL
%admin ALL=(ALL) ALL

Edit /etc/sysconfig/authconfig and fix
USENIS=yes

Edit /etc/group append
powerusers:x:498:
admin:x:499:

reboot