- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- PXE installation server setup - guidelines please
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 01:47 AM
тАО06-14-2007 01:47 AM
PXE installation server setup - guidelines please
I get a lot of Linux (Redhat & SUSE) installation requests. I want to setup a PXE installation server. Please provide any links / docs to help me with this.
There is a DHCP server which the IT folks maintain already. I donot have any control or access ot it. This DHCP server is used for the desktops.
I know that the PXE installation server requires a DHCP server, can I set and use my own DHCP server?
I donot want my DHCP server to cause any problem with the already existing one in the network. How do I go about this.
Please suggest.
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 06:44 AM
тАО06-14-2007 06:44 AM
Re: PXE installation server setup - guidelines please
I think PXE needs its own DHCP server but you can reserve a small address range and safely use it on a network that has DHCP server as well.
http://www.linux-sxs.org/internet_serving/pxeboot.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 09:25 AM
тАО06-14-2007 09:25 AM
Re: PXE installation server setup - guidelines please
RH comes with tools to set up a PXE-Boot server for installation or diskless-booting, which (after some poking) work reasonably well.
Couple that with KickStart, and you're on your way to a very simple server building platform.
http://www.stanford.edu/~alfw/PXE-Kickstart/PXE-Kickstart.html
Not a bad document, lists most things.
This 'dhcpd.conf' snippet is also of great value:
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
option vendor-class-identifier "PXEClient";
vendor-option-space PXE;
# At least one of the vendor-specific PXE options must be set in
# order for the client boot ROMs to realize that we are a PXE-compliant
# server. We set the MCAST IP address to 0.0.0.0 to tell the boot ROM
# that we can't provide multicast TFTP (address 0.0.0.0 means no
# address).
option PXE.mtftp-ip 0.0.0.0;
# This is the name of the file the boot ROMs should download.
filename "pxelinux.0";
# This is the name of the server they should get it from.
next-server 192.168.2.10;
}
(from http://logout.sh/computers/linux/netboot/ ).
The 'match' and 'option vendor-class-identifier' lines are quite the thing. They (or a combination of them) allow you to pick out a client doing a PXE-boot as against a normal client just wanting an address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2007 10:20 AM
тАО06-14-2007 10:20 AM
Re: PXE installation server setup - guidelines please
For Red Hat you can get most of the benefit and none of the pain by using a network install CD and a kickstart file. I'm not sure what the SuSE equivalent is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2007 12:52 PM
тАО06-19-2007 12:52 PM
Re: PXE installation server setup - guidelines please
Most important: notify the IT folks that you're doing this. A misconfigured DHCP server can make everyone's life miserable.
In the ISC DHCP server (e.g., as distributed by Red Hat) include the line
not authoritative;
within the scope you're serving. That will prevent your DHCP server from sending DHCP NAK packets to legitimate clients of the other DHCP server. Then, distribute addresses only to known MAC addresses. For example:
#
ddns-update-style interim;
ignore client-updates;
not authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.1.254;
option subnet-mask 255.255.255.0;
option nis-domain "example";
option domain-name "example.com";
option domain-name-servers 192.168.1.1, 192.168.2.1;
option time-offset -18000; # Eastern Standard Time
default-lease-time 21600;
max-lease-time 43200;
host pxeclient00 {
fixed-address 192.168.1.100;
hardware ethernet 00:C0:9F:18:B4:FE;
next-server tftpserver;
filename "linux-install/pxelinux.0";
}
}
As the example shows, I use Peter Anvin's pxelinux.0 network boot loader in the next step. There are further instructions at http://syslinux.zytor.com/pxe.php but his examples for dhcpd.conf don't include the
not authoritative;
line, and you MUST include that, or your IT folks will get out the pitchforks!
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2007 05:47 PM
тАО07-03-2007 05:47 PM