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

F.4.4 Sample Script in Each Processing Phase

This sample script sequences scripts for each of the processing phases shown below. Arrange these scripts in the same storage directory as that of the sample script.

start_nas_backup

How to Start
For Windows

start_nas_backup.ps1 NASCopyGroup

For Solaris/Linux

start_nas_backup.sh NASCopyGroup

Overview

Execute the acnas backup command.

Operands
NASCopyGroup

Copy group name (QuickOPC) of NAS volume and NAS backup volume

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM command error

5

Invalid environment

wait_qopc_completion

How to Start
For Windows

wait_qopc_completion.ps1 QuickCopyGroup [-r]

For Solaris/Linux

wait_qopc_completion.sh QuickCopyGroup [-r]

Overview

Queue physical copy completion of QuickOPC.

Options
-r

Specify this option when waiting for the physical copy completion of restore OPC.

Operands
QuickCopyGroup

Copy group name of QuickOPC

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM command error

3

Abnormal copy state

5

Invalid environment

start_rec

How to Start
For Windows

start_rec.ps1 RECCopyGroup

For Solaris/Linux

start_rec.sh RECCopyGroup

Overview

Start REC.

Operands
RECCopyGroup

Copy group name of REC

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM Command error

3

Abnormal copy state

5

Invalid environment

wait_rec_equivalent

How to Start
For Windows

wait_rec_equivalent.ps1 RECCopyGroup

For Solaris/Linux

wait_rec_equivalent.sh RECCopyGroup

Overview

Queue equivalency of REC.

Operands
RECCopyGroup

Copy group name of REC

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

suspend_rec

How to Start
For Windows

suspend_rec.ps1 RECCopyGroup

For Solaris/Linux

suspend_rec.sh RECCopyGroup

Overview

Suspend REC.

Operands
RECCopyGroup

Copy group name of REC

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM command error

3

Abnormal copy state

5

Invalid environment

start_qopc

How to Start
For Windows

start_qopc.ps1 QuickCopyGroup

For Solaris/Linux

start_qopc.sh QuickCopyGroup

Overview

Execute QuickOPC.

Operands
QuickCopyGroup

Copy group name of QuickOPC

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM command error

5

Invalid environment

resume_rec

How to Start
For Windows

resume_rec.ps1 RECCopyGroup

For Solaris/Linux

resume_rec.sh RECCopyGroup

Overview

Resume REC.

Operands
RECCopyGroup

Copy group name of REC

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM command error

5

Invalid environment

start_nas_restore

How to Start
For Windows

start_nas_restore.ps1 NASRestoreCopyGroup

For Solaris/Linux

start_nas_restore.sh NASRestoreCopyGroup

Overview

Execute the acnas restore command.

Operands
NASRestoreCopyGroup

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

Exit Status

=0: Completed successfully
>0: Terminated abnormally

Exit Status

Meaning

1

Parameter error

2

AdvancedCopy Manager CCM command error

5

Invalid environment