Top
ETERNUS SF AdvancedCopy Manager V16.5 Operation Guide for Copy Control Module
FUJITSU Storage

F.4.1 Sample Script of Data Protection Operation

This section explains the sample script for simplifying the automation of the data protection operation.

Figure F.9 Explanatory Automation Procedure of Data Protection Operation According to Sample Script

  1. In the operation side, the NAS volume is backed up by executing the acnas backup command.

  2. Waiting for the physical copy completion of the NAS volume backup is performed by executing the acopc query command.

  3. An REC from the NAS backup volume in the operation side to the volume for REC in the backup side is performed by executing the acec start command.

  4. Waiting for the REC equivalency is performed by executing the acec query command.

  5. The REC is Suspended by executing the acec suspend command.

  6. In the backup side, a QuickOPC from the volume for REC to the backup volume is performed by executing the acopc start command.

  7. Waiting for the physical copy completion of QuickOPC is performed by executing the acopc query command.

  8. The REC is resumed REC by executing the acec resume command.

Information

The sample script checks whether an REC copy session exists when starting REC in step (3), and if no copy session exists, perform an initial copy. In order to shorten processing time, it is recommended that you execute the acnas backup command in advance to back up the NAS volume and after confirming that the physical copy is complete, start REC.

Sample Script Name / Stored Directory

The name and stored directory of the sample script are explained below:

Copy all files under the stored directory of the sample script to a different directory. In addition, after customizing the copied files according to the actual backup operation, use those files.

How to Start

Operands

NASCopyGroup

Copy group name (for QuickOPC) of the NAS volume and the NAS backup volume in the operation side

RECCopyGroup

Copy group name (for REC) of the NAS backup volume in the operation side and the volume for REC in the backup side

QuickCopyGroup

Copy group name (for QuickOPC) of the volume for REC and the backup volume in the backup side

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM command error

3

Abnormal copy state

4

Invalid copy mode

5

Invalid environment

Examples