|
# PXE boot nodes into a live image
|
|
# PXE boot nodes over the network
|
|
|
|
|
|
## TL;DR version
|
|
## TL;DR version
|
|
follow the following 3 guides (in order) to get a working PXE boot setup. Watch out for pitfalls like iptables and user permission problems though.
|
|
follow the following 3 guides (in order) to get a working PXE boot setup. Watch out for pitfalls like iptables and user permission problems though.
|
... | @@ -14,6 +14,42 @@ http://www.server-world.info/en/note?os=CentOS_6&p=pxe&f=4 |
... | @@ -14,6 +14,42 @@ http://www.server-world.info/en/note?os=CentOS_6&p=pxe&f=4 |
|
- install dhcpd like described in guide 1.
|
|
- install dhcpd like described in guide 1.
|
|
- configure dhcpd to provide individual PXE boot information for each diskless server
|
|
- configure dhcpd to provide individual PXE boot information for each diskless server
|
|
|
|
|
|
|
|
...
|
|
|
|
# Uni Ulm DNS server
|
|
|
|
option domain-name-servers 134.60.1.111;
|
|
|
|
|
|
|
|
# default lease time
|
|
|
|
default-lease-time 600;
|
|
|
|
|
|
|
|
# max lease time
|
|
|
|
max-lease-time 7200;
|
|
|
|
|
|
|
|
# this DHCP server to be declared valid
|
|
|
|
authoritative;
|
|
|
|
|
|
|
|
# specify network address and subnet mask
|
|
|
|
subnet 10.1.1.0 netmask 255.255.255.0 {
|
|
|
|
# specify the range of lease IP address
|
|
|
|
# range dynamic-bootp 10.1.1.108 10.1.1.110;
|
|
|
|
# range dynamic-bootp 10.1.1.113 10.1.1.116;
|
|
|
|
|
|
|
|
# specify broadcast address
|
|
|
|
option broadcast-address 10.1.1.255;
|
|
|
|
|
|
|
|
# specify default gateway
|
|
|
|
option routers 10.1.1.11;
|
|
|
|
|
|
|
|
# add fixed hosts here
|
|
|
|
host myhost {
|
|
|
|
hardware ethernet 00:1E:67:39:84:03;
|
|
|
|
fixed-address 10.1.1.108;
|
|
|
|
option host-name "computenode08";
|
|
|
|
ddns-hostname "computenode08";
|
|
|
|
next-server 10.1.1.12;
|
|
|
|
filename "computenode08/pxelinux.0";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
...
|
|
|
|
|
|
## previous attempt
|
|
## previous attempt
|
|
- saved computenode12 MAC addresses in a txt file
|
|
- saved computenode12 MAC addresses in a txt file
|
... | | ... | |