Top
ETERNUS SF AdvancedCopy Manager V16.9.1 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 environments

    start_nas_backup.ps1 NASCopyGroup
  • For Solaris or Linux environments

    start_nas_backup.sh NASCopyGroup
Overview

This script executes 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 environments

    wait_qopc_completion.ps1 QuickCopyGroup [-r]
  • For Solaris or Linux environments

    wait_qopc_completion.sh QuickCopyGroup [-r]
Overview

This script waits for the 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 environments

    start_rec.ps1 RECCopyGroup
  • For Solaris or Linux environments

    start_rec.sh RECCopyGroup
Overview

This script starts 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 environments

    wait_rec_equivalent.ps1 RECCopyGroup
  • For Solaris or Linux environments

    wait_rec_equivalent.sh RECCopyGroup
Overview

This script waits for the 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 environments

    suspend_rec.ps1 RECCopyGroup
  • For Solaris or Linux environments

    suspend_rec.sh RECCopyGroup
Overview

This script suspends 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 environments

    start_qopc.ps1 QuickCopyGroup
  • For Solaris or Linux environments

    start_qopc.sh QuickCopyGroup
Overview

This script executes 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 environments

    resume_rec.ps1 RECCopyGroup
  • For Solaris or Linux environments

    resume_rec.sh RECCopyGroup
Overview

This script resumes 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 environments

    start_nas_restore.ps1 NASRestoreCopyGroup
  • For Solaris or Linux environments

    start_nas_restore.sh NASRestoreCopyGroup
Overview

This script executes 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