[opensuse] delay boot process
Hi there how can i insert a time delay into the booting of a server? one of my servers has ldap user and authentication data that my terminal server uses. after a power failure and when power is restored both machines come back to life at the same time, but i need the ldap server to be ready before the terminal server. I figured a simple pause would suffice as the servers are running 99% of the time and power failures are few and far between so im not considering wakeonlan, not sure if the network card supports it anyway. thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Evan Ingram wrote:
Hi there
how can i insert a time delay into the booting of a server?
one of my servers has ldap user and authentication data that my terminal server uses. after a power failure and when power is restored both machines come back to life at the same time, but i need the ldap server to be ready before the terminal server. I figured a simple pause would suffice as the servers are running 99% of the time and power failures are few and far between so im not considering wakeonlan, not sure if the network card supports it anyway.
thanks
One method would be add a script which basically consisted of a sleep statement to the init.d scripts before the script loading the network interfaces on the terminal server. (But you you would to ensure that the scripts were run sequentially). Another method would be set the LDAP authentication process on the terminal server to loop until it succeeded. The easiest and least error prone would be if grub is enabled, would be to just change the grub boot delay time on the terminal server. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 26 April 2007, Evan Ingram wrote:
Hi there
how can i insert a time delay into the booting of a server?
one of my servers has ldap user and authentication data that my terminal server uses. after a power failure and when power is restored both machines come back to life at the same time, but i need the ldap server to be ready before the terminal server. I figured a simple pause would suffice as the servers are running 99% of the time and power failures are few and far between so im not considering wakeonlan, not sure if the network card supports it anyway.
I had a similar problem with picking up nfs shares. I found the easiest solution was to add the necessary commands to boot.local for restarting relevant services at the end of the boot process. In your case that would be the ldap dependent services on the terminal server. Dylan
thanks
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-04-26 at 13:16 +0100, Dylan wrote:
On Thursday 26 April 2007, Evan Ingram wrote:
Hi there
how can i insert a time delay into the booting of a server?
Change the: timeout 8 line in /boot/grub/menu.lst. The value is the delay in seconds. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Dylan
-
Evan Ingram
-
G.T.Smith
-
Kenneth Schneider