DB2 Server for VSE & VM: Control Center Operations Guide for VM


Chapter 16. Database Startup and Termination Tools


Overview

The Database Startup and Termination tools are used to view and update the database parameters file and VM storage pool specifications file for a given database; view the database startup parameters used during the last startup of a database; and to start and stop database operation.

Before continuing, you should review these topics:


About the Database Parameters Tool

Shown in Figure 86 is the option selection panel of the Database Parameters tool. It is reached by selecting P - Database Parameters on the Main Menu. The communication path can be changed using Option C from the Control Center Main Menu, whereas the database setting can be changed on this panel. For more information, see Control Center Communication Path and Database Settings.

Figure 86. Database Parameters Selection Panel

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                     CONTROL CENTER                      hh:mm:ss   |
| *--------------------------- Database Parameters ---------------------------*  |
| | Option ===>                                        CTRLID: MSTRSRV1       |  |
| |    Database ===> SQLDBA                             NODE:  VMSYSTM1       |  |
| |                                                                           |  |
| |                                                                           |  |
| |      V  VIEW                   View database parameters                   |  |
| |                                                                           |  |
| |      U  UPDATE                 Update database parameters                 |  |
| |                                                                           |  |
| |      S  STARTUP                Display startup parameters used            |  |
| |                                during last database startup               |  |
| |                                                                           |  |
| |     VS  VIEW SPECS             View Storage Pool Specifications File      |  |
| |                                 (VMDSS Support)                           |  |
| |                                                                           |  |
| |     US  UPDATE SPECS           Update Storage Pool Specifications File    |  |
| |                                 (VMDSS Support)                           |  |
| |                                                                           |  |
| |            Enter OPTION, select DATABASE, press ENTER to process          |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDPARM----*  |
|  PF:   1 Help    3 End                                                         |
|                                                                                |
+--------------------------------------------------------------------------------+

Display Fields

Database Parameters File

Control Center maintains a set of database startup and control parameters for each database machine it manages. Parameters for each database are saved in separate files named database PARMS, where database is the database machine ID, and are kept on the service machine's 191 A-disk. Database parameters are separated into the groups listed below:

  1. Authorization/Notification parameters
  2. Utility parameters
  3. Tape parameters
  4. Archiving/Tracing parameters
  5. Database startup parameters
  6. Data Restore parameters

Initially, parameter values are established during the DB2 Server for VM database installation process. Afterwards, they can be updated using the UPDATE U option. Several parameters are updated automatically by Control Center during normal operation and under most circumstances should not be updated manually.

Parameters can be viewed and updated at any time; however, most of the parameters updated will not take effect until the next database startup. The parameters used during the last database startup are available for viewing at any time using the STARTUP S option.

About the Storage Pool Specification File

Control Center maintains a set of storage pool specifications for each database machine it manages which allows you to control the DB2 VM Data Spaces feature at the individual storage pool level. Specifications for each database are saved in separate files named "database ARISPOOL", where database is the database machine ID, and are kept on the service machine's 191 A-disk.

Three VMDSS specifications can be specified for storage pools:

Initially, when Control Center creates the storage pool specification file, it uses the information provided by the SHOW POOL operator command to determine the proper settings. Afterwards, they can be updated using the UPDATE SPECS US option.

These settings can also be changed dynamically while the database is running by issuing specific database operator commands. Dynamic changes, however, do not change the settings in the database's storage pool specifications file, the file used at database startup time.

For more information on the VMDSS, refer to the DB2 Server for VSE & VM Performance Tuning Handbook manual.

VIEW (V)

Select this option to view the current parameter settings saved in the database parameters file.

The display panels used by the VIEW V option are similar to the entry panels used by the UPDATE U option. See UPDATE (U).
Usage Consideration:The displayed parameter settings are those that will be used during the next database machine startup; use the STARTUP S option to view the parameters used during the last database startup.

UPDATE (U)

Select this option to update one or more parameters in the database parameters file. Updated parameters will take effect the next time the database machine is started.

For each of the general parameter groups, a separate data entry panel is presented. Scrolling from one panel to the next is done using PF8 to go forward and PF7 to go backward. You can change existing parameters through normal editing means. Update of the parameters file on the Control Center service machine's 191 A-disk is completed by selecting PF2 to process your changes. You will be prompted to confirm the update action.

Authorization/Notification Parameters

The initial data entry panel displayed is that of the Authorization/Notification parameters shown in Figure 87.

Figure 87. Database Parameter Display

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                     CONTROL CENTER                      hh:mm:ss   |
| *------------------------ Database Parameter Display ----------------------*   |
| | Command ==>                                           CTRLID: SQMSTPD1   |   |
| | Database => SQLDBA    |DBver => 7.1.0  CCver => 7.1.0    NODE: VMSYSTM1   |   |
| | ************************ Authorization Parameters *********************  |   |
| |  Administrators  => |MSTRUSR1 MSTRUSR2 AT VMSYSTM2 MSTRUSR3 MSTRUSR4 AT   |   |
| |    |VMSYSTM3 MSTRUSR5                                                     |   |
| |  Operators       => |OPERUID                                              |   |
| |                                                                          |   |
| |  Users           => |USRNICK MSTRUSR6                                     |   |
| |                                                                          |   |
| |  Notify-error    => |MSTRUSR1 MSTRUSR3                                    |   |
| |                                                                          |   |
| |  Notify-severe   => |MSTRUSR1 MSTRUSR3                                    |   |
| |                                                                          |   |
| |  Notify-dbstatus => |MSTRUSR1 MSTRUSR3                                    |   |
| |                                                                          |   |
| |  Notify-operator =>                                                      |   |
| |                                                                          |   |
| |                               Page  1 of  9                              |   |
| |                                                                          |   |
| *---------------------------------------------------------------SQMDP10----*   |
|  PF: 1 Help   3 End    7 Bkwd (Data Restore parms)    8 Fwd (Utility parms)    |
|                                                                                |
+--------------------------------------------------------------------------------+

The data entry field for each Authorization/Notification parameter spans two lines, allowing a list of user IDs to be entered. Each user ID must be separated by a space and a single token should not be split over the two lines (the end-of-line character is translated into a blank by the Control Center).

The syntax for specifying authorization/notification parameters is given below.



   .-------------------------------.
   V          (1)                  |
>>---+-userid-------------------+--+---------------------------><
     |                     (2)  |
     +-userid--AT--nodeid-------+
     |          (3)             |
     '-nickname-----------------'
 


Notes:



  1. A local user. The nodeid is assumed to be same as that of the
    Control Center service machine

  2. A remote user. The nodeid is different than that of the Control
    Center service machine.

  3. A nickname within the CMS NAMES file on the Control Center service
    machine's 191 A-disk. Refer to the NAMES command documentation
    provided with VM/CMS. The nickname format allows multiple users to be
    associated with a single nickname, which eliminates the limited space
    restrictions of the parameter entry panel.


Parameter
Description

|DBver
Current version, release and modification level of this DB2 Server for VM |database. This parameter will be updated as necessary when the database starts.

|CCver
|Current version, release and modification level of the Control Center for |VM machine that manages this database. If this database is operating on |another node and is managed by an older version of Control Center, then this |parameter will help manage incompatibilities between Control Center |versions.

Administrators
Users who are allowed to execute any Control Center commands against the specified database. These users will be able to initiate archives and recoveries and to start and stop the database.

Two authorized administrators are shown in Figure 87. MSTRUSR1 is a local user and MSTRUSR2 is a remote user.

Operators
Users who are allowed to execute a subset of the Control Center DBA commands to the specified database. Commands which they will be authorized to execute include initiating an archive and starting and stopping the database. They will not be authorized to execute DBA commands such as adding a dbextent.

Users
Users who are allowed to issue the SHOW, COUNTER, and RESET commands to the specified database.

Referring to Figure 87, MSTRUSR1 is a local user and USRNICKS is a CMS NICKNAME. USRNICKS must be included in the NAMES file on the Control Center service machine's 191 A-disk. This is the preferred method of specifying many users when using the entry panel, which has a limited amount of space for each parameter value.

Notify-error
Users who are to be notified when an error is received from the specified database.

Notify-severe
Users who are to be notified when a severe error is received from the specified database.

Notify-dbstatus
Users who are to be notified whenever the status of the specified database changes (UP, DOWN, ARCHIVE). This parameter will also notify designated users of monitor error conditions. See Who is Notified.

Notify-operator
VM operator who should be notified when serious problems occur within the specified database.

Utility Parameters

Figure 88. Data Entry Panel for Utility Parameters

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                     CONTROL CENTER                      hh:mm:ss   |
| *------------------------ Database Parameter Display -----------------------*  |
| | Option===>                                              CTRLID: MSTRSRV1  |  |
| |  Database => SQLDBA                                      NODE:   VMSYSTM1 |  |
| | ************************ Utility Parameters ****************************  |  |
| |                                                                           |  |
| |  S-Disk Userid/Directory   => SFSPOOL1:SQLDBA.SQL.SERVICE                 |  |
| |  ________________________________________________________________________ |  |
| |  ________________________________________________________________________ |  |
| |                                                                           |  |
| |  S-Disk Address or SFS     => SFS  (193 or other, if SFS , specify SFS)   |  |
| |  S-Disk Userid/Directory Filemode => V   (filemode, enter V or other)     |  |
| |                                                                           |  |
| |  P-Disk Userid/Directory   => SFSPOOL1:SQLDBA.SQL.PRODUCTION              |  |
| |  ________________________________________________________________________ |  |
| |  ________________________________________________________________________ |  |
| |                                                                           |  |
| |  P-Disk Address or SFS     => SFS  (195 or other, if SFS, specify SFS)    |  |
| |  P-Disk Userid/Directory Filemode => Q    (filemode, enter Q or other)    |  |
| |                                                                           |  |
| |                               Page  2 of  9                               |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDP45-----*  |
|  PF: 1 Help  2 Process  3 End  7 Bkwd (Auth parms)  8 Fwd (Utility parms)      |
+--------------------------------------------------------------------------------+

Parameter
Description

S-Disk Userid/Directory
The virtual machine name (user ID) that owns the service disk for this database. If the database is installed with SFS, specify the complete directory name.

S-Disk Address or SFS
The virtual address of the service disk. For SFS, type "SFS" instead of the virtual address.

S-Disk/Directory Filemode
The filemode used to access the database service disk or directory containing the service code. The default value is V.

P-Disk Userid/Directory
The virtual machine name (user ID) that owns the production disk for this database. If the database is installed with SFS, specify the complete directory name.

P-Disk Address or SFS
The virtual address of the production disk. For SFS, type "SFS" instead of the virtual address.

P-Disk/Directory Filemode
The filemode used to access the database production disk or directory containing the production code. The default value is Q.

Figure 89. Data Entry Panel for Utility Parameters - Part 2

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                     Control Center                      hh:mm:ss   |
| *------------------------ Database Parameter Display -----------------------*  |
| | Option ===>                                              CTRLID: CCDEMO   |  |
| |  Database => ACTCLONE                                    NODE:   YOURNODE |  |
| | ************************ Utility Parameters ****************************  |  |
| |                                                                           |  |
| |                                                                           |  |
| |  Archive-addspace          => N        ( Y or N, Archive after SQLADBSP)  |  |
| |  Archive-addextent         => N        ( Y or N, Archive after SQLADBEX)  |  |
| |                                                                           |  |
| |  Sqlend-quick              => N        ( Y or N, SQLEND QUICK processes)  |  |
| |                                                                           |  |
| |  Uarchive-enabled          => N        ( Y or N, User Archiving enable)   |  |
| |  Drmstr-enabled            => N        ( Y or N, Data Restore enable)     |  |
| |                                                                           |  |
| |  Submit-routine            => ________ ( UARCHIVE submit routine)         |  |
| |  Cancel-routine            => ________ ( UARCHIVE cancel routine)         |  |
| |  Spool-console-option      => N        ( Y or N, Spool Database Console)  |  |
| |                                                                           |  |
| |                                                                           |  |
| |                               Page  3 of  9                               |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDP46-----*  |
|  PF: 1 Help    2 Process  3 End  7 Bkwd (Utility Parms 1)  8 Fwd (Tape Parms)  |
+--------------------------------------------------------------------------------+

Parameter
Description

Archive-addspace
A "Y" or "N" value (YES or NO) to indicate whether an archive should automatically be invoked whenever the Add DBSPACE tool is executed. The Add DBSPACE tool is executed in single user mode on the database machine and is not recorded in the database log. If a recovery is done to a previous archive, the added dbspaces will not be recovered by the database.

Archive-addextent
A "Y" or "N" value (YES or NO) to indicate whether an archive should automatically be invoked whenever the Add DBEXTENTS or Delete DBEXTENTS tool is executed. These tools execute in single user mode and are not recorded in the database log.

Sqlend-quick
A "Y" or "N" value (YES or NO) to indicate whether the SQLEND QUICK command should be used to terminate the database for all single user mode activities. If "N" is specified, then the SQLEND command without the QUICK option will be used, which will allow all active LUWs within the database to complete before the database is brought down. The QUICK option will stop the database immediately and roll back all active LUWs.

Uarchive-enabled
(Y,N). "Y" (YES) instruct Control Center that USER ARCHIVES are allowed for this database. "N" (NO) will not allow a USER ARCHIVE to proceed. This value and the Drmstr_enabled value must be Y in order to execute an USER ARCHIVE using Data Restore BACKUP. If Uarchive-enabled = "Y" and Drmstr-enabled = "N", then the user is responsible for creating the required submit-routine and Cancel-routine files and setting up the User archive process as described in Appendix F, User Archiving.

Submit-routine
The name of an executable command (EXEC or MODULE) that should be executed after the database comes down following the SQLEND UARCHIVE command. Do not fill in this value if Drmstr_enabled = "Y".

Cancel-routine
The name of an executable command (EXEC or MODULE) that should be executed if the CANCEL ARCHIVE command is issued by a user. Do not fill in this value if Drmstr_enabled = "Y".

Spool-console-option
A "Y" or "N" value (YES or NO) to indicate whether the database machine console is to be spooled during operation. The default is no spooling.

Tape Parameters

Figure 90. Data Entry Panel for Tape Parameters

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                      Control Center                     hh:mm:ss   |
| *------------------------ Database Parameter Update ------------------------*  |
| | Command ==>                                              CTRLID: MSTRSV1  |  |
| |  Database => SQLDBA                                      NODE:   VMSYSTM1 |  |
| | ************************ Tape Parameters ****************************     |  |
| |                                                                           |  |
| |  Tape-density        => XF     ( e.g. 4K, 38K )                           |  |
| |                                                                           |  |
| |   NOTE:   The following parameters apply to DYNAM/T, EPIC and VMTAPE      |  |
| |                                                                           |  |
| |  Tape-retention      => ____   ( Tape retention <days> )                  |  |
| |  Scratch-tape-option => N ( Always use SCRATCH Y/N, if DYNOPEN, enter Y ) |  |
| |           ( archive, log, & trace dataset names for tape label checking   |  |
| |  Tape-archive-dsn    => _____________________________________________     |  |
| |  Tape-log-dsn        => _____________________________________________     |  |
| |  Tape-trace-dsn      => _____________________________________________     |  |
| |           ( scratch pool name for database )                              |  |
| |  Scratch-pool        => _____________________________________________     |  |
| |  Logtape-premount    => N     ( N with DISK or DMSTVI,  Y with DYNAMT )   |  |
| |                                                                           |  |
| |                               Page  4 of  9                               |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDP50-----*  |
|  PF: 1 Help 2 Process 3 End   7 Bkwd (Utility Parms 2)  8 Fwd (Archive Parms)  |
+--------------------------------------------------------------------------------+

Parameter
Description

Tape-density
The tape density to specify with the TAPE MOUNT command during archiving and recovery activity (any valid VM filedef tape density, (XF)).

These parameters are applicable only when using DYNAM/T, EPIC, or VMTAPE.

Parameter
Description

Tape-retention
Tape retention period in days.

Scratch-tape-option
(Y,N). Indicates whether you want to always use SCRATCH tapes for log archives, database archives or the primary BACKUP rather than predefined volids. If you use DYNOPEN, you must specify 'Y' to always use SCRATCH tapes.
Note:The "Backup2-scratch-tape" parameter is used to indicate whether scratch is to be used for the secondary BACKUP (BACKUP2).

Tape-archive-dsn
Dataset name that should be specified for new scratch tapes. Use the naming convention for the DSN identified to the tape management system catalog.

Tape-log-dsn
Dataset name that should be specified for new log scratch tapes. Use the naming convention for the DSN identified to the tape management system catalog.

Tape-trace-dsn
Dataset name that should be specified for new trace scratch tapes. Use the naming convention for the DSN identified to the tape management system catalog.

Scratch-pool
Specifies a special SCRATCH TAPE POOL to be used by this database for all archives, and Data Restore backups, and unload output. This value is optional.

Logtape-premount
Set to "Y" if Control Center is to issue tape mount requests for log archive tapes.

By allowing Control Center to issue the tape mount, the log archive tape can be mounted in preparation for a log archive (premounted). During the period of time between when the log mount was issued and when the physical tape drive is attached, normal database activities can continue, including the start of new LUWs.
Operational Note:If log archive media is "DISK" you must specify "N". If you are using the exit DMSTVI, specify "N". If you are using DYNAM/T, you must specify "Y".

Archiving/Tracing Parameters

Figure 91. Data Entry Panel for Archiving/Tracing Parameters

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                     CONTROL CENTER                      hh:mm:ss   |
| *------------------------ Database Parameter Update ------------------------*  |
| | Command ==>                                              CTRLID: MSTRSRV1 |  |
| |  Database => SQLDBA                                      NODE:   VMSYSTM1 |  |
| | ********************* Archiving/Tracing Parameters *********************  |  |
| |                                                                           |  |
| |  Archive-media     => TAPE        ( TAPE or DISK )                        |  |
| |  Archive-blksize   => 28672       ( e.g. 28672 )                          |  |
| |  Archive-series    => 100         ( e.g. 200 )                            |  |
| |                                                                           |  |
| |  Logarch-media     => TAPE        ( TAPE or DISK )                        |  |
| |  Logarch-blksize   => 28672       ( e.g. 28672 )                          |  |
| |  Logarch-series    => 100         ( e.g. 100 )                            |  |
| |                                                                           |  |
| |  Trace-media       => TAPE        ( TAPE or DISK )                        |  |
| |  Trace-blksize     => 28672       ( e.g. 28672 )                          |  |
| |  Trace-series      => 100         ( e.g. 200 )                            |  |
| |                                                                           |  |
| |                                                                           |  |
| |                                                                           |  |
| |                               Page  5 of  9                               |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDP55-----*  |
|  PF: 1 Help  2 Process  3 End    7 Bkwd (Tape parms)   8 Fwd (Startup parms 1) |
+--------------------------------------------------------------------------------+

Parameter
Description

Archive-media
(TAPE, DISK). Indicates the type of media to be used for DB2 Server for VM database archive or the Data Restore primary BACKUP or Incremental Backup. The media type must match the type of ARCHIVE media defined in the database TAPES file.
Usage Consideration:Database archives to DISK are not fully supported by DB2 Server and VM and must be used with caution.

Archive-blksize
The block size that should be used for full database archives.

Archive-series
The tape series that will be used for the next database archive or BACKUP. This value must match one of the series listed in the database TAPES file. When the database starts up, or before a Data Restore backup executes, the archive-series is used to determine what tapes or files will be FILEDEFed for the archive or BACKUP FILEDEF.
Operational Note:Control Center automatically changes the archive-series after an archive or BACKUP in order to rotate through the available tape series.

Logarch-media
Enter "TAPE" or "DISK" to indicate whether log archives should be done to tape or disk. If log archiving is not to be performed, this parameter should be left blank.

Logarch-blksize
This parameter indicates the block size that should be used for log archives.

Logarch-series
The tape series that is to be used for the next log archives.
Usage Consideration:This value must match the previous value of the Archive-series parameter when a successful full ARCHIVE was performed. Therefore, it must be different from the current Archive-series. For initial setup, the value given here is not significant until the first full archive is done.
Operational Note:Control Center automatically changes this value after an SQLEND in order to rotate through the available tape series.

Trace-media
Enter "TAPE" or "DISK" to indicate whether trace data should be written to tape or disk. This entry field should be left blank if tracing is not done.

Trace-blksize
Indicates the block size that should be used for trace output.

Trace-series
Indicates the tape series that will be used for trace output.

Database Startup Parameters

Field-specific help is available on this panel by placing the cursor at the first position of an entry field and selecting PF5. Help is displayed near the bottom of the panel.

Refer to the DB2 Server for VM System Administration or DB2 Server for VSE & VM Operation manuals for a complete description of each DB2 Server for VM database startup parameter.

Figure 92. Database Parameter Update Panel - Part 1

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                     CONTROL CENTER                      hh:mm:ss   |
| *------------------------ Database Parameter Update ------------------------*  |
| | Command ==>                                              CTRLID: MSTRSRV1 |  |
| |  Database => SQLDBA                                      NODE:   VMSYSTM1 |  |
| |                                                                           |  |
| | *********************** Environment Parameters *************************  |  |
| | DBNAME    => SQLDBA       AMODE    => __          SYSMODE  => M           |  |
| | STARTUP   => W            DBMODE   => _           PROTOCOL => AUTO        |  |
| | PROGNAME  => ________     ACCOUNT  => _           SYNCPNT  => Y           |  |
| | DCSSID    => _______      DSPSTATS => __                                  |  |
| | SUMDCSSID => _______      CHARNAME => __________________                  |  |
| |                                                                           |  |
| | *********************** Performance Parameters ************************   |  |
| | NCUSERS   => ___          NPACKAGE => _____       NPACKPCT => ___         |  |
| | NPAGBUF   => _______      NDIRBUF  => ______      NLRBU    => ______      |  |
| | NLRBS     => ______       DISPBIAS => __          NCSCANS  => ___         |  |
| | LTIMEOUT  => 0                                                            |  |
| |                                                                           |  |
| |                                                                           |  |
| |                               Page  6 of  9                               |  |
| |                                                                           |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDP60-----*  |
|  PF:1 Help  2 Process  3 End  5 Field Help  7 Bkwd (Archive)  8 Fwd (Startup)  |
+--------------------------------------------------------------------------------+

Figure 93. Database Parameter Update Panel - Part 2

+--------------------------------------------------------------------------------+
|  mm/dd/yyyy                     CONTROL CENTER                      hh:mm:ss   |
| *------------------------ Database Parameter Update ------------------------*  |
| | Command ==>                                              CTRLID: MSTRSRV1 |  |
| |  Database => SQLDBA                                      NODE:   VMSYSTM1 |  |
| |                                                                           |  |
| | ************************* Recovery Parameters **************************  |  |
| | LOGMODE   => Y            CHKINTVL => ________    SLOGCUSH => ___         |  |
| | ARCHPCT   => ___          SOSLEVEL => ___                                 |  |
| |                                                                           |  |
| | ************************* Service Parameters **************************   |  |
| | DUMPTYPE  => _            EXTEND   => _           TRACDRRM => ____        |  |
| | TRACRDS   => _______      TRACWUM  => _           TRACSTG  => _           |  |
| | TRACDSC   => __           TRACCONV => _                                   |  |
| | TRACEBUF  => _____        TRACDBSS => ___________                         |  |
| |                                                                           |  |
| | ************************* Miscellaneous Parameters ********************   |  |
| | TRACING   => OFF          TARGETWS => ______      MAPPING  => _           |  |
| | SAVEINTV  => ______       SEPINTDB => _           TCPPORT  => 0           |  |
| | TCPPORTR  => _____        SECTYPE  => DB2|ESM     SECALVER => Y|N         |  |
| | PTIMEOUT  => 180                                  PROCMXAB => 0           |  |
| |                               Page  7 of  9                               |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDP61-----*  |
| PF: 1 Help  2 Process  3 End  5 Field Help  7 Bkwd (Startup 1)  8 Fwd (DRF 1)  |
+--------------------------------------------------------------------------------+

The VMDSS parameters are explained in the DB2 Server for VSE & VM Performance Tuning Handbook manual.

The output media for trace information is defined by the database Archiving/Tracing parameter settings. See Archiving/Tracing Parameters.

Data Restore Parameters in the Database PARMS File

Figure 94. Data Restore Parameters

+--------------------------------------------------------------------------------+

|  mm/dd/yyyy                     CONTROL CENTER                      hh:mm:ss   |
| *------------------------ Database Parameter Update ------------------------*  |
| | Command ==>                                              CTRLID: MSTRSRV1 |  |
| |  Database => SQLDBA                                      NODE:   VMSYSTM1 |  |
| | ************************* Data Restore Parameters **********************  |  |
| |                                                                           |  |
| |  Drmstr-enabled        => N        ( Y or N, Default = N)                 |  |
| |  Data-restore-machine  => ________ ( Machine running Data Restore Userid) |  |
| |  Drtape-premount       => N        ( Y or N, Default = N )                |  |
| |  Data-restore-lang     => S001     ( Default = S001 )                     |  |
| |  Dual-backup           => N        ( Y or N, Default = N )                |  |
| |  Backup-wrksize        => 2048     ( Default = 2048 )                     |  |
| |  Backup2-media         => ____     ( TAPE or DISK )                       |  |
| |  Backup2-scratch-tape  => N        ( Y or N, Default = N )                |  |
| |                                                                           |  |
| |  Incbackup-enabled     => N        ( Y or N, Default = N )                |  |
| |  Incbackup-series      => 100.01   ( nnn.nn format )                      |  |
| |  Auto-full             => N        ( Y or N, Default = N )                |  |
| |  Current-increference  =>                     ( Date & Time Information ) |  |
| |                                                                           |  |
| |                               Page  8 of  9                               |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMDP66-----*  |
|  PF: 1 Help 2 Process 3 End   7 Bkwd (Startup parms 2)  8 Fwd (DRF 2 parms)    |
+--------------------------------------------------------------------------------+

Parameter
Definition

Drmstr-enabled
(Y,N). Y (YES) indicates that Data Restore has been enabled for this database and you wish to perform Data Restore functions with this database. N (NO) indicates that you do not wish to execute Data Restore functions with this database. This value must be Y in order for BACKUP to proceed. If you wish to perform another type of USER ARCHIVE even though you have Data Restore installed, set this value to N. Setting this value to "Y" does not require that you perform Data Restore functions. If the Uarchive-enabled value is "N" (NO) then Data Restore BACKUP will not be executed.

Data-restore-machine
Is the machine id (USER ID) of the machine that will run the Data Restore functions for this database. This Data Restore machine will be managed by one Control Center service machine. A Data Restore machine can control more than one database but both database and Data Restore machines must be controlled by the same Control Center service machine.

Drtape-premount
(Y,N). This value indicates whether Control Center MUST premount the first tape before a Data Restore function is executed. If you have a tape management system that uses the DMSTVI tape exit, then mounting of the first tape of a multi-volume series can be handled by the DMSTVI tape exit automatically. The value should be set to "N". If you do not have a tape management system (native CMS), then tape mount requests will be made automatically for you based on your values in the SQLMSTR Control file. If your tape management system does not include the DMSTVI MODULE, or if the automatic tape mounts are not working on your system, then set the value to "Y". Regardless of the tape exit available, CMS handles all subsequent multi-volume tape mounts based on information in the FILEDEF and LABELDEF information for the tapes.

Data-restore-lang
(S001, S002, S003, S004, S005, S006). Indicates what language will be used by Data Restore to issue messages. The value will be assigned to the "LANG=" option in the SYSIN file. The default is "S001" (American English, AMENG).

Dual-backup
(Y,N). N (NO) indicates that only a |single BACKUP or single Incremental Backup is to be performed. For a BACKUP, the ARCHIVE tapes defined in the database TAPES file for the current "Archive-series" will be used for the primary BACKUP. For Incremental Backup, the "INCBK" tapes defined in the database TAPES file for the current "Incbackup-series" will be used for the primary Incremental Backup.

If Y (YES) is chosen, then a DUAL BACKUP or DUAL Incremental Backup will be performed. The BACKUP2 tapes for the current "Archive-series" will be used for the secondary BACKUP and the "INCBK2" tapes for the current "Incbackup-series" will be used for the secondary Incremental Backup. The default value is N.

Incbackup-enabled
|(Y,N). Y (Yes) indicates Control Center will manage both Full Backup and Incremental Backup. Indicating Y does not require that Incremental Backup be used; however, Control Center will only execute a BACKUP with the FULL or INCREMENTAL option. This will allow Control Center to keep a Full Backup and its Incremental Backups together in the same tape series and prevent a Full Backup from being overwritten prematurely. Full Backup is the default backup type.

When "Incbackup-enabled" = "N", Control Center will not execute an Incremental Backup and the "Current-increference" parameter will be set to blank when a normal BACKUP or archive completes. When "Current-increference" is blank, a Full Backup or an ARCHIVE FULL must be executed before Control Center will allow an Incremental Backup.

Incbackup-series
Indicates the series and subseries in the database TAPES file that will be used to supply tapes for the Incremental Backup process. The Incbackup-series is presented in the form "series.subseries"". The subseries indicates which set of Incremental Backup tapes to use within the series. For example, Incremental Backup series 100.01 indicates that the first set of Incremental Backup tapes (01INCBK) in series 100 are to be used.

Only the subseries is incremented after an Incremental Backup successfully completes. The series is incremented and the subseries reset to "01" each time any normal BACKUP, Full Backup, normal archive or ARCHIVE FULL completes. The series portion of the Incbackup-series will be the same as the Logarch-series. The Incbackup-series will exist in the PARMS file even when "Incbackup-enabled" = "N".

Current-increference
(Current incremental reference). Indicates the timestamp of the last successful Full Backup or ARCHIVE FULL. The Current-increference timestamp will be included in the database ARCHHIST entry for subsequent Incremental Backup.

This parameter should not be modified by the user. If "Incbackup-enabled" = "N" and a normal BACKUP or archive has completed, then this parameter will be blank. When this parameter is blank, a Full Backup or ARCHIVE FULL must be executed before Control Center will allow an Incremental Backup.

Auto-full
(Y,N). "Y" (Yes) indicates that an Incremental Backup will be changed to a Full Backup if there are no more incbackup-series and SCRATCH tapes are not used. If Incremental Backups are performed to tape and you are using SCRATCH tapes, then a new SCRATCH tape entry will be added to the database TAPES file for the current Incbackup-series.

When Auto-full = "N" (No), then the Incremental Backup will be cancelled if the current Incbackup-series does not exist in the database TAPES file. If the "AUTOFULL" option is used with the BACKUP command then it will over-ride the "Auto-full" value in the database PARMS file.

Backup2-scratch-tape
(Y,N) Indicates if SCRATCH tapes will always be used for the secondary backup or Incremental Backup of a dual backup.

Backup2-media
(TAPE, DISK). Indicates the expected type of media to be used by Data Restore for the secondary BACKUP or Incremental Backup ("BACKUP2"/"INCBK2"). The value must match the type of media defined in the database DRTAPES file or an error will occur during the BACKUP. This value is only used if "Dual_backup" is "Y".

Backup_wrksize
Indicates the "WRKSIZE=" value that will be used for BACKUPs and Incremental Backups. The default is 2048.

Tape_backup_dsn
Indicates what Data Set Name to include in the LABELDEF command (ARCHIV) for the primary BACKUP or Incremental Backup.

Tape_Backup2_dsn
Indicates what Data Set Name to include in the LABELDEF command (ARCHIV2) for the secondary BACKUP or Incremental Backup.

Figure 95. Data Restore Parameters

+--------------------------------------------------------------------------------+

|  mm/dd/yyyy                      Control Center                     hh:mm:ss   |
| *------------------------ Database Parameter Update ------------------------*  |
| | Command ==>                                              CTRLID: MSTRSRV1 |  |
| |  Database => SQLDBA                                      NODE:   VMSYSTM1 |  |
| | ************************* Data Restore Parameters **********************  |  |
| |                                                                           |  |
| |                                                                           |  |
| |  Translate-media        => TAPE     ( TAPE or DISK )                      |  |
| |  Translate-scratch-tape => Y        ( Y or N, Default = N )               |  |
| |                                                                           |  |
| |                                                                           |  |
| |       ( Data Set Names for Translate, Unload, and Backup tapes )          |  |
| |  Tape-translate-dsn     => DB261DBA.TRANSLATE                             |  |
| |  Tape-unload-dsn        => DB261DBA.UNLOAD                                |  |
| |                                                                           |  |
| |  Tape-backup-dsn        => DB261DBA.BACKUP                                |  |
| |  Tape-backup2-dsn       => DB261DBA.BACKUP2                               |  |
| |                                                                           |  |
| |                                                                           |  |
| |                               Page  9 of  9                               |  |
| | The requested command was issued                                          |  |
| *---------------------------------------------------------------SQMDP67-----*  |
|  PF: 1 Help  2 Process  3 End   7 Bkwd (DRF Parms 1)   8 Fwd (Auth Parms)      |
+--------------------------------------------------------------------------------+

Parameter
Definition

Translate-media:
(TAPE or DISK) Indicates the expected type of media to be used by Data Restore for the TRANSLATE function. The value must match the type of media defined in the database TAPES file or an error will occur during the TRANSLATE. TRANSLATE-MEDIA must be set to TAPE, when TRANSLATE-SCRATCH-TAPE = Y. This field can be left blank when "DRMSTR-ENABLED" = "N".

Translate-scratch-tape:
( Y or N, default = N ) Y (Yes) indicates that scratch tapes should be used for TRANSLATE. N (NO) indicates that scratch tapes should NOT be used for TRANSLATE.

Tape-translate-dsn:
Indicates what data set name to include in the LABELDEF command for the TRANSLATE tapes. This field is optional.

Tape-unload-dsn:
Indicates what data set name to include in the LABELDEF command for the UNLOAD tapes. This field is optional.

STARTUP (S)

Displays the startup parameters that were used by the database when it was last started (which can differ from those in the current database PARMS file if it has been updated since this time). Included will be any default values supplied by the database. 9 The date and time that the database was started will also be shown.

VIEW SPECS (VS)

Select this option to view the current settings saved in the storage pool specifications file.

The display panel used by the VIEW SPECS VS option is similar to the entry panel used by the UPDATE SPECS US option. See UPDATE SPECS (US).

Usage Considerations:

  1. The displayed parameter settings are those that will be used during the next database machine startup. Changes made dynamically while the database is running are not reflected in the specifications file.
  2. You can go directly from the VIEW SPECS panel to the UPDATE SPECS panel by selecting PF5.

UPDATE SPECS (US)

Select this option to update one or more parameters in the storage pool specifications file. Updated parameters will take effect the next time the database machine is started.

Update of the specifications file on the service machine's 191 A-disk is completed by selecting PF2 to process your changes. You will be prompted to confirm the update action.

The storage pool specifications data entry panel is shown in Figure 96.

Figure 96. Data Entry Panel for Storage Pool Specifications

+--------------------------------------------------------------------------------+
|      mm/dd/yyyy                 CONTROL CENTER                        hh:mm:ss |
| *--------------------- Storage Pool Specifications File --------------------*  |
| |                                                          CTRLID: MSTRSRV1 |  |
| | Database => SQLDBA                                        NODE:  VMSYSTM1 |  |
| |                                                                           |  |
| | POOL n     IO Handling    Striping |  POOL n     IO Handling    Striping  |  |
| | /Range   DS|Priority/BLK  STR/SEQ  |  /Range   DS|Priority/BLK  STR/SEQ   |  |
| | -------  ---------------  -------- |  -------  ---------------  --------  |  |
| |                                    |                                      |  |
| | 1              DS3          STR    |                                      |  |
| | -------        ---          ---    |  -------        ---          ---     |  |
| | 2              DS3          STR    |                                      |  |
| | -------        ---          ---    |  -------        ---          ---     |  |
| | 3              DS3          STR    |                                      |  |
| | -------        ---          ---    |  -------        ---          ---     |  |
| |                                    |                                      |  |
| | -------        ---          ---    |  -------        ---          ---     |  |
| |                                    |                                      |  |
| | -------        ---          ---    |  -------        ---          ---     |  |
| |                              Screen 1 of 1                                |  |
| |                                                                           |  |
| *-------------------------------------------------------------SQMMENUV------*  |
|  PF: 1 Help  2 Process  3 QUIT  8 Add More   Delete: Space Over POOL           |
|     10 Show POOL       11 Query Dbextents                                      |
+--------------------------------------------------------------------------------+

Parameter
Description

POOL n/Range
A valid pool number (n; where n=1 to 999), or pool range (nnn-mmm; where nnn, mmm=1 to 999). Use only positive values for pool numbers.

To delete a pool or pool range, space over the pool number or pool range entry.

IO Handling DS|Priority/BLK
Specifies whether VM Data Spaces Support is ON or OFF for the specified storage pool or pool range (ON is the default).

Possible values are:

DS
Data spaces support will be used for the specified storage pool range. This is the default.

Priority
Used to set the storage residence priority for the specified storage pool or pool range.

Valid Priority range = 1 to 5 (3 is the default). If not indicated, the default will be used.

The priority value should be entered immediately after the DS term as shown in Figure 96.

BLK
Standard DB2 DASD IO will be used. In other words, data spaces support is turned OFF.

Striping STR/SEQ
Specifies whether striping is ON or OFF for the specified storage pool or pool range (ON is the default).

Possible values are:

STR
Indicates that data striping has been turned ON for the specified storage pool or pool range. Data will be striped, or evenly distributed across all dbextents within a given storage pool. This is the default.

SEQ
Indicates that striping has been turned off for the storage pool or pool range. Data will be allocated to one dbextent at a time until that dbextent is filled, then the next dbextent in sequence will be used.

About the Database Startup Tool

Use the Database Startup tool to initiate the immediate startup of a database or to schedule the startup of a database for a later date and time using the Job Scheduling tool.

Database Startup - Immediate (SI)

Select this option to immediately issue a database startup command to the specified database. Startup parameters will be taken from the database parameter file and storage pool specifications file (if it exists), which reside on the service machine's 191 A-disk. The startup command will be rejected by Control Center if the current status of the database is not "Down."

Database Startup - Scheduled (SS)

Select this option to schedule the database to start up at a later date and time.

Database Termination Tool

Use the Database Termination tool to stop a database. The Database Termination selection panel, shown in Figure 97, is presented after choosing Option E (SQLEND Database) from the Control Center Main Menu.

Figure 97. Database Termination Option Panel

+--------------------------------------------------------------------------------+
|      mm/dd/yyyy                 CONTROL CENTER                        hh:mm:ss |
| *--------------------------- Database Termination --------------------------*  |
| | Option ===>                                              CTRLID: MSTRSRV1 |  |
| |    Database ===> SQLDBA                                   NODE:  VMSYSTM1 |  |
| |                                                                           |  |
| |  N  SQLEND NORMAL parms           Immediate SQLEND (normal)               |  |
| |                                                                           |  |
| |  Q  SQLEND QUICK                  Immediate SQLEND QUICK                  |  |
| |                                                                           |  |
| |  S  SCHEDULE SQLEND parms         Schedule later termination              |  |
| |                                                                           |  |
| |  SQ SCHEDULE SQLEND QUICK         Schedule quick termination              |  |
| |                                                                           |  |
| |                                                                           |  |
| |       Valid Parms:     DVERIFY, TRCPURGE                                  |  |
| |                                                                           |  |
| |                                                                           |  |
| |                                                                           |  |
| |             Enter OPTION and PARMS, press ENTER to Process, or            |  |
| |              press PF3 to CANCEL the database termination                 |  |
| |                                                                           |  |
| *---------------------------------------------------------------SQMSQEND----*  |
|  PF:   1 Help    3 End                                                         |
|                                                                                |
+--------------------------------------------------------------------------------+

SQLEND NORMAL (N)

Selecting this option will allow all current LUWs to complete prior to stopping the database and prevent any new units of work from beginning. Active LUWs can delay the stopping of the database.

Optional parameters:

DVERIFY
Causes the database system to verify its directory before ending. If a directory error is found, the authorized Control Center administrators for the database will receive a message.
TRCPURGE
If specified, database will purge the contents of the trace buffer at shutdown. An output trace file will not be created for the trace buffer in this case.

SQLEND QUICK (Q)

Selecting this option will immediately stop the database. Any active LUWs will be rolled back when the database is brought back up.

SCHEDULE SQLEND (S)

Select this option to schedule the database to stop at a later date and time. At the scheduled time, all current LUWs will be allowed to complete prior to the database being stopped and any new units of work will be prevented from beginning. Active LUWs can delay the stopping of the database.

Optional parameters:

DVERIFY
Causes the database system to verify its directory before ending. If a directory error is found, the authorized Control Center administrators for the database will receive a message.
TRCPURGE
If specified, the database will purge the contents of the trace buffer at shutdown. An output trace file will not be created for the trace buffer in this case.

SCHEDULE SQLEND QUICK (SQ)

Select this option to schedule the database to stop at a later date and time. Any active LUWs will be rolled back when the database is brought back up.


Footnotes:

9
Default values supplied by the database are not saved in the database parameters file. Therefore, they cannot be viewed using the VIEW (V) option.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]