HP3000-L Archives

June 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Doug Werth <[log in to unmask]>
Reply To:
Doug Werth <[log in to unmask]>
Date:
Tue, 4 Jun 2002 13:11:11 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (95 lines)
donna writes:

> it's a *good idea* (tm) to check the validity of your nmmgr configuration.
> doing it regularily helps avoid nasty suprises.  the following is a little
job i
> run......
>
> !job nmmgrval,manager.sys;outclass=,5
> !
> !setjcw valdts 0
> !setjcw valnetxport 0
> !continue
> !run nmmgrval;parm=1
> !if valdts = 1 or valnetxport = 1
> !  setvar mailsmtphost 'aaa.bbb.ccc'  <<< insert your mail server here
> !  setvar mailsubject 'Warning: Unvalidated NMMGR'
> !  setvar _nv_to [log in to unmask]  <<< insert a valid email address here
> !  mail.utl.lib &   <<< this is where telemon's mail program is installed;
> correct as appropriate
> !  '-t !_nv_to "Host: !hpsysname DTS: !valdts Netxport: !valnetxport"'
> !endif
> !
> !eoj

To further donna's point and "good idea" (tm), it used to really "ruin your
day" to reboot a system only to find out your DTS configuration wasn't
validated. The only recourse was to validate and reboot again. The ability to
use DTCCNTRL to dynamically re-start the DTS subsystem eliminates the
subsequent reboot to get the DTS system up and running. This feature first
appeared in Release 5.5, IIRC.

We have a pre-system shutdown script that not only checks to see that NMCONFIG
is validated, as donna's job does, but validates any sections that require it.

Listed below is the relevant excerpt from "PRESHUT" (which, btw, you can
download in its entirety from http://www.beechglen.com/pub/preshut.txt

# ===============================================================
# -- Verify NMCONFIG FILE.If the DTS or NS subsystems are not
#    validated then validate them.
#
#  Run NMMGRVAL with parm=1 to set variables that indicate
#  which subsystems in NMCONFIG are not validated.
#  For any that are not, create a script to automatically
#  validate.
echo
echo !InvVideo Checking NMCONFIG file for non-validated subsystems.
echo
nmmgrval.pub.sys,1
setvar ValAny, VALDTS + VALNETXPORT + VALIBM + VALOSI
if ValAny > 0 then
   purge NMMGRCMD,temp >$null
   build NMMGRCMD;rec=-80,,f,ascii;temp
   file nmcmd=nmmgrcmd,oldtemp;dev=disc
   echo openconf nmconfig.pub.sys >>*nmcmd
   if VALDTS > 0 then
      echo The DTS subsystem is not validated. I will validate it.
      echo validateconf dts        >>*nmcmd
   endif
   if VALNETXPORT > 0 then
      echo NETXPORT subsystem is not validated. I will validate it.
      echo validateconf netxport   >>*nmcmd
   endif
   if VALIBM > 0 then
      echo The IBM subsystem is not validated. I will validate it.
      echo validateconf ibm        >>*nmcmd
   endif
   if VALOSI      > 0 then
      echo The OSI subsystem is not validated. I will validate it.
      echo validateconf osi        >>*nmcmd
   endif
   echo exit                       >>*nmcmd
   file formlist=$stdlist
   file nmmgrcmd,oldtemp;dev=disc
   echo Validating selected subsystems.
   nmmgr
   reset nmmgrcmd
   reset formlist
   reset nmcmd
   purge nmmgrcmd,temp
else
   echo    All NMCONFIG subsystems are validated.
   echo
endif
# ===============================================================

Doug.

Doug Werth [log in to unmask]            Beechglen Development Inc.
Director of Technical Support Services             Cincinnati, Ohio
Voice: (513) 922-0509                           Fax: (513) 347-2834

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2