- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Correct combination of INIT/QUEUE/BATCH and EN...
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
тАО03-28-2010 09:00 PM
тАО03-28-2010 09:00 PM
A customer site has two clustered AlphaServer DS25s running VMS 8.2. On the weekend they had a power outage and when power was restored two batch queues didn't start.
The queues in question are configured with /AUTOSTART_ON=(NODE1::,NODE2::) so that (hopefully) they would fail over from one machine to the other in the event the "current" machine went down for some reason.
The system startup procedure does this:
$ INIT/QUEUE/BATCH/AUTOSTART_ON=(NODE1::,NODE2::) -
PROD$DETACH /BASE=3 /JOB=10
$ INIT/QUEUE/BATCH/AUTOSTART_ON=(NODE1::,NODE2::) -
TEST$DETACH /BASE=2 /JOB=20
$ ENABLE AUTOSTART/QUEUES
Is that incorrect (i.e. is that the wrong way to set up an autostart queue at system boot)? The OpenVMS "Cluster Systems" manual doesn't make it entirely clear (in my opinion).
Or was it a result of the sudden failure of both systems, e.g. because the queue manager got confused when they rebooted?
Thanks,
Jeremy Begg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 10:20 PM
тАО03-28-2010 10:20 PM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
did the customer capture the output of the startup procedure or the INIT/QUEUE commands ? Any error messages ?
Did the queues get re-created ? If so, you would be missing the START/QUE command to actually start the queue.
ENABLE AUTOSTART/QUEUES would only start AUTOSTART_ON queues, which had actually been started. If such a queue had manually been stopped, the above command would not have started that queue.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 10:41 PM
тАО03-28-2010 10:41 PM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
Logs from both machines show the message
%JBC-I-QUENOTMOD, modifications not made to running queue
but don't indicate which queues the messages refer to. This is before the ENABLE AUTOSTART/QUEUE command. (There are multiple batch queues being started besides the two autostart queues. I had better see why the startup procedure tries to start the "other"node's batch queues.)
What do you mean by "did the queues get re-created"? The startup procedure does an INIT/QUEUE/BATCH command (see my original query, above) but the queues would have existed prior to the INIT/QUEUE commands. The queues would have been running before power was removed from the systems.
(Note that the systems were *not* shut down; someone just turned off the power, and the systems rebooted by themselves when power was restored.)
Thanks,
Jeremy Begg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 11:03 PM
тАО03-28-2010 11:03 PM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
%JBC-I-QUENOTMOD can only refer to queues already running, so this message couldn't have been related to those 2 autostart batch queues.
With 're-created' I meant to say: if the queues would not have existed during startup, the commands shown would not have started them. If there were existing jobs in those queues, that would prove they had existed before.
Did you check OPERATOR.LOG for any QMAN related error messages ?
Does SHOW QUE/MANA/FULL show a cluster-wide UNIQUE location of the queue-manager database ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 11:27 PM
тАО03-28-2010 11:27 PM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
The queues existed during startup and had jobs retained in them. (I know this because the jobs currently in the PROD$DETACH queue were submitted before the reboot, and the queue is not the target of a generic queue.)
No suspicious messages in OPERATOR.LOG on either node.
Queue manager database is same on both nodes:
%SYSMAN-I-OUTPUT, command execution on node NODE1
Master file: DISK2:[SYSTEM.FILES]QMAN$MASTER.DAT;
Queue manager SYS$QUEUE_MANAGER, running, on NODE1::
/ON=(*)
Database location: DISK2:[SYSTEM.FILES]
%SYSMAN-I-OUTPUT, command execution on node NODE2
Master file: DISK2:[SYSTEM.FILES]QMAN$MASTER.DAT;
Queue manager SYS$QUEUE_MANAGER, running, on NODE1::
/ON=(*)
Database location: DISK2:[SYSTEM.FILES]
Thanks,
Jeremy Begg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 11:39 PM
тАО03-28-2010 11:39 PM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
did the ENABLE AUTOSTART/QUEUES command actually get executed during startup ? Are these the only autostart queues on the system ?
What did you do the start the queue again ?
Sorry for those questions, but in general I assume that OpenVMS is working and I'm trying to find the error elsewhere.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2010 11:46 PM
тАО03-28-2010 11:46 PM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
The ENABLE AUTOSTART/QUEUES command was run on both nodes during startup. There are a number of autostart printer queues which appear to have started OK, it's only the two autostart batch queues which didn't start.
To get them going I used $ START/QUEUE.
Regards,
Jeremy Begg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2010 12:09 AM
тАО03-29-2010 12:09 AM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
what was the state of the queues before your started them manually ?
You could add the /START qualifier to the INIT command, but then that would start the autostart-queues, even if they had been manually stopped before (by a system manager).
Do you have a test system, where you can test the various permutations ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2010 12:17 AM
тАО03-29-2010 12:17 AM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
I don't currently have a test cluster to reboot at will. (Perhaps I should consider building an emulated one.)
Thanks
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2010 12:32 AM
тАО03-29-2010 12:32 AM
Re: Correct combination of INIT/QUEUE/BATCH and ENABLE AUTOSTART/QUEUE
'stopped, autostart inactive' means that the queue had DEFINITELY been stopped somehow. 'autostart inactive' means, that that queue would NOT be started by ENA AUTO/QUEUES.
This is the expected state, if you have issued your INIT/QUEUE... command (and the queue had been just created).
Or if you had previously stopped the queue manually.
As a workaround, consider to add a START/QUEUE command to your startup.
You should try to reproduce this with a single test system first. If you can't reproduce it, you might need a cluster. Using an emulator would make much sense here, you now have the choice between PersonalAlpha and FreeAXP.
Volker.