LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-29-2012, 05:17 AM   #1
mahmoodn
Member
 
Registered: May 2010
Posts: 427

Rep: Reputation: 16
worker nodes want to boot faster from the server (!)


we have setup a diskless cluster where there is a server which run DHCP and there are some clients that receive an ip address from the server upon the boot.
The problem is, if the nodes (server + clients) restart unexpectedly (power plant problems), then the server will start dhcp service with delay because the fsck is running. At the mean time, the clients quickly pass the POST process and they want to get IP address from server. The server still has not started the DHCP service, so the clients stuck at the first step of network boot.

My questions:
1) is there any way to prioritize the services on server? For example, I want the DHCP to be the first service!!

2) Currently the clients wait for about 10 seconds to get an IP from server. I mean the | / - | \ progress bar. Is there any way to increase this short timeout?
 
Old 07-29-2012, 07:14 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
fsck runs at a lower level than a service like dhcp and MUCH earlier in the boot process ie specifically during the disk mount process.
You'll have to wait.
 
Old 07-30-2012, 11:18 AM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
What about a network controlled power outlet for the nodes. Hence, after the server is up, you can switch on the nodes from the server.

NB: Do you have any message on the monitor for the BIOS of the network card? In this menu for the network card, you could try to adjust to reboot if there is no response instead of falling to the next boot option (this is not possible with all cards though).
 
Old 08-01-2012, 04:38 AM   #4
mahmoodn
Member
 
Registered: May 2010
Posts: 427

Original Poster
Rep: Reputation: 16
Quote:
fsck runs at a lower level than a service like dhcp and MUCH earlier in the boot process ie specifically during the disk mount process.
You'll have to wait.
What about changing the S numbers in /etc/rcX.d/ to change the priority?

Quote:
NB: Do you have any message on the monitor for the BIOS of the network card? In this menu for the network card, you could try to adjust to reboot if there is no response instead of falling to the next boot option (this is not possible with all cards though).
no
 
Old 08-01-2012, 12:02 PM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Your setup is buggy

Your clients have to wait; you need to switch your clients on once the server is up (as indicated by Reuti). I don't expect that the startup sequence will make a serious difference for your problem.
 
Old 08-01-2012, 08:44 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You need to read up on the boot process, as your suggestion in post#4 makes no sense.
fsck runs BEFORE the disks are mounted; no way you can run a service until the code it depends upon is available from the disk being mounted.
 
Old 08-02-2012, 04:10 AM   #7
mahmoodn
Member
 
Registered: May 2010
Posts: 427

Original Poster
Rep: Reputation: 16
Currently all nodes (clients and server) are plugged in power source. So in case of power problems and recovery, all nodes start at the same time.
What I understand from your replies, is that adding an external device to delay the power current for the clients. Right?
Something like this:

power source -> server
power source -> delay circuit -> clients
 
Old 08-02-2012, 04:20 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Yes

And the nicest solution would be if you don't use a delay circuit but a device controlled by the server (serial port, network); once the server has brought up the dhcp daemon, it can start a process to control that device to power on the clients.

Last edited by Wim Sturkenboom; 08-02-2012 at 04:22 AM.
 
  


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
"udev worker did not accept message" error on boot Dell Mini 9 frankbell Linux - Laptop and Netbook 2 10-28-2010 08:47 PM
[SOLVED] Warning worker http://192.168.1.5/ already used by another worker Apache problem tkmsr Linux - Server 2 06-30-2010 06:37 AM
LXer: Linux 2.6.30 Gets Faster Boot - but is Fedora Faster? LXer Syndicated Linux News 0 06-11-2009 04:40 AM
Pinging All the Nodes Connected to the Server Hi_This_is_Dev Linux - Newbie 1 05-15-2009 09:43 AM
How to boot Mandrake Linux faster (skip boot option) lava Linux - General 7 02-28-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:34 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