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

A.2 Pre-processing and Post-processing of Backup

By specifying the -Xflush option in swstbackup (Backup execution command) or setting BufferFlushOnly to "on" in the transaction volume locking specification file for backups, the backup of AdvancedCopy Manager flushes the file system buffer without locking the transaction volume.

If you want to lock the transaction volume, set BufferFlushOnly to "off" in the transaction volume locking specification file for backups and execute the backup execution command without the -Xflush option.

The backup volume is locked by the pre-processing script. The backup volume is locked when the backup synchronous processing or snapshot sequence starts and is unlocked after backup post-processing is complete.

In the case of MSCS or WSFC operation, automatic configuration of the maintenance mode of the physical disk resources is performed with pre- and post-processing. For details on maintenance mode, refer to "14.1.6.1 When Using MSCS or WSFC for Cluster Operation".

Table A.1 Pre-processing and Post-processing for Conventional Backup Operations

Type

Detail of Operations

Pre-processing for synchronous processing
(implemented with the backup synchronous processing start command)

Default operation:

  • The backup volume is locked.

Post-processing for synchronous processing
(implemented with the backup synchronous processing start command in a clustered system)

Default operations:

  1. The backup volume is dismounted.

  2. The backup volume is unlocked.

Backup pre-processing
(implemented with the backup execution command)

  • Default operations:

    1. In the case of MSCS or WSFC operation, turn the maintenance mode of the physical disk resource to which the backup volume belongs ON (only when this is of a configuration where there is 1 partition on 1 disk and the maintenance mode is off prior to execution of the backup).

    2. In the following cases, the backup volume is locked.

      • Snapshot backup

      • In the case of Synchronous Backup of MSCS Operation

      • In the case of Synchronous Backup of WSFC Operation

    3. The file system buffer of the transaction volume is flushed.

  • When the -Xflush option is not specified and BufferFlushOnly is set to off:

    1. In the case of MSCS or WSFC operation, turn the maintenance mode of the physical disk resource to which the backup volume and transaction volume belong ON (only when this is of a configuration where there is 1 partition on 1 disk and the maintenance mode is off prior to execution of the backup).

    2. In the following cases, the backup volume is locked.

      • Snapshot backup

      • In the case of Synchronous Backup of MSCS Operation

      • In the case of Synchronous Backup of WSFC Operation

    3. The transaction volume is locked.

Backup post-processing
(implemented with the backup execution command)

  • Default operations:

    1. The backup volume is dismounted.

    2. The backup volume is unlocked.

    3. In the case that the maintenance mode is turned ON with the pre-processing, turn the maintenance mode of the physical disk resource to which the backup volume belongs OFF.

  • When the -Xflush option is not specified and BufferFlushOnly is set to off:

    1. The transaction volume is unlocked.

    2. The backup volume is dismounted.

    3. The backup volume is unlocked.

    4. In the case that the maintenance mode is turned ON with the pre-processing, turn the maintenance mode of the physical disk resource to which the backup volume and the transaction volume belong OFF.

Table A.2 Pre-processing and Post-processing for Symfoware Backup Operations

Type

Detail of Operations

Pre-processing for synchronous processing

  1. In the case of MSCS or WSFC operation, turn the maintenance mode of the physical disk resource to which the backup volume belong ON (only when this is of a configuration where there is 1 partition on 1 disk and the maintenance mode is off prior to execution of the backup).

  2. The backup volume is locked.

Post-processing for synchronous processing

  • In the case of MSCS or WSFC operation:

    1. The backup volume is dismounted.

    2. The backup volume is unlocked.

  • Not in the case of MSCS or WSFC operation:

    Take no action.

Backup pre-processing

  • For a snapshot backup:

    1. In the case of MSCS or WSFC operation, turn the maintenance mode of the physical disk resource to which the backup volume belong ON (only when this is of a configuration where there is 1 partition on 1 disk and the maintenance mode is off prior to execution of the backup).

    2. The backup volume is locked.

    3. The file system buffer of the transaction volume is flushed.

  • For a synchronous backup:

    • In the case of MSCS or WSFC operation:

      1. The backup volume is locked.

      2. The file system buffer of the transaction volume is flushed.

    • Not in the case of MSCS or WSFC operation:

      The file system buffer of the transaction volume is flushed.

The file system buffer of the transaction volume is flushed regardless of the -Xflush option specification or the value of BufferFlushOnly.

Backup post-processing

  1. The backup volume is dismounted.

  2. The backup volume is unlocked.

  3. In the case that the maintenance mode is turned ON with the pre-processing, turn the maintenance mode of the physical disk resource to which the backup volume belongs OFF.

To add user-specific processing to the pre-processing or post-processing, add the required processing to the appropriate backup script.
These scripts are coded in the Jscript language and executed on a Windows Scripting Host (WSH).

When customizing a script, strictly observe the following rules regarding error codes:

Table A.3 Error Code Rules

Error Code

Usage

0-99

Unusable (these are reserved for AdvancedCopy Manager)

100-255

Usable

Note

If pre-processing failed, execute swstsrsemtch (Resource match command) because the consistency of resource information may be incomplete.

The figure below shows a diagram of the pre-processing and post-processing operations:

Figure A.1 Processing in Synchronous-type Backup Operation (Flushing File System Buffer of Transaction Volume)

Figure A.2 Processing in Synchronous-type Backup Operation (Locking Transaction Volume)