- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Automate system reboot
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
03-16-2006 07:24 AM
03-16-2006 07:24 AM
I have tried creating a com file with the following 2 lines:
1.reboot :==@sys$system:shutdown 15 shutdown yes no later yes none
2.reboot
This seems to invoke the shutdown routine, but when it shuts down the queue's the job is ended before finishing.
I'm running OpenVMS v7.3-1 on a DS25.
Thanks in advance,
Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 07:45 AM
03-16-2006 07:45 AM
Re: Automate system reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 09:14 AM
03-16-2006 09:14 AM
Re: Automate system reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 11:14 AM
03-16-2006 11:14 AM
Re: Automate system reboot
Using SYSMAN's SHUT NODE command, you can do this.
$ mcr sysman
set env/node=target
shut node /automatic_reboot /invoke_shutdown -
/minutes_to_shutdown=mnts -
/reason="some" /reboot_check
exit
$ exit
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 11:25 AM
03-16-2006 11:25 AM
Re: Automate system reboot
The other method as per Mr.Jim suggestion, you can create one small comd procedure(st.com) with only command that is your shutdown command and RUN loginout.exe as DETACHED process...
st.com
-------
...
$ @sys$system:shutdown 10 "reboot" no - yes "auto reboot" no reboot_check
$ exit
and
$ run/detached/input=[]st.com -
/output=sys$manager:shutdown.log -
sys$system:loginout
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 12:41 AM
03-17-2006 12:41 AM
Re: Automate system reboot
Why do you need to reboot VMS? ;-)
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 01:40 AM
03-17-2006 01:40 AM
Re: Automate system reboot
Jim,
I tried the command you attached and it worked perfectly!!!
For some reason the system sometimes goes unresponsive - No connections allowed, which we're looking into, and testing our environment on a test system. In the meantime i've been restarting the system a few times a week in the middle of the night to suppress the issue.
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 02:31 AM
03-17-2006 02:31 AM
Re: Automate system reboot
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 02:39 AM
03-17-2006 02:39 AM
Re: Automate system reboot
Some of the most common causes are
page files filling up
$show mem/files
regularly
Running out of pagedyn
$show mem/full/pool
the pagedyn should be 50% free. It can't expand.
Not being able to expand npagedyn.
Seame
$sho mem/full/pool
Those account for probably 95% of the hangs.
Make sure you are up to date on ECOs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 02:54 AM
03-17-2006 02:54 AM
Re: Automate system reboot
I check the paged & nonpaged Dynamic Memory as you suggested.
Here's the output:
Paged:
Current Size = 7.94MB
Free Space = 4.67MB
NonPaged:
Current Size = 7.53MB
Maximum Size = 29.88MB
Free Space = 1.06MB
Should the nonpaged have more space available?
I know we are marginally behind on ECO's and have currently applied them to our test environment for observation, before installing in production.
Thanks,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:13 AM
03-17-2006 03:13 AM
Re: Automate system reboot
Is there anyway to monitor the % of CPU use for all processes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 03:29 AM
03-17-2006 03:29 AM
Re: Automate system reboot
MONITOR PROCESS/TOPCPU/INT=1 will show the top 8 (I believe it can fit 8 on the screen) if there are that many computing processes at the time.
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 04:37 AM
03-17-2006 04:37 AM
Re: Automate system reboot
sh sys/node=xxx, to see if you have processes in RWxxx states, or PFG, or MUTEX...
or
mc sysman set env/node=xxx
do ...
$ dir sys$examples:*mon*.com should show you 3 files which can have monitor stats run regularly. Then after a hang, you can see until when the node responded and if something strange happened, by replaying the monitor files.
$ monitor/input=file/beg=.../end=... monitor_item
But the best thing to do is to take crash, as already said. You will then know what is wrong and be able to cure that problem.