Queue Manager


The queue manager is normally started at boot time, in SYSTARTUP_VMS. It is a clusterwide process that performs all queue management functions for all users logged into the cluster. It operates from a three-file database that records queue characteristics and job information. The files are all in SYS$SYSTEM and called QMAN$MASTER.DAT, SYS$QUEUE_MANAGER.QMAN$JOURNAL, and SYS$QUEUE_MANAGER.QMAN$QUEUES. This database may be assigned to any disk mounted clusterwide through the use of logical definitions. If the node hosting the queue manager is stopped for some reason, the queue manager will automatically and invisibly fail-over to another node in the cluster to provide seamless queuing operations. It is also possible to run up to five queue managers on the cluster when there is a high rate of job (print and/or batch) submissions. The print and batch queue manager (QUEMAN) is started with the following command:

       $ START/QUEUE/MANAGER 

Jobs are added to a batch queue with SUBMIT and to a print queue with PRINT. To display a list of all jobs entered in any queue and its number, a user can enter the following command:

      $ SHOW ENTRY       Entry  Jobname         Username  Blocks  Status       -----  -------         --------  ------  -----           1  ONDUTY_Batch    SYSTEM            Holding until 16-SEP-2002 00:05:00              On generic batch queue SYS$BATCH           2  DEFRAG_DKA0     SYSTEM            Holding until 17-SEP-2002 00:05:00              On idle batch queue BEAVER_BATCH          24  WEEKLY_Batch    SYSTEM            Holding until 17-SEP-2002 00:00:00              On idle batch queue BEAVER_BATCH         136  MX_WATCH        SYSTEM            Holding until 15-SEP-2002 19:13:29              On idle batch queue CSWWW_BATCH 

A user may delete any of his or her jobs using the entry number shown in the previous list with the command

      $ DELETE/ENTRY=job_queue_entry 

Of course, a user can only delete jobs he or she created. The manager can use the following command to show all user jobs in a given queue and delete any of them:

      $ SHOW QUEUE queue_name 




Getting Started with OpenVMS System Management
Getting Started with OpenVMS System Management (HP Technologies)
ISBN: 1555582818
EAN: 2147483647
Year: 2004
Pages: 130
Authors: David Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net