- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shutdown delay
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2001 10:31 PM
11-08-2001 10:31 PM
shutdown delay
I would like to know the way for the shutdown command to wait so that all the necessary application services is closed.
for example:
I ve a database which will take 3 minutes to shutdown gracefully.
but when the shutdown or reboot is executed the system reboots only waiting for one minute
which result in the recovery of database but i would be happy if the system waits for more than 3 minutes after the issual of shutdown command.
Any suggestions.
regds
jp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 03:21 AM
11-09-2001 03:21 AM
Re: shutdown delay
for example
shutdown -hy 300
will wait 300 seconds, and then will halt machine
rgds
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 03:32 AM
11-09-2001 03:32 AM
Re: shutdown delay
/etc/shutdown -y -r 60
the time specfied (60sec here) is the time shutdown will wait, before it will start its shutdown sequence.
If your database shutdown scripts is included in the system shutdown procedure (e.g. /sbin/rc2.d/K111Oracle), the database will be shutdown when its script is executed, and system shutdown will continue if this script has finished, even if it takes hours. On the condition you don't launch a background shutdown of the database from within the script of course.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 03:34 AM
11-09-2001 03:34 AM
Re: shutdown delay
It is better to configure database shutdown & startup through init.d, so that when ever u give shutdown it will wait to finish all the K???? scripts to finish.
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 03:44 AM
11-09-2001 03:44 AM
Re: shutdown delay
you can include the oracle database shutdownn script in the startup and shutdown scripts of the OS.
This link must be useful
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x2c268ffa98a2d5118ff10090279cd0f9,00.html
No comments reg. oracle,you are a oracle corp guy.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 04:27 AM
11-09-2001 04:27 AM
Re: shutdown delay
It's a better practice to first shutdown oracle manually before you even venture to shutdown the system .
Generally, if you have a dba in the site
tell him to shutdown the database and once
he is done, bring the system down. Otherwise,
if it's a non-dba shop, you can do it yourself by getting into svrmgrl and shutting it down.
If you would still like to keep it a part
of init.d processes, then include the
shutdown oracle routine in /sbin/init.d/oracle
script. It will take care of the delay problems.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 06:05 AM
11-09-2001 06:05 AM
Re: shutdown delay
It seems like I never have a dba when I need one in a hurry. I believe you will do best to have the database shutdown (startup also) in the rc scripts.
If your database shutdown is already in an rc script then perhaps it is set to run in the background. Obviously, that could be a problem.
If not using an rc script, I would never want to issue a shutdown without being sure the database was stopped.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 06:47 AM
11-09-2001 06:47 AM
Re: shutdown delay
Can't say about the other databases, but you can have dbstart and dbshut for oracle in the system shutdown scripts. That means the system will start the database using dbstart when it comes up and will shutdown the database when it goes down.
If you have this, i think the system will allow the database to shutdown gracefully.
As far as increasing the grace period in the shutdown command is concerned, it hardly makes any difference. The only thing it does is wait for the grace period before the system starts going down. It allow your users to logout within that grace period. If you are able to shutdown before the system being shutdown, then why increase the grace period. Shutdown your database / application and then issue your shutdown command.
The only situation you may want to increase the grace period is when you want someone else to shutdown the database / application after you have issued the shutdown command.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 06:57 AM
11-09-2001 06:57 AM
Re: shutdown delay
The answers has already been given but I'm going to expand on the rc script answer. ALL critical processes need these rc scripts and they need to be properly configured. For example, suppose that your start up database in run-level 3. If you issue and init 2 or an init s that too should shutdown the database (running a kill script in rc2.d). Then when you finish and do an init 3, the database should start back up. This is simply a part of ANY well-implemented application. The problems often occur because the DBA diesn't know UNIX very well or the Sys Admin does know databases very well; these guys MUST work together.
Food for thought, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2001 09:57 AM
11-09-2001 09:57 AM
Re: shutdown delay
And to reiterate, issuing a shutdown command with a delay will make no difference at all to Oracle shutting down, unless someone is manually shutting it down and this gives them more time to do it. Just use the rc scripts instead.