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.
For Windows environments
Types | Batch File Name | Storage Directory Name |
---|---|---|
Backup | start_nas_backup.ps1 | <Environment Directory >\CCM\etc\sample\nasrec |
For Solaris or Linux environments
Types | Script File Name | Storage Directory Name |
---|---|---|
Backup | start_nas_backup.sh | /etc/opt/FJSVccm/samp/nasrec |
start_nas_backup
start_nas_backup.ps1 NASCopyGroup
start_nas_backup.sh NASCopyGroup
Execute the acnas backup command.
Copy group name (QuickOPC) of NAS volume and NAS backup volume
=0: Completed successfully
>0: Terminated abnormally
Exit Status | Meaning |
---|---|
1 | Parameter error |
2 | AdvancedCopy Manager CCM command error |
5 | Invalid environment |
wait_qopc_completion
wait_qopc_completion.ps1 QuickCopyGroup [-r]
wait_qopc_completion.sh QuickCopyGroup [-r]
Queue physical copy completion of QuickOPC.
Specify this option when waiting for the physical copy completion of restore OPC.
Copy group name of QuickOPC
=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
start_rec.ps1 RECCopyGroup
start_rec.sh RECCopyGroup
Start REC.
Copy group name of REC
=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
wait_rec_equivalent.ps1 RECCopyGroup
wait_rec_equivalent.sh RECCopyGroup
Queue equivalency of REC.
Copy group name of REC
=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
suspend_rec.ps1 RECCopyGroup
suspend_rec.sh RECCopyGroup
Suspend REC.
Copy group name of REC
=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
start_qopc.ps1 QuickCopyGroup
start_qopc.sh QuickCopyGroup
Execute QuickOPC.
Copy group name of QuickOPC
=0: Completed successfully
>0: Terminated abnormally
Exit Status | Meaning |
---|---|
1 | Parameter error |
2 | AdvancedCopy Manager CCM command error |
5 | Invalid environment |
resume_rec
resume_rec.ps1 RECCopyGroup
resume_rec.sh RECCopyGroup
Resume REC.
Copy group name of REC
=0: Completed successfully
>0: Terminated abnormally
Exit Status | Meaning |
---|---|
1 | Parameter error |
2 | AdvancedCopy Manager CCM command error |
5 | Invalid environment |
start_nas_restore
start_nas_restore.ps1 NASRestoreCopyGroup
start_nas_restore.sh NASRestoreCopyGroup
Execute the acnas restore command.
Copy group name (for QuickOPC) of the NAS volume and the NAS backup volume
=0: Completed successfully
>0: Terminated abnormally
Exit Status | Meaning |
---|---|
1 | Parameter error |
2 | AdvancedCopy Manager CCM command error |
5 | Invalid environment |