Previous Topic: Back Up After a Normal System ShutdownNext Topic: Back Up Before and After Local Mode Jobs


Backup While the DC/UCF System is Active

Types of Backup While System is Active

There are two types of backup that can be done while DC/UCF remains active:

While it is preferable to back up a database when it is quiesced, a site with high-availability requirements may not be able to disable updates long enough to complete the backup.

Considerations

If you decide to use a hot backup strategy, consider the following:

Note: For more information about the impact of a hot backup on recovering a database, see 21.5, “Manual Recovery".

Quiesced Backup Procedure

The procedure outlined below describes how to perform a quiesced backup.

Action

Steps

Quiesce update activity in the target areas. (See considerations)

Issue one or more of the following commands:

  • DCMT VARY AREA ... RETRIEVAL
  • DCMT VARY AREA ... OFFLINE
  • DCMT QUIESCE AREA ...
  • DCMT VARY SEGMENT ... RETRIEVAL
  • DCMT VARY SEGMENT ... OFFLINE
  • DCMT QUIESCE SEGMENT ...
  • DCMT QUIESCE DBNAME ...
  • DCMT VARY RUN UNIT ... OFFLINE

Note the quiesce point

Record the date and time that the areas were quiesced.

Optionally force a new archive journal file to be created:

  • Issue a DCMT VARY JOURNAL command
  • Execute the ARCHIVE JOURNAL utility statement

Copy all files containing the target areas.

Execute the BACKUP utility statement using the FILE option or any comparable backup utility.

Restart update activity in the target areas.

Issue one or more of the following commands:

  • DCMT VARY AREA ... ONLINE
  • DCMT VARY SEGMENT ... ONLINE
  • DCMT VARY ID ... TERMINATE
  • DCMT VARY RUN UNIT ... ONLINE

Hot Backup Procedure

The procedure for a hot backup is similar to that for a quiesced backup, except that updates are re-enabled before the backup is complete. The procedure described next includes establishing a second quiesce point. This is not necessary if the appropriate recovery procedure is followed.

Note: For more information about the impact of a hot backup and a second quiesce point on recovery, see 21.5, "Manual Recovery".

Action

Steps

Quiesce update activity in the target areas. (See considerations)

Issue one or more of the following commands:

  • DCMT VARY AREA ... RETRIEVAL
  • DCMT VARY AREA ... OFFLINE
  • DCMT QUIESCE AREA ...
  • DCMT VARY SEGMENT ... RETRIEVAL
  • DCMT VARY SEGMENT ... OFFLINE
  • DCMT QUIESCE SEGMENT ...
  • DCMT QUIESCE DBNAME ...
  • DCMT VARY RUN UNIT ... OFFLINE

Note the quiesce point

Record the date and time that the areas were quiesced.

Optionally force a new archive journal file to be created:

  • Issue a DCMT VARY JOURNAL command
  • Execute the ARCHIVE JOURNAL utility statement

Restart update activity in the target areas.

Issue one or more of the following commands:

  • DCMT VARY AREA ... ONLINE
  • DCMT VARY SEGMENT ... ONLINE
  • DCMT VARY ID ... TERMINATE
  • DCMT VARY RUN UNIT ... ONLINE

Copy all files containing the target areas.

Execute the BACKUP utility statement using the FILE option or any comparable backup utility.

Optionally, establish a second quiesce point for the target areas.

Issue one or more of the following commands:

  • DCMT VARY AREA ... RETRIEVAL
  • DCMT VARY AREA ... OFFLINE
  • DCMT QUIESCE AREA ...
  • DCMT VARY SEGMENT ... RETRIEVAL
  • DCMT VARY SEGMENT ... OFFLINE
  • DCMT QUIESCE SEGMENT ...
  • DCMT QUIESCE DBNAME ...
  • DCMT VARY RUN UNIT ... OFFLINE

Mark the end of the backup process.

Force a new archive journal file to be created:

  • Issue a DCMT VARY JOURNAL command
  • Execute the ARCHIVE JOURNAL utility statement

If a second quiesce point was established, record its date and time.

If a second quiesce point was established, restart update activity in the target areas.

Issue one or more of the following commands:

  • DCMT VARY AREA ... ONLINE
  • DCMT VARY SEGMENT ... ONLINE
  • DCMT VARY ID ... TERMINATE
  • DCMT VARY RUN UNIT ... ONLINE

Quiescing Update Activity

Both DCMT VARY AREA (and SEGMENT) and DCMT QUIESCE can be used to quiesce update activity in one or more areas of the database. Consider the following when choosing which of these to use:

More Information

Quiescing Update Activity for System Areas

When backing up a system area, such as a load area, it may be necessary to terminate predefined system run units by issuing a DCMT VARY RUN UNIT ... OFFLINE command. This will be necessary if predefined run units for the target area have been defined in the system definition and such run units access the area in update mode. You can determine this by issuing a DCMT DISPLAY RUN UNIT command.

Varying a system run unit offline does not prevent overflow run units from being started to service requests for the area. It simply terminates predefined run units of the specified type. Since varying an area offline will impact the system's ability to service requests for the area, it is advisable to quiesce update activity to system areas either by varying their status to retrieval or by using the DCMT QUIESCE command.

Depending on the options specified when issuing a DCMT VARY AREA, DCMT VARY SEGMENT, or DCMT QUIESCE command, the system may automatically terminate conflicting predefined system run units.

Note: For more information about when predefined system run units are automatically terminated, see the individual commands in the CA IDMS System Tasks and Operator Commands Guide.

Data Sharing Considerations

In a data sharing environment, whenever update activity is quiesced, it must be quiesced in all DC/UCF systems that are members of the data sharing group. If a DCMT QUIESCE command is used, then update activity will automatically be quiesced on all members within the group. If a DCMT VARY AREA or DCMT VARY SEGMENT command is used, it must be executed on each system that is a member of the group. This can be accomplished by broadcasting the DCMT command.

Note: For more information about broadcasting DCMT commands, see the CA IDMS System Tasks and Operator Commands Guide.