[Info-vax] Best way to stop batch queue startup when system is started

Rich Jordan jordan at ccs4vms.com
Mon Jun 20 13:13:36 EDT 2022


More fun with the DR server.  All the data and user disks are image backed up and restored to the DR server each night (operations are quiesced so we know they are clean).  System disk gets an occasional standalone backup that is restored to the DR box production system disk (it is running on an alternate disk for all of these ops), but most nights an evil online backup is performed, transferred, and then only specific files (SYSUAF, etc) are overlayed on the DR server's offline production system disk.

Is there a best way to stop all batch queues when/if this system is booted on its production disk?  It will have jobs that were pending at the time backup was done (the standalone backups) which will of course try to run when the batch queues start.  We want the job controller up, queue manager _preferably_ up, print queues don't care, but batch queues ALL stopped.

Queues are a mix of autostart and normal queues.  I can change the autostarts to not be autostart.

Right now my thought is to make sure all the batch queue defines and starts are in a single startup procedure (they are supposed to be but the system was customer managed for many years and now they are not) and drop in a no-op procedure same name next higher version that just exits.

The onsite manager would have docs telling them to check the queues, clear the jobs as needed, and then delete the no-op file and run the real one.

Or could pick out the serial number or MAC address or other unique ID and run batch startups when on the main server and bypass when on the DR server.

Looked through the startup whitepaper and docs for means to use a different boot option selection but I don't see a way to pass that intention through to the startup

Ideas appreciated.
Thanks
Rich



More information about the Info-vax mailing list