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
Discussions
Discussions
Forums
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
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
тАО05-23-2005 08:47 AM
тАО05-23-2005 08:47 AM
script
- Tags:
- Reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 08:50 AM
тАО05-23-2005 08:50 AM
Re: script
A script to reboot the server is not a good idea. A system reboot should be an interactive process which happens once in a while. It is not a daily operation for which you should need a script. However i'm sure someone would probably have one such script handy.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 08:58 AM
тАО05-23-2005 08:58 AM
Re: script
The simpliest way to do something like this would be to just shutdown or reboot from cron with two small scripts added.
One would be a script that would send mail just as the shutdown begins.
The second would be a script that sends mail when reboot finishes (i.e. called from an Sxxx script).
This would give you a feel for both the going down and coming up times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 09:15 AM
тАО05-23-2005 09:15 AM
Re: script
You can't do something like an "echo $?" for a reboot.
You would have to look through the /etc/rc.log and look for the status of all of the startup scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2005 09:25 AM
тАО05-23-2005 09:25 AM
Re: script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:25 AM
тАО05-24-2005 02:25 AM
Re: script
Why the need to reboot your HP-UX systems on a regural base? The only reason for a reboot (I can think of) is changing kernel parameters (needing a reboot).
Personally, I definitely want to be around rebooting a server. If needed, you can interact.
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2005 02:41 AM
тАО05-24-2005 02:41 AM
Re: script
Since everything I mentioned is man-made, nothing is perfect.