O
Cluster Beowulf é um cluster de alto desempenho, nossa montagem do cluster inicia-se na instalação do
Debian, aqui utilizado a versão 7. Instale o Debian com o nome de "servidor" no mestre e com o nome de "no0x" nos escravos, o usuário utilizado é o mesmo em todas as máquinas do Cluster chamado aqui de
kluster.
A rede foi configurada como DHCP em todas as máquinas.
Antes de iniciarmos a instalação dos pacotes, temos que arrumar o
sources.list das máquinas:
# nano /etc/apt/sources.list #Servidor e nós.
sources.list (nós):
#escrito por diocelio larsen 1.0
# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 CD Binary-1 20130615-23:06]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 CD Binary-1 20130615-23:06]/ wheezy main
deb http://ftp.br.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.br.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-backports main contrib non-free
sources.list (servidor):
#escrito por diocelio larsen 1.0
# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 CD Binary-1 20130615-23:06]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 CD Binary-1 20130615-23:06]/ wheezy main
deb http://ftp.br.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.br.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ wheezy-updates main contrib non-free
deb http://mirrors.kernel.org/debian/ wheezy-updates main contrib non-free
deb-src http://mirrors.kernel.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
Preparando as máquinas para o cluster (execute todos os comando a seguir como root):
# apt-get update #(servidor e nós)
# aptitude safe-upgrade #(servidor e nós)
# aptitude install build-essential module-init-tools kernel-package initramfs-tools #(servidor e nós)
# aptitude install autoconf libaal-dev wget liblzo2-dev gzip libncurses5 libncurses5-dev dpatch udev #(servidor e nós)
# apt-get update #(servidor e nós)
# apt-get install gfortran-* #(servidor e nós)
# shutdown -r now #(servidor e nós)