LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2017, 10:36 AM   #1
geeklizard
LQ Newbie
 
Registered: Apr 2017
Posts: 3

Rep: Reputation: Disabled
PXE Booting 60 hosts + mdadm


I have 60+ nearly identical machines that I need to convert to PXE booting. Each has 6 elderly 3TB hard disks. To mitigate the risk of disk drive loss, I need to build a RAID 6 using mdadm. Building the RAID is not a problem, but I need some clues as to how to build the PXE boot image.
I want to boot all the machines off of PXE on a CentOS 7 server using a single image. I have already set up DHCP and DNSMASQ on the server. What I need now is to build a Linux kernel, and OS image that each machine will load into its own RAMDISK. Once booted, the machine will build a RAID 6 using all 6 of its onboard disk drives.
The application is Hadoop, so Ambari needs to be part of the install. I have found that the default CentOS install also needs a bunch of yum updates, so I would like have all these built into the OS image.
All the websites I am finding are about installing a new OS on a local hard disk after PXE booting. I want PXE to build a RAMDISK and load the OS into that. Once its up, I can do the rest.
Where to start?
 
Old 04-12-2017, 02:36 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Hello and welcome to LQ.

There is quite a lot of ways to do this. Not sure which way to suggest.

This is one example using kickstart. https://www.server-world.info/en/not...OS_7&p=pxe&f=3

Might look at backula also and other backup schemes that work with pxe.

Making each system unique may require other changes. Sometimes RH based distros don't fully clone correctly. May have to watch out for unique naming.
 
1 members found this post helpful.
Old 04-12-2017, 03:27 PM   #3
geeklizard
LQ Newbie
 
Registered: Apr 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for replying

Quote:
Originally Posted by jefro View Post
Hello and welcome to LQ.

There is quite a lot of ways to do this. Not sure which way to suggest.

This is one example using kickstart. https://www.server-world.info/en/not...OS_7&p=pxe&f=3

Might look at backula also and other backup schemes that work with pxe.

Making each system unique may require other changes. Sometimes RH based distros don't fully clone correctly. May have to watch out for unique naming.
I know that Amazon and all the big cloud hosting providers use PXE to boot their servers. I can't seem to find out exactly how they do that. Those server farms consist of diskless machines, with nice fiber HBA's and some gigEther connections.

My architect tells me that we need not be terribly concerned for which applications reside on which host, hence naming is important but not THAT important. Each host should get its name and IP address from the DHCP server. This should be sufficient so that each host will run a configure_me script at startup.

I don't know Kickstart, but it looks interesting to me. I tried looking at some "Introduction to Kickstart" web pages but I will need to know a lot more than just the introductory stuff. Somebody, someplace has done this and is doing it. I just need some clues as to where to look.
 
  


Reply



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
PXE booting again TheStarLion Linux - Distributions 4 06-25-2010 07:33 PM
mdadm says "mdadm: /dev/md1 not identified in config file" when booting FC7 raffeD Linux - Server 1 08-11-2008 11:47 AM
Booting from PXE veeruk101 Linux - Networking 5 11-23-2006 09:53 PM
mdadm and booting Boss Hoss Linux - Software 2 07-11-2006 09:17 PM
PXE Booting pvlajith Red Hat 1 06-06-2006 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:47 AM.

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
Open Source Consulting | Domain Registration