Operating System - HP-UX
1751975 Members
5241 Online
108784 Solutions
New Discussion юеВ

Re: system requires to boot more fastly

 
DENNY JOSEPH_1
Occasional Contributor

system requires to boot more fastly

is there any way to boot hp-ux system boots more fastly
11 REPLIES 11
Steven Schweda
Honored Contributor

Re: system requires to boot more fastly

1. Faster hardware.

2. Faster or less software.

How fast is it now? How fast would be fast
enough?

With exactly no information about what you're
doing, and why, it's hard to make specific
suggestions. With a question this vague, did
you really expect much useful information?
Dennis Handly
Acclaimed Contributor

Re: system requires to boot more fastly

Why do you need to boot so often that this matters?
Are you patching? Is the system crashing?
Bill Hassell
Honored Contributor

Re: system requires to boot more fastly

The first thing to do is to find which steps take the most time. Then determine whether you need that step in the bootup process. The best way to measure the start/stop time is to add a timestamp in front of each script. To do this, edit the file:

/sbin/rc.utils

Around line 610-620, there is a line that looks like this:

echo "----------------------------" >> $LOGFILE

Change this line to:

echo "---------------------------- $(date)" >> $LOGFILE

Then modify the second command around line 740, just like the previous line. From now, the startup and shutdown steps will be logged with a timestamp in /etc/rc.log.

Then reboot and look at the file: /etc/rc.log. You'll see the start time for each step. Look for a long delay between two steps.

What is the time for your current system? If it is 1 minute or less, then you can't improve on that very much at all. If it is 30 mins or more, you have some application that is taking far too much time to start and needs to be fixed. If the delay is in NFS steps, turn off NFS in the /etc/rc.config.d scripts. NFS is notroius for long delays when it isn't used or a remote NFS server is not working.


Bill Hassell, sysadmin
VK2COT
Honored Contributor

Re: system requires to boot more fastly

Hello,

Which boot time do you have in mind:

a) Hardware checks;

b) Real boot process.

The latter one is easy to check.
In fact, one of the tests in my Perl scripts
covers it:

BEGIN CHECKING BOOT PROCESS TIMINGS 01-03-2010-14:39:45
_______________________________________________________
AUDIT-INFO: Boot timings as recorded in current /etc/rc.log
HP-UX Start-up in progress
Mon Mar 1 13:00:42 EDT 2010
HP-UX run-level transition completed
Mon Mar 1 13:09:10 EDT 2010

This was on a server rx2660. You can see
these lines in /etc/rc.log. As well,
you can add measurements in each RC
start-up script (as others already pointed
it out).

If you want to speed up hardware checks,
then use HP-UX 11.31 and check Fastboot
options for example:

http://docs.hp.com/en/5991-1247B_ed2/ch05s25.html

Regards,

VK2COT
VK2COT - Dusan Baljevic
DENNY JOSEPH_1
Occasional Contributor

Re: system requires to boot more fastly

Actually my question is that i am 100% sure that my all the hardware , lvm everything working fine. and I just want to skip all these checkings while booting ...is it possible... can any body help..?

Torsten.
Acclaimed Contributor

Re: system requires to boot more fastly

On most servers you can configure "fastboot", this disables some of the hardware tests after power on.

But this can cause a problem later, if there is a not detected problem with the hardware.

I would not do this.


Most servers have an uptime of several weeks, months or whatever, so boot time is rarely an issue.

However, it's faster than years ago - remember the old k-classes with a boot time of 40 minutes ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: system requires to boot more fastly

Hi Denny:

> Actually my question is that i am 100% sure that my all the hardware , lvm everything working fine. and I just want to skip all these checkings while booting ...is it possible... can any body help..?

Re-read VK2COT's comments above. I don't think you paid sufficient attention to his pointers to FASTBOOT. You can disable various hardware tests if you insist.

Of course, as usual, knowing *exactly* what hardware and/or release you are running would lead to a more detailed answer.


Regards!

...JRF...
John Guster
Trusted Contributor

Re: system requires to boot more fastly

to speed up, one of thing one can do is to let the process run at backgroud. That is don't wait it finished then move to start next process.
James R. Ferguson
Acclaimed Contributor

Re: system requires to boot more fastly

Hi (again) Denny:

To add to Torsten's comment advising against doing this, I would agree *unless* you are doing a series of reboots for software updates. Then, you might temporarily defeat some of the hardware self-tests to shorten your overall downtime.

Regards!

...JRF...