4 node cluster not accepting DHCP leases. CentOS 5
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
4 node cluster not accepting DHCP leases. CentOS 5
Ok, so here's the deal. I'm setting up a 4 diskless-node cluster, attached to a headnode, in order to run computations. Each node has been set to discover DHCP addresses at boot.
I set up the headnode to broadcast DHCP, via eth1, and give each node a static IP address. After viewing /var/log/messages, I see that the OFFER is given to the right machine, with the right IP address, but the node rejects it. I'm posting the DHCP config file code, the NIC config file for eth1, and the log entry.
/etc/dhcpd.conf says:
ddns-update-style interim;
ignore client-updates;
subnet 10.10.10.0 netmask 255.255.255.0 {
range 10.10.10.1 10.10.10.255;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.10.255;
option routers 10.10.10.1;
option domain-name "rocketcalc";
option domain-name-servers (has a name server specified);
default-lease-time 21600;
max-lease-time 43200;
}
Jul 11 00:50:24 mike dhcpd: DHCPDISCOVER from 00:30:48:73:97:3a via eth1
Jul 11 00:50:24 mike dhcpd: DHCPOFFER on 10.10.10.101 to 00:30:48:73:97:3a via eth1
Jul 11 00:50:32 mike dhcpd: DHCPDISCOVER from 00:30:48:73:97:3a via eth1
Jul 11 00:50:32 mike dhcpd: DHCPOFFER on 10.10.10.101 to 00:30:48:73:97:3a via eth1
That's all that happens, and the nodes respond "No boot-filename received". Any help would be great! Cheers!
You need to setup a tftp server and propagate the boot file to use. In the tftp-root you should have a pxelinux.0 file and pxelinux.cfg config dir where for example a file like 01-00-1A-AA-BB-CC-DD configures the boot options for server6.
# File: 01-00-1A-AA-BB-CC-DD
# This configuration is used to boot the RHEL4 boot image
DEFAULT /bootimages/rhel/5/x86_64/vmlinuz
APPEND lang=en_US keymap=de-latin1 ksdevice=eth0 ip=dhcp method=http://192.168.42.1/yum/rhel/5/latest/x86_64
initrd=/bootimages/rhel/5/x86_64/initrd.img console=ttyS0,115200
OK, I got a TFTPboot server running, and I'm going to point it to mount /home and read/write and / as read-only. Thanks for your reply. Sorry for the delay, was moving and had no Internet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.