HP3000-L Archives

September 2002, Week 2

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:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Tue, 10 Sep 2002 10:34:28 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (75 lines)
The 'one method fits all' mentality is not adequate when making sure that
other jobs/sessions don't interfere with the backup.  Each site would have
to evaluate their environment and use the available tools to 'tailor' a
method.

In our site we've taken the approach of NOT aborting any user jobs.  We
have published when the backups are scheduled and have asked the
programmers not to schedule any jobs during those periods but we will
'suspend' any user jobs that are executing and 'broadcast' to all the
programmers, through e-mail, the names of the any 'critical' files that
were not backed up (along with the details of the 'responsible' process).
After the backup any suspended jobs will be resumed.

In some cases the termination order of system jobs is also important.  For
that reason our 'abort job' command file has the capability to exclude jobs
of various accounts that should be terminated in a certain order.

Below is a section of our partial backup jobstream.

Regards
Paul Christidis

!COMMENT
!COMMENT  Limit access and warn any users to log off
!COMMENT
!LIMIT 0,0
!JOBFENCE 14
!JOBSECURITY HIGH
!setvar bell chr(7)
!SETVAR LOOP 5
!WHILE LOOP <> 0 and cierror <> 1619 DO
!  WARN @S; The PARTIAL backup will start shortly. Log off !bell
!  WARN @S; or in !LOOP minute(s) your session will be aborted: !bell
!  IF cierror <> 1619 then
!     SETVAR LOOP LOOP - 1
!     continue
!     PAUSE 60
!  endif
!ENDWHILE
!COMMENT
!COMMENT  Terminate SLEEPER & Assemble list of logged on sessions and
!COMMENT  abort them, execute command file to 'reset' the modem ports.
!COMMENT
!CONTINUE
!SLEEPER.CMD STOP
!setvar exclude_item ".SYSLOG;.SENDMAIL;.LPS;.SYS;.NETBASE"
!continue
!XEQ JOBSOFF.CMD.SYS @, ALL, SUSPEND
!continue
!XEQ abortj

While the 'jobsoff' command file's help tells us:


Usage: JOBSOFF Account [Select] [Action]

 Account  - Name of MPE account for which Sessions/Jobs will be
       aborted. Allowed values are:  A 'valid' MPE account name
       OR '@' for all the accounts on the system.

 Select   - Specifies selection criteria. Allowed values are:
       'SESSIONS', 'JOBS', 'ALL'. Default = 'SESSIONS'.

 Action   - Specifies action to be taken.  Allowed values are:
       'SUSPEND', and 'ABORT'.  Default = 'SUSPEND'.

 NOTE:  The CI variable 'Exclude_Item' can be used to specify
   exclusion criteria.  Be default the job/session issuing the
   command is excluded.
    Example: Setvar Exclude_Item "manager.sys;mgr.ars;#J1234"
    Default = "manager.sys;" + "#!HPJOBTYPE!HPJOBNUM;"

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

ATOM RSS1 RSS2