HP3000-L Archives

August 2001, Week 4

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:
Andreas Schmidt <[log in to unmask]>
Reply To:
Date:
Wed, 22 Aug 2001 17:31:44 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (85 lines)
We had the same need ... and inplemented this in the NOTIFY job of the
System Volume's backup:

...
n/w startup
...

!COMMENT -----------------------------
!COMMENT - 4. Verify Network Startup -
!COMMENT -----------------------------
!CONTINUE
!PURGE SHIN
!CONTINUE
!PURGE !HPCWD/no_errors_found
!BUILD SHIN;REC=-80,,F,ASCII
!FILE S=SHIN,OLD;ACC=APPEND
!ECHO ERR=`callci "NSCONTROL STATUS=ALL"|grep -c "NO NETWORK"` >  *S
!ECHO if [ $ERR -eq 0 ]                                        >> *S
!ECHO then                                                     >> *S
!ECHO    touch no_errors_found                                 >> *S
!ECHO fi                                                       >> *S
!ECHO exit                                                     >> *S
!WHILE NOT FINFO("!HPCWD/no_errors_found",0) DO
!   RUN SH.HPBIN.SYS;STDIN=SHIN;STDLIST=$NULL
!   IF NOT FINFO("!HPCWD/no_errors_found",0) THEN
!      TELLOP *****************************************
!      TELLOP **  Network is still down (NSCONTROL)  **
!      TELLOP *****************************************
!   ENDIF
!   PAUSE 300
!ENDWHILE
!SHOWJCW
!
!CONTINUE
!NETCONTROL STATUS
!WHILE CIERROR = 4437 DO
!   TELLOP ******************************************
!   TELLOP **  Network is still down (NETCONTROL)  **
!   TELLOP ******************************************
!   PAUSE 300
!   NETCONTROL STATUS
!ENDWHILE
!
...

since we have this procedure in place we never had a n/w downtime after the backup and nobody realized it ...

Best regards, Andreas Schmidt, CSC, Germany





Carl McNamee <[log in to unmask]>@RAVEN.UTC.EDU> on
22/08/2001 15:56:47

Please respond to Carl McNamee <[log in to unmask]>

Sent by:  HP-3000 Systems Discussion <[log in to unmask]>


To:   [log in to unmask]
cc:
Subject:  [HP3000-L] Network status checking?


I'm busy automating a lot of the processes that we currently run manually
over the weekend.  One of them is bringing up the network after the full
backup.  I'm wondering how I can check to see if the NETCONTROL and
NSCONTROL commands worked successfully.  Ideally they would set a JCW but
I'm open to running a tool that will provide some easily parsable output.

Thoughts?  Comments?  Criticism?

Carl McNamee
Systems Administrator
Billing Concepts
(210) 949-7282

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

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

ATOM RSS1 RSS2