Re: The Insane Operator has struck again

yvette hirth <yvette-RPrnXxQTqyxWk0Htik3J/[email protected]> Thu, 03 Jun 2010 14:09:35 +0000
Newsgroups gmane.comp.emulators.turnkey-mvs
Organization The DBT Group, Inc.
Message-ID <[email protected]>
[email protected] wrote:

> oh, and even with that, where I had input, I spec'd at least a 250 VA 
> class APC UPS (with line conditioning and surge  protection) for the 
> computer systems in my department.

yes, APC SmartUPS 2200's (4) are my poweroff plan.

and speaking of backup:

before you restart after a power failure, or a "three-fingah salute 
whoops forgot to shut down herc first", etc., run the cckdcdsk utility 
on all of your packs:

cckdcdsk -3 -f <pack> <shadow(s), if it(they) exist>

that'll ensure you don't have any dasd i/o irregularities before you 
restart and see a gazillion prompts that make for a real ugly ipl.

on my 3.8j setup, i run a script that tests for shadow file existence 
and properly processes the dasd.  looks like this:

#!/bin/bash
function check_disk {
if [ -f $2 ]
then
     cckdcdsk -3 -f $1 $2
else
     cckdcdsk -3 -f $1
fi
}
check_disk volum0_cckd.cuu volum0_01.sf
check_disk volum1_cckd.cuu volum1_01.sf
check_disk volum2_cckd.cuu volum2_01.sf
...

every time i run it after a reboot where herc was still running, i see 
"free space error, fixed".  yes, herc should do it as well, but i think 
it's better to find the errors before you restart, rather than during 
the restart process.

of course this is a linux script (that may work for osx as well, i can't 
say one way or the other).  y'all could create a dos batch file that 
does the same thing.

hth
yvette hirth