Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"It is easier to fight for principles than to live up to them." -- Alfred Adler


computers / comp.os.vms / Re: Best way to stop batch queue startup when system is started

SubjectAuthor
* Best way to stop batch queue startup when system is startedRich Jordan
`- Re: Best way to stop batch queue startup when system is startedStephen Hoffman

1
Best way to stop batch queue startup when system is started

<4bfeb6a6-2b0a-4c60-b7b5-800762455c7en@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23204&group=comp.os.vms#23204

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:adf:e196:0:b0:219:f3c7:fd88 with SMTP id az22-20020adfe196000000b00219f3c7fd88mr24441745wrb.402.1655745217159;
Mon, 20 Jun 2022 10:13:37 -0700 (PDT)
X-Received: by 2002:ad4:5907:0:b0:470:4b8d:2898 with SMTP id
ez7-20020ad45907000000b004704b8d2898mr2174558qvb.91.1655745216563; Mon, 20
Jun 2022 10:13:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 20 Jun 2022 10:13:36 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=162.251.133.98; posting-account=-m1l1AkAAAAOcQipwxcZ5ncqqoxN3l1E
NNTP-Posting-Host: 162.251.133.98
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4bfeb6a6-2b0a-4c60-b7b5-800762455c7en@googlegroups.com>
Subject: Best way to stop batch queue startup when system is started
From: jor...@ccs4vms.com (Rich Jordan)
Injection-Date: Mon, 20 Jun 2022 17:13:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Rich Jordan - Mon, 20 Jun 2022 17:13 UTC

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

Re: Best way to stop batch queue startup when system is started

<t8qagp$jeq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=23205&group=comp.os.vms#23205

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Best way to stop batch queue startup when system is started
Date: Mon, 20 Jun 2022 13:24:41 -0400
Organization: HoffmanLabs LLC
Lines: 45
Message-ID: <t8qagp$jeq$1@dont-email.me>
References: <4bfeb6a6-2b0a-4c60-b7b5-800762455c7en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="3b9132ced1acfdf1f73bf4e4244f2764";
logging-data="19930"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VRtpUPsu5rEV7ktBD/EqKcaLRhcESg5g="
User-Agent: Unison/2.2
Cancel-Lock: sha1:Z95Rf/2fTUEjtraEabamL31NYqU=
 by: Stephen Hoffman - Mon, 20 Jun 2022 17:24 UTC

On 2022-06-20 17:13:36 +0000, Rich Jordan said:

> 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...

Stopping everything is easy. Restarting (just) what devices and batch
queues you want restarted is harder, and requires a specific script,
err, procedure for the restart.

I'd possibly look to (mis)use a site-specific tailored version of
FIXQUE to transfer over the data in your home-grown "cluster" failover
configuration; for the specific case here. VSI has a copy of FIXQUE
posted.

Pragmatically, you're writing migration and reinstallation tools.
Piecemeal. You could step back from this piecemeal design approach, and
stop trying to match the details of the environments (and those always
get skewed), and work to migrate the data, and to manage and re-install
the apps and tools tools using PCSI or VMSINSTAL or less-bueno
home-grown installers. This also means an easier approach for creating
and re-creating a test environment.

I'm not a big fan of using batch queues for job scheduling, either.
Those tend to get tangled, which means incrementally creating a
feature-deprived job scheduler on a foundation ill-suited for the goal.
But you're already invested in this approach, so that's unlikely to
change.

--
Pure Personal Opinion | HoffmanLabs LLC


computers / comp.os.vms / Re: Best way to stop batch queue startup when system is started

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor