Top
ETERNUS SF AdvancedCopy Manager 14.2 Operator's Guide

A.3.3 Backup-restored volume locking specification file

If locking fails in the backup-restored volume restore pre-processing, locking is retried to avoid a temporary access conflict with other applications. The standard retry operations are as follows:

The maximum number of retries (the default value = 20 attempts) and retry interval (default value = 1 second) can be changed by creating a setting file called the backup-restored volume locking specification file for backups. In this setting file, the following instructions can be specified for the backup-restored volume backup pre-processing:

Note

swstresback (Resource backup command) cannot back up this file . In operations that use this file , the copy command, etc., must be executed to back up the backup-restored volume locking specification file for backups.


A.3.3.1 Creating a backup-restored volume locking specification file

Use a name such as the one below to create a backup-restored volume locking specification file for backups.

File name

For a non-cluster operation

environment-setting-directory\etc\backup\data\RDSTLOCK.INI

For a cluster operation

<shared-disk>:\etc\opt\swstorage\etc\backup\data\RDSTLOCK.INI

Examples of settings in the backup-restored volume locking specification file for backup are listed below.

[g1d1p1]
LockForceMode=on
LockRetryNumber=10
LockRetryInterval=10
[ANY]
LockForceMode=off
LockRetryNumber=20
LockRetryInterval=100

An explanation of how to create a backup-restored volume locking specification file for restores is given below.

RDSTLOCK.INI parameter settings

Key

Explanation

LockForceMode

If locking of the backup-restored volume fails, locking is retried. This parameter specifies that the volume be dismounted before locking is retried.

off (default value) = no dismount before locking is retried

on = dismount before locking is retried

When the volume is dismounted, all handles opened for the volume become invalid.

* If the volume is set in the used state immediately after it is dismounted, then locking may be impossible.

LockRetryNumber

If locking of the backup-restored volume fails, locking is retried. This parameter specifies the retry count limit. A numeric value ranging from 1 to 10,000 can be specified.
The default value is 20 (retries).
If the backup volume cannot be locked after locking is retried for the specified retry count limit, then the processing is suspended and the command ends abnormally.

LockRetryInterval

If locking of the backup-restored volume fails, locking is retried. This parameter specifies the retry interval in milliseconds. A numeric value ranging from 1 to 600,000 (ie, 10 minutes) can be specified. The default value is 1,000 (ie, 1 second).