Top
ETERNUS SF AdvancedCopy Manager V16.2 Operation Guide
FUJITSU Storage

A.2.3 Transaction Volume Locking Specification File for Backups

If locking fails in the transaction volume backup pre-processing, locking is retried in order 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 transaction volume locking specification file for backups. In this file, the following instructions can be specified for the transaction volume backup pre-processing:

Note

The swstresback command cannot back up the transaction volume locking specification file for backups. In operations that use this file, the copy command, etc., must be executed to back up the transaction volume locking specification file for backups.

File Name and Directory

Use a name similar to the one below to create a transaction volume locking specification file for backups.

For Non-clustered System
<Environment directory>\etc\backup\data\BTRANLOCK.INI
For Clustered System
<Shared disk>:\etc\opt\swstorage\etc\backup\data\BTRANLOCK.INI

Example and Description Rules

Examples of settings in this file are listed below.

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

An explanation of how to create this file is given below.

Table A.4 BTRANLOCK.INI Parameter Settings

Key

Explanation

BufferFlushOnly

Specifies flushing the file system buffer of the transaction volume instead of locking the transaction volume:

on (default value) = the buffer is flushed (no locking)
off = the buffer is not flushed (locking)

If the -Xflush option is specified in swstbackup and BufferFlushOnly=off, then the -Xflush option has priority.
If BufferFlushOnly is not set to off, all other parameters (LockForceMode, LockRetryNumber, and LockRetryInterval) become invalid.
Before this parameter is set to on, all write processing on the transaction volume must be stopped. If a backup is executed without the write processing stopped, then the transaction volume data is not guaranteed.
If on is specified for NoPrePost, then this parameter becomes invalid.

LockForceMode

This parameter specifies that the volume be dismounted before locking is retried.

off (default value) = no dismounting before locking is retried
on = dismounting 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.

If on is specified for BufferFlushOnly or NoPrePost, then this parameter becomes invalid.

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 transaction volume cannot be locked after locking is retried for the specified retry count limit, then the processing is suspended and the command ends abnormally.
If on is specified for BufferFlushOnly or NoPrePost, then this parameter becomes invalid.

LockRetryInterval

This parameter specifies the retry interval (in milliseconds). A numeric value ranging from 1 to 600,000 (10 minutes) can be specified. The default value is 1,000 (1 second).
If on is specified for BufferFlushOnly or NoPrePost, then this parameter becomes invalid.

NoPrePost

Specifies that the backup pre-processing and post-processing are not to be performed.

off (default value) = The backup pre-processing and post-processing are performed.
on = The backup pre-processing and post-processing are not performed.

Setting NoPrePost to on disables all the other parameters (BufferFlushOnly, LockForceMode, LockRetryNumber, and LockRetryInterval).

ClusterResourceMaint

In the case of cluster operation, specify whether to configure the maintenance mode of the physical disk resource to which the volume belongs.

on(default value) = The maintenance mode is set.
off = The maintenance mode is not set.