MEDIA
Operations Guide


Previous Contents Index

3.1.6.4 REPORT executable files

The files for REPORT are:
File name Contents
MEDIA_LIBRARY:REPORT.EXE Main command executable.
MEDIA_LIBRARY:MEDIA_REPORT.CLB Report definitions.

3.1.7 Queues

As installed, MEDIA sets up a queue, SYS$TAPE, for use with TAPE type media. As MANAGER you are responsible for designing queues to help your system run smoothly. In VMS there are two basic types of queues: generic queues and execution queues.

The relationship between these two types is shown in Figure 3-1.

Figure 3-1 Generic and Execution queues


An execution queue is a queue through which the job 8 MEDIA selects a queue based on the TYPE to QUEUE association defined in the parameter file. It is essential that the queue selected execute on a node that has physical access to the needed tape or disk drive to complete the medium processing.

A generic queue is an intermediate queue that holds a job until an appropriate execution queue becomes available to initiate the job. Users can submit jobs to a generic queue, and the generic queue then directs the job to an appropriate execution queue; alternately, users can submit jobs directly to an execution queue.

Each TYPE category can be instructed to use its own queues: TK50 cartridge jobs go into a SYS$TK50 queue, 9 track tape jobs into a SYS$TAPE queue. In a homogeneous cluster with four HSC tape drives and two VAX CPUs, one approach would be to have a common generic queue (SYS$TAPE) feeding two execution queues, one on each node. Each execution queue would have a job limit of two. This would allow two jobs to execute on each node.

In a cluster where all the tape drives are directly connected to one node, it is important to use an execution queue that executes on that node. A MEDIA job command executed on any member of the cluster would thus create batch jobs that would execute in this queue. When the job starts, it would then run on the node where the tape drive is located.

Note

8 This discussion about queues applies equally to both print and batch jobs. MEDIA only uses batch queues to

3.2 Considerations before installing MEDIA

As you install and run MEDIA there are certain issues that you should consider in your design of the system. Some of the things you should think about before you start are:

This section is intended as a basic collection of questions you should ask before you start to install the system, with some suggestions selected from the experiences of different sites. There are no right answers. If you change your mind about something later, you can make changes in the system configuration, but it not as easy as planning ahead.

3.2.1 Library organization

At most sites, the MEDIA library has grown erratically. Often there has not been a master plan, or if there was a plan, it was designed around the limits of the room or the tracking system available at the time. Now is the time to sit down with the people who actually handle the media and figure out what will work best. MEDIA can be set up to facilitate a library that your site needs now and in the future.

The most basic questions to ask about your library are:

One of the first things to think about in organizing your library is the numbering system. There is no requirement to label or store different subgroups of media separately when you use MEDIA. The simplest and most secure system is to use a continuous series of alphanumeric numbers. For security purposes, tape names should not be the same as job names.

Each medium can have as many as three different names associated with it: the external ID, the internal ID, and an alias.

A version number follows the alias in the directory listings, separated from it by a semicolon, in the format aaaaaa;n. The version number reflects the number of different media that have been given the same alias.

The version number of a medium is 0, if an alias has not been provided. When the medium is named, the version number starts as 1. As new media are assigned using the same alias, the version number is incremented to create a new name on each assign operation.

If you already have a numbering system in use that satisfies your site's needs, you can incorporate it, as is, into the MEDIA library. If you are like many sites and have the remnants of several numbering systems, none of which satisfy anyone, you can redesign the numbering system, add the existing tapes into the new system and have MEDIA track the new external and internal ID. Because MEDIA keeps track of all three identifiers, you can catalog existing tapes into a new continuous numbering system and simply note the old ID number under the comment field.

As an example, at one large data center with a special requirement, the tape library is numbered from A001 through Z999. Because corporate policy requires that the current set of backup tapes be sent off site as part of a disaster recovery plan, the library has been designed with external clues as to which tapes are dedicated to users and which to the system. The tapes from A to M are user tapes: N to Z are backup tapes. This makes it a little easier for the operators to pull the backups and send them off site.

3.2.2 Levels of access

Another area to be considered is that of access to commands and to media.

The system identifies three types of users:

  1. Managers 10 can access all media
  2. Operators 11 have "read only" access to all on-line information
  3. All other users can access their own media and any media set to general access. Control is based on the UIC of the person accessing the medium.

As a MANAGER you need to think about security requirements versus user needs for access to common data. The individual user will set the level of access for each of his own media. You set the protection for the system tapes. Is there any data that must be maintained as private or extremely restricted access? Do you have payroll information or personnel records that must be protected from unauthorized access? Do you have user groups on site that might need common access to data at different levels of protection?

There are certain tasks that can be done by either the MANAGERS or the OPERATORS depending on how you set up the privilege structure. How much responsibility do you want the operators to have for managing the DATABASEs in MEDIA ? Should the MANAGERS or the OPERATORS be responsible for error checking the media? For maintaining the available pool? Re-allocating prematurely released media for the users?

3.2.3 Granting access using VMS AUTHORIZE

Only a MANAGER may grant access in MEDIA. This is done using the VMS AUTHORIZE command. MEDIA recognizes the identifiers media_operator, and media_manager which are specific to the software. These will only affect operations within MEDIA. MEDIA also recognizes the VMS identifiers OPER for OPERATORS and SYSPRV, BYPASS, and SYSTEM_UIC for MANAGERS.

In order to grant authorization to a user, enter the following series of commands:


 
$ RUN AUTHORIZE 
 
 
 

The UAF> prompt will appear:


 
UAF> ADD/IDENTIFIER MEDIA_OPERATOR 
UAF> GRANT/IDENTIFIER MEDIA_OPERATOR CJOHNSON 
UAF> EXIT 
 

This procedure grants OPERATOR privilege to user CJOHNSON. The media_operator identifier could be replaced with media_manager in order to grant MANAGER privilege.

3.2.4 Priority

You also set the levels of priority for all the queues. You need to look at the workload of your site, the system usage and set guidelines for the availability of high priority or low priority queues. You also need to think about possible exceptions to the general guidelines.

Does your site run payroll jobs that must complete by a certain time or people won't get their paychecks on time? Are there other jobs that must run ahead of anything else on a regular basis? Are there jobs that can routinely be relegated to off peak hours for processing? Do you have jobs that must run before a particular time so that the results can be transmitted or the tape physically sent to another site in a different time zone?

Note

1 Refer to the VAX/VMS System Management - Backup Utility manual for more information on how BACKUP checks labels.

10 A MANAGER is someone with the privilege MANAGER or BYPASS.

11 An operator is someone with the OPERATOR privilege.


Previous Next Contents Index