Operating System - HP-UX
1748213 Members
2999 Online
108759 Solutions
New Discussion юеВ

Re: Estimate Time for Shutting/Starting Servers

 
SOLVED
Go to solution
S.S.
Super Advisor

Estimate Time for Shutting/Starting Servers

Hi All,

A simple query.

I would like to know, the approximate/estimate time to take for shutting the hp-ux servers and also the starting.

Thanks & Regards
Swetha
8 REPLIES 8
Kapil Jha
Honored Contributor

Re: Estimate Time for Shutting/Starting Servers

depends upon server, which model.
well it does not take much, for superdomes it can take lil longer else normal server comes up maximum in 20minutes.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
S.S.
Super Advisor

Re: Estimate Time for Shutting/Starting Servers

Hi Kapil,

The server models are rp8440 and rp7440.

May i know the estimate time separately.

Only shutdown process (halting the server)

Only startup process after poweron.


Regards
Swetha


Bill Hassell
Honored Contributor
Solution

Re: Estimate Time for Shutting/Starting Servers

There is no way to predict the stop and start times. There is a fixed time from power on or server reset but the exact time (2 mins, 10 mins, etc) depends on the amount of RAM (1GB or 256GB), the number of I/O cards, and the number of disks or LUNs presented to the server. These hardware test times have to be measured for each of your servers. If you don't change the hardware, that time will remain constant.

Next are all the startup and shutdown scripts. Some take a couple of seconds, others may take several minutes, and especially large database and application programs. These may take 10 to 40 minutes to startup. So unless you know the time for each section of startup, all you can do is guess that it will take 3mins to 40mins to startup. Shutdown is similar although usually shorter that startup.

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.i


Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: Estimate Time for Shutting/Starting Servers

>time to take for shutting

Do you want a clean shutdown(1m), or just reboot(1m)?
Any clusters/Serviceguard involved?
S.S.
Super Advisor

Re: Estimate Time for Shutting/Starting Servers

I want to take a clean shutdown.

Yes, clusters (2node) are involved.
Torsten.
Acclaimed Contributor

Re: Estimate Time for Shutting/Starting Servers

IMHO you can only measure this, but nobody can tell you now.


It depends on what the server is, what the server has and what is installed and many other things.


For example, some time ago I booted a server during an installation with about 30 open FC ports (no cable) - took about 45 minutes to load the kernel+selftests+booting up to init 3.

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!   
Kapil Jha
Honored Contributor

Re: Estimate Time for Shutting/Starting Servers

He Swetha,

What I have felt is if you shudown all applications like service guard, oracle and other, before actually shutting down the machine your machine would go down on an average in 20-30minutes.

To come up since it would start the applications and would check hardware and other booting process it may take from 30-45 minutes for the models you have.
ofcourse if everthing is fine :)
BR,
Kapil+
I am in this small bowl, I wane see the real world......
S.S.
Super Advisor

Re: Estimate Time for Shutting/Starting Servers

Thank you all!! :-)