Top
ETERNUS SF AdvancedCopy Manager V15.3 Operation Guide
ETERNUS

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 and retry interval can be changed by 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.


File name and directory

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

In the case of non-cluster operation
<Environment directory>\etc\backup\data\RDSTLOCK.INI
In the case of cluster operation
<Shared-disk>:\etc\opt\swstorage\etc\backup\data\RDSTLOCK.INI

Example and description rules

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

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

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

Table A.7 RDSTLOCK.INI parameter settings

Key

Explanation

LockForceMode

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

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

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).