LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2009, 10:53 AM   #1
strubbldesign
Member
 
Registered: Aug 2009
Distribution: Gentoo Xenserver (x/k)ubuntu CentOS
Posts: 36

Rep: Reputation: 15
debian cluster


hi everyone!!

i've tried to build a cluster:

i use 3 IPB lenovo ThinkCentre (4GB Ram, Intelcore DUO, 160GB HD, Intel Ethernetcard with PXE)

on one ive installed debian
and made the guide from http://www.in2dwok.com/indawok/?page_id=16

everything worked fine but the only 2 lines i wasnt able to do were
Code:
make patch
make defconfig
maybe this has something to do with this...

i tried to boot up the nodes but get only something like this
Quote:
GNU GRUB 0.97...

Address 10.60.66.121
Netmask 0.0.0.0
Server 10.60.660.121
Gateway 0.0.0.0

Minimal bashlike....

grub>
address and server are correct but netmask and gateway are incorrect...

ive done everything like the howto told me but i replaced the address (192.168.0.1 with 10.60.66.120; and 192.168.0.101 with 10.60.66.121)
as a nameserver i use the one of the local school 10.200.200.1)

thanks for any help
 
Old 09-14-2009, 04:00 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
There's probably something wring with the dhcpd configuration (when editing /etc/dhcp3/dhcpd.conf).

My suggestion for part3:
Code:
subnet 10.60.66.0 netmask 255.255.255.0 {
option routers 10.60.66.120;
option broadcast-address 10.60.66.255;
}
Note that if you use netmask 255.0.0.0 then subnet and broadcast in the section above will be different (10.0.0.0 and 10.255.255.255, respectively).
 
Old 09-14-2009, 06:57 PM   #3
strubbldesign
Member
 
Registered: Aug 2009
Distribution: Gentoo Xenserver (x/k)ubuntu CentOS
Posts: 36

Original Poster
Rep: Reputation: 15
Well i know About your suggestion meaning of subnetmasking.
Still want to use a c-Class Network (don't own so many noses) ;D

apretiate help
 
Old 09-15-2009, 04:20 AM   #4
strubbldesign
Member
 
Registered: Aug 2009
Distribution: Gentoo Xenserver (x/k)ubuntu CentOS
Posts: 36

Original Poster
Rep: Reputation: 15
well ive doublechecked the config files

rebooted the system and still get no gateway and netmask

pxegrub is also not loading
I just get a minimal bash

when i try to enter
grub> root (nd)

i get filesystemtype is tftp, using the hole disk
to boot the kernel i tried to
grub> kernel /vmlinuz-2.6.20-krg

UNDI API call 0x0025 failed with status 0x0001
and more lines like this one...

Last edited by strubbldesign; 09-15-2009 at 04:27 AM. Reason: aditional info
 
Old 09-15-2009, 08:26 AM   #5
strubbldesign
Member
 
Registered: Aug 2009
Distribution: Gentoo Xenserver (x/k)ubuntu CentOS
Posts: 36

Original Poster
Rep: Reputation: 15
step 2

i've done the trick...

ive changed tftpd-hpa to atftpd and made changes like:
http://www.kerrighed.org/wiki/index....SROOT_(contrib)

all nodes get the correct ip nm gw and broadcastaddress

but i get the error while booting the nodes, that i they cant find the files

Quote:
PXE-T01: file not found
PXE-E3B-TFTP Error file not found
PXE-M0F exiting Intel boot agent
so here are my config files...

please help me...

/etc/default/atftpd
Quote:
USE_INETD=false
OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 2 --maxthread 100 --daemon --verbose=5 path=/srv/tftp/"
is this correct to set default tftp dir to /srv/tftp ??

/srv/tftp/pxelinux.cfg/default:
Quote:
timeout 5
default vmlinuz-2.6.20-krg
label DebianCluster by Andi
kernel /vmlinuz-2.6.20-krg
append console=tty1 root=/dev/nfs nfsroot=10.60.66.120:/NFSROOT/kerrighed ro ip=dhcp pci=nommconf
/etc/default/dhcp3-server
Quote:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
/etc/dhcp3/dhcpd.conf
Quote:
###Part1

#GRUB magic
option grub-menu code 150=string;

#general options
option dhcp-max-message-size 2048;
use-host-decl-names on;
deny unknown-clients;
deny bootp;

###Part2
option domain-name "mycluster.home";
option domain-name-servers 10.200.200.1;
option ntp-servers ntp.network.net;

###Part3
subnet 10.60.66.0 netmask 255.255.255.0 {
option routers 10.60.66.120;
option broadcast-address 10.60.66.255;
}

###Part4
group {
filename "pxelinux.0";
next-server 10.60.66.120;
option grub-menu = concat("(nd)/grub/", host-decl-name);
option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,96);
option root-path "10.60.66.120:/NFSROOT/kerrighed";
host ssi1 {fixed-address 10.60.66.121; hardware ethernet 00:09:6B:1D:B2:56;}
host ssi2 {fixed-address 10.60.66.122; hardware ethernet 00:21:86:ED:E9:6B;}
}
/etc/exports
Quote:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
/NFSROOT/kerrighed *(ro,async,no_root_squash,no_subtree_check)
/NFSROOT/kerrighed/tmp *(rw,sync,no_root_squash,no_subtree_check)
/NFSROOT/kerrighed/var *(rw,sync,no_root_squash,no_subtree_check)
/NFSROOT/kerrighed/dev *(rw,sync,no_root_squash,no_subtree_check)
/NFSROOT/kerrighed/root *(rw,sync,no_root_squash,no_subtree_check)
/etc/fstab
Quote:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=0287639f-863d-4b55-a158-6ae2ae9dcead / ext3 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=503f4ef1-d527-46fe-84ad-76761d03e06d none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/etc/hosts
Quote:
127.0.0.1 localhost
10.60.66.120 server.mycluser.home server

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
/srv/tftp/grub/ssi1 (und 2)
Quote:
timeout 5

title Kerrighed Cluster by Andi
root (nd)
kernel /vmlinuz-2.6.20-krg root=/dev/nfs ip=dhcp nfsroot=10.60.66.120:/NFSROOT/kerrighed session_id=121
and from my chrooted environment the /etc/fstab
Quote:
# a swap partition
#/dev/sda none swap sw 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /var/run tmpfs defaults 0 0
#NFSROOT
10.60.66.120:/NFSROOT/kerrighed/dev /dev nfs rw,hard,nolock 0 0
10.60.66.120:/NFSROOT/kerrighed/var /var nfs rw,hard,nolock 0 0
10.60.66.120:/NFSROOT/kerrighed/tmp /tmp nfs rw,hard,nolock 0 0
10.60.66.120:/NFSROOT/kerrighed/root /root nfs rw,hard,nolock 0 0
10.60.66.120:/NFSROOT/kerrighed/etc /etc nfs rw,hard,nolock 0 0

#TMPFS
none /var/run tmpfs defaults 0 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xen Cluster Management With Ganeti On Debian Lenny LXer Syndicated Linux News 0 03-03-2009 03:50 PM
Best Way to Cluster with Debian? triviawiz425 Debian 5 02-07-2009 08:39 AM
Debian Troubles (/cluster) matt.rutherford Linux - Server 2 01-29-2008 02:22 AM
LXer: Xen Cluster Management With Ganeti On Debian Etch LXer Syndicated Linux News 0 09-18-2007 07:42 PM
Debian Cluster Components help microsoft/linux Debian 0 03-08-2005 08:44 AM


All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration