- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: how to make shutdown.com reboot without asking...
Operating System - OpenVMS
1753901
Members
8929
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО10-03-2010 04:45 AM
тАО10-03-2010 04:45 AM
Re: how to make shutdown.com reboot without asking questions everytime
There are posted examples of folks that have implemented local DCL-based solutions for a network-based SHUTDOWN, and there's also a fully-supported approach:
SYSMAN> SHUTDOWN NODE [/other-stuff]
With Apache running, it's also feasible to set up (for instance) a CGI shutdown command or, well, whatever. DCL is sufficiently capable to make that task feasible in a dozen or two lines of DCL.
Probably ten or twenty lines of DCL using DECnet, too, based on DCL DECnet task-to-task processing, too. Here's an example version that does almost all of what would be needed; everything but the SHUTDOWN itself:
http://h71000.www7.hp.com/wizard/wiz_0159.html
Some of those web-based tools HP is so fond of may (will?) have capabilities here, too, as will the OpenVMS Management Station, etc.
There are many ways to implement this.
And FWIW, there was a bug in the SHUTDOWN or the REBOOT symbols set in the system manager's LOGIN.COM in a release or two of OpenVMS, IIRC. (The argument order of one was briefly messed up, and this again from some dim memory.)
This SHUTDOWN stuff has been discussed; Google is your friend, and the manuals likely have fodder here, too.
SYSMAN> SHUTDOWN NODE [/other-stuff]
With Apache running, it's also feasible to set up (for instance) a CGI shutdown command or, well, whatever. DCL is sufficiently capable to make that task feasible in a dozen or two lines of DCL.
Probably ten or twenty lines of DCL using DECnet, too, based on DCL DECnet task-to-task processing, too. Here's an example version that does almost all of what would be needed; everything but the SHUTDOWN itself:
http://h71000.www7.hp.com/wizard/wiz_0159.html
Some of those web-based tools HP is so fond of may (will?) have capabilities here, too, as will the OpenVMS Management Station, etc.
There are many ways to implement this.
And FWIW, there was a bug in the SHUTDOWN or the REBOOT symbols set in the system manager's LOGIN.COM in a release or two of OpenVMS, IIRC. (The argument order of one was briefly messed up, and this again from some dim memory.)
This SHUTDOWN stuff has been discussed; Google is your friend, and the manuals likely have fodder here, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2010 10:02 AM
тАО10-03-2010 10:02 AM
Re: how to make shutdown.com reboot without asking questions everytime
How about this instead:
$ shutdown0 :== "mcr sysman shutdown node/min=0/noauto"
and:
$ reboot0 :== "mcr sysman shutdown node/min=0/auto"
or even (on IA64):
$ poweroff0 :== "mcr sysman shutdown node/min=0/noauto/power"
Or, why not set up special "shutdown", "reboot" and "poweroff" (IA64 only) accounts that someone can login to and that login will trigger an immediate shutdown / reboot / shutdown_and_poweroff. Make them privileged captive accounts, perhaps without passwords too!
Cheers, Colin.
$ shutdown0 :== "mcr sysman shutdown node/min=0/noauto"
and:
$ reboot0 :== "mcr sysman shutdown node/min=0/auto"
or even (on IA64):
$ poweroff0 :== "mcr sysman shutdown node/min=0/noauto/power"
Or, why not set up special "shutdown", "reboot" and "poweroff" (IA64 only) accounts that someone can login to and that login will trigger an immediate shutdown / reboot / shutdown_and_poweroff. Make them privileged captive accounts, perhaps without passwords too!
Cheers, Colin.
Entia non sunt multiplicanda praeter necessitatem (Occam's razor).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2010 08:28 AM
тАО10-04-2010 08:28 AM
Re: how to make shutdown.com reboot without asking questions everytime
If you're enamored with GUI interfaces, with auto_action set to reboot you can request a crash from the Availability Manager which will lead to a system restart. No need to answer questions or worry about pesky application shutdown.
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 05:03 AM
тАО11-16-2010 05:03 AM
Re: how to make shutdown.com reboot without asking questions everytime
thanks everyone for help.
Scotty
Scotty
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP