Article 123413 of comp.os.vms: Jason Armistead writes in article <1.5.4.16.19970502230926.35076436@magna.com.au> dated Fri, 02 May 1997 14:09:26 -0900: >I'm running OpenVMS AXP V6.2-1H3 on two nodes, each with DCPS 1.3 loaded. I >have a single PrintServer 32 plus running DECnet that I want to implement >fail-over to the remaining node in case of a node shutdown, so I figure I >need the /AUTOSTART_ON queue qualifier in there somewhere. > >Problem is, DCPS does an INIT /QUEUE in DCPS$EXECUTION_QUEUES.COM (which is >called from DCPS$STARTUP.COM), and there doesn't seem to be any way to >specify /AUTOSTART_ON from within the DCPS framework. > >First, the INIT /QUEUE will cancel jobs running on the queue already. INIT/QUEUE won't do anything to a running queue, but it might screw up attributes if it wasn't (during a standalone boot). >Second, the /ON qualifier is not what I require, I need the /AUTOSTART_ON >qualifier (which it doesn't support). > >Although DCPS$EXECUTION_QUEUES says "!! DO NOT MODIFY THIS FILE !!" I see no >way of achieving the desired effect WITHOUT modifying it. I'd need to >change the INIT /QUEUE to a START /QUEUE command, change the /ON to >/AUTOSTART_ON and maybe it would work. You don't need START/QUEUE at all with an autostart queue. What you must do is: 1. Make sure QMAN$MASTER points to the same file for all nodes. Otherwise they will each run their own queue manager and you'll have a separate set of queues on each machine. 2. Comment out any INIT, START, or STOP commands relating to that queue in the startup and shutdown command procedures. 3. Make sure SYSTARTUP_VMS does "ENABLE AUTOSTART" *after* you run through the DCPS-specific startup, not before. 4. Modify the queue manually to be AUTOSTARTable. I consolidated the UCX$SMTP queues on my cluster this way. Never tried it with DCPS, so don't shoot me if I missed an ideosyncracy. >The only thing I could do is to set up the execution queue once, remove the >line from SYSTARTUP_VMS which calls DCPS$STARTUP, and then do the enabling >of AUTOSTART manually. Once an ENABLE AUTOSTART /QUEUES command is added >(and DECnet, TCP/IP, LAT etc are already running), it should work I think. Does DCPS$STARTUP do anything else? --Keith Lewis klewis@mitre.org PGP key available. http://www.clark.net/pub/klewis/ The above may not (yet) represent the opinions of my employer.