NAME
accopy fcancel - Stop the copy session forcibly
SYNOPSIS
For forcibly stopping copy sessions by device unit
accopy fcancel -a diskArrayName -type {local | remote | odx | vvol | all} [-xml]
For forcibly stopping REC sessions
accopy fcancel -a diskArrayName -sa srcDiskArrayName -ta dstDiskArrayName [-xml]
For forcibly stopping copy sessions by session unit
accopy fcancel -a diskArrayName -s srcVolume -t dstVolume [-xml]
For forcibly stopping monitor sessions by session unit
accopy fcancel -v srcVolume -estimate [-xml]
For forcibly stopping multiple copy sessions
accopy fcancel -a diskArrayName -stdin [-xml]
DESCRIPTION
This command forcibly stops the copy sessions being performed in the specified ETERNUS Disk storage system.
This command also targets the copy sessions that are started by software other than AdvancedCopy Manager.
OPTIONS
This option specifies the name of ETERNUS Disk storage system for which the forcible stop of copy sessions is to be executed.
This option specifies the type of copy session that is to undergo a forcible stop.
local: Stops only OPC, QuickOPC, EC, SnapOPC, SnapOPC+, monitor sessions, and Extended Copy forcibly.
remote: Stops only REC sessions forcibly.
odx: Stops ODX forcibly.
vvol: Stops VVOL sessions forcibly.
all: Stops all sessions forcibly.
This option specifies the forcible stop of all REC sessions set up from the device set with the -sa option toward the device set with the -ta option.
Either srcDiskArrayName or dstDiskArrayName must match with the ETERNUS name specified to the -a option.
If specifying a device other than a AdvancedCopy Manager CCM management device, specify the Box ID (40 characters) instead of the ETERNUS name of the AdvancedCopy Manager CCM.
This option specifies the forcible stopping of the copy session from the volume specified with the -s option to the volume specified with the -t option.
Either srcVolume or dstVolume must be the same volume for the device specified with the -a option.
For srcVolume and dstVolume, specify the names of the volumes displayed as Source and Target columns respectively with the accopy query command. However, one cannot specify volumes that are displayed as [***Other-Storage***].
When specifying the extent start position and the extent size, you must enclose the entire argument for this option within double quotations (") depending on the shell being used.
This option specifies the forcible stop of monitor sessions which has been set to the -v option.
For srcVolume, specify the name of the volume displayed as Source column with the accopy query command.
When specifying the extent start position and the extent size, you must enclose the entire argument for this option within double quotations (") depending on the shell being used.
This option specifies the forcible stop of multiple copy sessions read from standard input.
Specify the copy sessions which are to be forcibly stopped in Tab Separated Values (TSV) format as follows.
When the copy type is not "Estimate":
copySourceVolume<TAB>copyDestinationVolume<RETURN>
When the copy type is "Estimate":
copySourceVolume<RETURN>
This option specifies when displaying the result of the command execution by the XML format.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Stopping copy sessions in storage device units forcibly
> accopy fcancel -type all -a ET001 ET001/0x1:ET001/0x2 # DATE : 2008/06/24 16:28:00 - << OPC Disconnected >> ET001/0x3:ET001/0x4 # DATE : 2008/06/24 16:28:01 - << OPC Disconnected >> [Omission] ET001/0x146:ET002/0x146 # DATE : 2008/06/24 16:40:20 - << EC Disconnected >> Succeeded : 720 Failed : 0
Stopping REC sessions forcibly
> accopy fcancel -a ET001 -sa ET002 -ta ET001 ET002/0x1:ET001/0x1 # DATE : 2010/06/24 16:28:00 - << EC Disconnected >> ET002/0x2:ET001/0x2 # DATE : 2010/06/24 16:28:01 - << EC Disconnected >> [Omission] ET002/0x159:ET001/0x159 # DATE : 2010/06/24 16:40:34 - << EC Disconnected >> Succeeded : 345 Failed : 0
Stopping a copy session in session units forcibly
> accopy fcancel -a ET001 -s "ET001/0x1[addr=0x3F,size=0x7FFF]" -t "ET001/0x2[addr=0x3F]" ET001/0x3[addr=0x3F,size=0x7FFF]:ET001/0x3[addr=0x3F] # DATE : 2010/06/24 16:40:34 - << Disconnected >> Succeeded : 1 Failed : 0
Stopping a monitor session in session units forcibly
> accopy fcancel -v "ET001/0xA[addr=0x3F,size=0x7FFFFFC0]" -estimate ET001/0xA[addr=0x3F,size=0x7FFFFFC0] # DATE : 2010/06/24 16:28:00 - << Estimate Disconnected >> Succeeded : 1 Failed : 0
Stopping multiple copy sessions forcibly
> type SESSIONS.txt ET001/0x1 ET001/0x3 ET001/0x2[addr=0x800,size=0xC800000] ET001/0x4[addr=0x800] ET001/0x5 ET001/0x6 ET001/0x7[addr=0x3F,size=0x1400000] ET001/0x8[addr=0x7F] ET002/0x9 ET001/0x9 ET001/0xA[addr=0x3F,size=0x7FFFFFC0] ET001/0xB ET001/0xC ET001/0xD[addr=0x3F,size=0x1400000] ET001/0xE[addr=0x7F] > accopy fcancel -a ET001 -stdin < SESSIONS.txt ET001/0x1:ET001/0x3 # DATE : 2010/06/24 16:28:00 - << EC Disconnected >> ET001/0x2[addr=0x800,size=0xC800000]:ET001/0x4[addr=0x800] # DATE : 2010/06/24 16:28:00 - << OPC Disconnected >> ET001/0x5:ET001/0x6 # DATE : 2010/06/24 16:28:00 - << SnapOPCP Disconnected >> ET001/0x7[addr=0x3F,size=0x1400000]:ET001/0x8[addr=0x7F] # DATE : 2010/06/24 16:28:00 - << SnapOPCP Disconnected >> ET002/0x9:ET001/0x9 # DATE : 2010/06/24 16:28:00 - << REC Disconnected >> ET001/0xA[addr=0x3F,size=0x7FFFFFC0] # DATE : 2010/06/24 16:28:00 - << Estimate Disconnected >> ET001/0xB:ET001/0xC # DATE : 2010/06/24 16:28:00 - << QuickOPC Disconnected >> ET001/0xD[addr=0x3F,size=0x1400000] ET001/0xE[addr=0x7F] # DATE : 2010/06/24 16:28:00 - << Xcopy Disconnected >> Succeeded : 8 Failed : 0
NOTES
Use ETERNUS Web GUI or ETERNUS CLI to stop the monitor session started by the following methods.
Operation by Copy command via SAN
Started by Copy command via LAN
Started by ETERNUS Web GUI
Started by ETERNUS CLI
Operation by Copy command via LAN
Started by Copy command via SAN
When the Storage Cluster Continuous Copy function is used
When the Active-Side Continuous Copy session of the ETERNUS Disk storage system specified with the -a option is stopped, the Standby-Side Continuous Copy session is also forced to stop. On the other hand, even if the Standby-Side Continuous Copy session of the ETERNUS Disk storage system specified with the -a option is stopped, the Active-Side Continuous Copy session is not be forced to stop.
When the status of the TFO group is "Normal" and its phase is "Maintenance", or the status of the TFO group is "Halt", the copy sessions on the ETERNUS Disk storage system that is the ETERNUS Disk storage system Storage Cluster pair specified by the -a option may be stopped. Specify the ETERNUS Disk storage system that is be the Storage Cluster pair with the -a option and execute the accopy query command to confirm the target copy session. When the target copy session is not stopped, specify the -a option for the ETERNUS Disk storage system that is the Storage Cluster pair, and execute the command.