Top
ETERNUS SF AdvancedCopy Manager V16.9A Operation Guide
FUJITSU Storage

8.1.2 Operation Commands

This section describes operation commands for backup management.

8.1.2.1 swstbackup (Backup Execution Command)

NAME

swstbackup - backup

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstbackup [-suspend|-T] deviceName [-Xdevmap deviceMapFile]
To Execute on Management Server
/opt/FJSVswsts/bin/swstbackup [-h serverName] [-suspend|-T] deviceName [-Xdevmap deviceMapFile]

DESCRIPTION

When using this command, the operation changes according to different states of the Advanced Copy that is being executed.

In the above cases, a backup is established, and access to the backup volume is available immediately after the execution command.

AdvancedCopy Manager executes backup pre-processing and post-processing scripts before and after backup.

For information on customizing these scripts, refer to "Appendix A Pre-processing and Post-processing of Backup and Restoration".

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-Xdevmap deviceMapFile

Specifies a target backup volume to perform the snapshot fast backup. In the operand, specify a "device map file" in which a combination of a transaction volume and a target backup volume are described. If this option is not specified, the target backup volume is automatically selected by the backup function. To execute this command on a remote basis using the -h option, specify a device map file (of a Managed Server) using an absolute pathname. A file name specified in Device-Map-File must not include any national character.

-suspend

This results in synchronous high-speed backup using the "Chapter 4 Backup Operation Using Suspend/Resume Function".

-T

Specifies that the differential snapshot high-speed backup be executed.
This option cannot be specified during synchronous processing.
This option is valid only for copying within a box when the ETERNUS Disk storage system supports the QuickOPC function.
If this option is not specified, ordinary snapshot processing (ie, OPC without using the QuickOPC function) is started. This option must always be specified to perform a backup operation using differential snapshots.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.2 swstbackstat (Backup Execution Status Display Command)

NAME

swstbackstat - displays the completion status of a backup

SYNOPSIS

To be executed on Managed Server
/opt/FJSVswsts/bin/swstbackstat [deviceName]
To be executed on Management Server
/opt/FJSVswsts/bin/swstbackstat [-h serverName] [deviceName]

DESCRIPTION

This command displays the completion status of a backup that is being performed using the swstbackup command.

The following information is displayed.

Title

Description

Server

Displays a Managed Server name.

Transaction-Disk

Displays the AdvancedCopy Manager device name of a transaction volume.

Backup-Disk

Displays a backup volume name.
If no backup has been collected, "----" is displayed.

Status

Displays a backup completion status using one of the following character strings:

"----": No backup has been collected (ie, no history exists).
"succeeded": Backup has been completed.
"executing": Copying using OPC is in progress.
"failed": Copying using OPC has been interrupted due to an error.
"halt": Copying using OPC is halt status.
"?????": Failed to get copy status.

Execute

Displays how much has been copied in percentage terms if "executing" is displayed in the Status column. Displays "----" unless "executing" is displayed.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

OPERANDS

deviceName

Specifies the AdvancedCopy Manager device name corresponding to a transaction volume.
If this operand is omitted, the backup execution statuses of all the transaction volumes are displayed.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.3 swstrestore (Restore Execution Command)

NAME

swstrestore - restore

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstrestore [-g generationNo | -v versionNo] [-r restoreDeviceName] deviceName
To Execute on Management Server
/opt/FJSVswsts/bin/swstrestore [-h serverName] [-g generationNo | -v versionNo][-r restoreDeviceName] deviceName

DESCRIPTION

The data that exists in backup history information is restored using OPC.
When this command is executed, AdvancedCopy Manager performs the restoration pre-processing and post-processing scripts before and after copying data using OPC. For more information on customizing these scripts, refer to "Appendix A Pre-processing and Post-processing of Backup and Restoration".

You can restore data to a device that is not a transaction volume. When you do so, the device must not be registered as a transaction volume and the device must have the same amount of space available as the specified transaction volume.

You can restore data to a device that is not a transaction volume. When you do so, the device must not be registered as a transaction volume and must have the same size as the specified transaction volume. To restore data on a volume other than a transaction volume, refer to "9.1.4 Notes on Restoration".

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-g generationNo

Specifies the relative generation number of data to be restored.
Check the relative generation number using the swsthistdisp command.

-v versionNo

Specifies the absolute generation number of data to be restored.
Check the absolute generation number using the swsthistdisp command.

-r restoreDeviceName

Specifies a restore destination device name to restore data to any device other than a transaction volume.

Note: If neither the -g or -v option is specified, the latest information from the information history management is restored.

OPERANDS

deviceName

Specifies the AdvancedCopy Manager device name corresponding to a transaction volume.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.4 swstcancelrest (Restore Cancellation Command)

NAME

swstcancelrest - cancels OPC-based restoration

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstcancelrest [-g generationNo | -v versionNo] [-r restoreDeviceName] [-emergency] deviceName
To Execute on Management Server
/opt/FJSVswsts/bin/swstcancelrest [-h serverName][-g generationNo | -v versionNo][-r restoreDeviceName] [-emergency] deviceName

DESCRIPTION

This command cancels OPC-based restoration.

A hardware error is displayed when the swstrestore command is executed while data is being copied using OPC. Fix the cause of the hardware error and repeat restoration using the swstrestore command.

Check whether a fault occurred using the swstreststat command.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-g generationNo

Specifies the relative generation number of data being restored.
This option cannot be specified at the same time as the -v option.
Check the relative generation number using the swstreststat command.

-v versionNo

Specifies the absolute generation number of data being restored.
This option cannot be specified at the same time as the -g option.
Check the absolute generation number using the swstreststat command.

-r restoreDeviceName

Specifies the device name if data is restored to any other device than a transaction volume.
Check the device name using the swstreststat command.

-emergency

Emergency operation mode is available for operations.
In such cases, OPC sessions are neither confirmed nor cancelled.

Note: The restoration of the latest history information is cancelled if neither the -g or -v option is specified.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.5 swstreststat (Restore Execution Status Display Command)

NAME

swstreststat - displays the execution status of restoration

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstreststat [-g generationNo | -v versionNo] [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swstreststat [-h serverName] [-g generationNo | -v versionNo] [deviceName]

DESCRIPTION

This command displays the execution status of restoration.
The following information is displayed.

Title

Description

Server

Displays a Managed Server name.

Transaction-Disk

Displays the AdvancedCopy Manager device name of a transaction volume.

Generation

Displays the relative generation number of restored backup data.
"----" is displayed if no generation number is specified in the -g or -v option and no backup history exists.

Version

Displays the absolute generation number of restored backup data.
"----" is displayed if no generation number is specified in the -g or -v option and no backup history exists.

Backup-Disk

Displays the name of a backup volume from which data should be copied and restored.
"----" is displayed if restoration is not in progress.

Restore-Device

Displays a restoration target device name unless data is copied and restored to a transaction volume.
"----" is displayed if restoration is not in progress, or if data is restored to a transaction volume.

Status

Displays the execution status:

"----": No copying using OPC is in progress.
"executing": Copying using OPC is in progress.
"succeeded": Copying using OPC has been completed.
"failed": Copying using OPC has been interrupted due to an error.
"halt": Copying using OPC is halt status.
"?????": Failed to get copy status.

Execute

Displays how much has been copied in percentage terms if "executing" is displayed in the Status column. Displays "----" unless "executing" is displayed.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-g generationNo

Specifies the relative generation number of data whose restore execution status is to be displayed.
Check the relative generation number using the swsthistdisp command.

-v versionNo

Specifies the absolute generation number of data whose restore execution status is to be displayed.
Check the absolute generation number using the swsthistdisp command.

The restore execution statuses of all the histories are displayed if both the -g and -v options are omitted.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.
If this operand is omitted, the restore execution statuses of all the transaction volumes are displayed.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.6 swsthistdisp (History Information Display Command)

NAME

swsthistdisp - displays the backup history information

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swsthistdisp [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swsthistdisp [-h serverName] [deviceName]

DESCRIPTION

This command displays history information in relation to data that has been backed up.

The following information is displayed.

Title

Description

Server

Displays a Managed Server name.

Device

Displays the AdvancedCopy Manager device name.

Mount-Point

Displays the mount point of a device. The file system type of the mount point is displayed inside the parentheses.

However, AIX does not display mount points. Therefore, "---- (----)" is always displayed.

Generation

Displays a relative generation number.
This item is not displayed if no backup history information exists.

Version

Displays an absolute generation number.
This item is not displayed if no backup history information exists.

Backup-Date

Displays a TimeStamp reflecting when backup has been completed.
This item is not displayed if no backup history information exists.

Backup-Disk

Displays the name of a backup volume to which data has been backed up.
This item is not displayed if no backup history information exists.

Status

Displays an actual copying execution status using one of the following character strings:

"succeeded": Copying using OPC has been completed.
"executing": Copying using OPC is in progress.
"failed": Copying using OPC has been interrupted due to an error.
"halt": Copying using OPC is halt status.
"?????": Failed to get copy status.

This item is not displayed if no backup history information exists.

Execute

Displays how much has been copied in percentage terms if "executing" is displayed in the Status column. Displays "----" unless "executing" is displayed.

This item is not displayed if no backup history information exists.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.
If this operand is omitted, the backup history information of all the transaction volumes is displayed.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.7 swsthistdel (History Information Deletion Command)

NAME

swsthistdel - deletes backup history information

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swsthistdel -g generationNo| -v versionNo | -z [-emergency] deviceName
To Execute on Management Server
/opt/FJSVswsts/bin/swsthistdel [-h serverName] -g generationNo| -v versionNo | -z [-emergency] deviceName

DESCRIPTION

This command deletes backup history information.
The backup volume of the deleted history is released and becomes an empty backup volume.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-g generationNo

Specifies the relative generation number of backup history information to be deleted.
This option cannot be specified at the same time as the -v or -z option.
Check the relative generation number using the swsthistdisp command.

-v versionNo

Specifies the absolute generation number of backup history information to be deleted.
This option cannot be specified at the same time as the -g or -z option.
Check the absolute generation number using the swsthistdisp command.

-z

Specifies that all the backup history information is to be deleted.
This option cannot be specified at the same time as the -g or -v option.

-emergency

Emergency operation mode is available for operations.
In such cases, OPC sessions are neither confirmed nor cancelled.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.8 swststartsync (Backup Synchronous Processing Start Command)

NAME

swststartsync - starts backup synchronous processing

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swststartsync deviceName [-Xdevmap deviceMapFile]
To Execute on Management Server
/opt/FJSVswsts/bin/swststartsync [-h serverName] deviceName [-Xdevmap deviceMapFile]

DESCRIPTION

This command starts backup synchronous processing (ie, it starts disk-to-disk copy using EC).

Even if it is already in use, the transaction volume where the synchronous processing started s well as the suspended backup volume can be used as backup destinations.

Except for the transaction volume where the synchronous processing started and the suspended backup volume, transaction volumes cannot be specified as backup destinations in the device map file.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-Xdevmap deviceMapFile

Specifies a target backup volume to perform the backup synchronous processing. In the operand, specify a device map file in which a combination of a transaction volume and a target backup volume is described. If this option is not specified, a target backup volume is automatically selected. To execute this command on a remote basis using the -h option, specify a device map file of a Managed Server using an absolute pathname. A file name specified in Device-Map-File must not include any national characters.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.9 swstcancelsync (Backup Synchronous Processing Cancel Command)

NAME

swstcancelsync - cancels the backup synchronous processing

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstcancelsync [-emergency] [-bd Backup-Device-Name | -all] Device-Name
To Execute on Management Server
/opt/FJSVswsts/bin/swstcancelsync [-h serverName] [-emergency] [-bd backupDeviceName | -all] deviceName

DESCRIPTION

The backup synchronous processing can be cancelled during copying by EC or under the equivalency maintained status.

The synchronous processing can be cancelled with the backup volume during copying by EC, under the equivalency maintained status, or while the Suspend state is set. Specifying cancellation of all of the synchronous processing cancels all of the backup synchronous processing including those in the Suspended state.

If the system detects an error while backup synchronous processing is being executed, copying in progress at that time terminates abnormally. In this case, use this command to cancel the backup synchronous processing. Use the swstsyncstat command to check for the error.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-emergency

Emergency operation mode is available for operations.
In such cases, EC sessions are neither confirmed nor cancelled.

-bd backupDeviceName

The synchronous processing on a specific backup volume can be cancelled.
Specify the copy destination backup volume name. In the operand, specify the AdvancedCopy Manager device name for the specified device.
Note that the backup volume name and the -all option cannot be specified together.

-all

All of the synchronous processing of the transaction volume can be specified to be cancelled. Note that this specification and the -bd option cannot be used together.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.10 swstsyncstat (Backup Synchronous Processing Progress Display Command)

NAME

swstsyncstat - displays the execution status of the backup synchronous processing

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstsyncstat [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swstsyncstat [-h serverName] [deviceName]

DESCRIPTION

The execution status of the backup synchronous processing is displayed (during copying, under the equivalency maintained status, or in the suspended status).
If one transaction volume has multiple EC sessions, then the statuses of all of these EC sessions are displayed.
The table below lists the meaning of each title.

Title

Description

Server

Displays the name of the Managed Server.

Transaction-Disk

Displays the AdvancedCopy Manager device name of a transaction volume.

Backup-Disk

Displays the name of the backup volume.
When backup synchronous processing is not being executed, the system displays "----".

Status

Displays the status of backup synchronous processing:

"----": Backup synchronous processing is not being executed.
"executing": Backup synchronous processing is being executed but equivalency maintained status has not been established.
"equivalent": Equivalency maintained status is established.
"suspend": Suspend status is established.
"failed": Backup synchronous processing was abnormally terminated.
"nosession": No session exists (eg, due to inconsistent resource information).
"halt": Backup synchronous processing is halt status.
"?????": Failed to get copy status.

Execute

Displays the progress of the backup synchronous processing as a percentage (0 to 100%).
"----" is displayed when the status is Suspend and at times when the backup synchronous processing is not running.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.
When you omit the device name, the system displays the status of backup synchronous processing for all of the transaction volumes.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.11 swstexecstat (Execution Status Display Command)

NAME

swstexecstat - displays the execution status of other commands executed

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstexecstat [-j] [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swstexecstat [-j] [-h serverName] [deviceName]

DESCRIPTION

This command displays the execution status of other commands executed on a transaction volume. The execution status of OPC or EC is displayed if OPC/EC is being executed.
The following information is displayed.

Title

Description

Server

Displays a Managed Server name.

Device

Displays the AdvancedCopy Manager device name.

Last-Backup-Date

Displays the time when the last backup execution command was accepted.

Interval

Displays how many days have passed after the specified number of interval days since the last backup date has been exceeded. This item is displayed as "DELAY=number-of-days-passing". "OK" is displayed if the number of interval days has not been exceeded.

Status

Displays whether any of the following commands is being executed on a transaction volume. If so, "EXEC" is displayed. Otherwise, "IDLE" is displayed.

Mount-Point (Method)

Displays the mount point of a device. The file system type of the mount point is displayed inside the parentheses.

However, AIX does not display mount points. Therefore, "---- (----)" is always displayed.

Execute

Displays the name of the command being executed or the progress of copying.

"----": Neither a command, OPC, nor EC is being executed.
"swststartsync": The backup synchronous processing start command is being processed.
"swstcancelsync": The backup synchronous processing cancel command is being processed.
"swstbackup": The backup execution command is being processed.
"swstrestore": The restore execution command is being processed.
"swstcancelrest": The restore cancellation command is being processed.
"swstbkpolset": The backup policy setting command is being processed.
"swstbkpoldel": The backup policy deletion command is being processed.
"swsthistdel": The history information deletion command is being processed.
"swstcanceltrk": The tracking cancel command is being processed.
"sync(xxx%)": EC progress rate.
"sync(failed)": EC ended abnormally.
"sync(halt)": EC is halt status.
"snapshot(xxx%)": The progress of OPC backup.
"snapshot(failed)": OPC backup ended abnormally.
"snapshot(halt)": OPC backup is halt status.
"restore(xxx%)": The progress of restoration.
"restore(failed)": OPC restoration ended abnormally.
"restore(halt)": OPC restoration is halt status.
"?????": Failed to get copy status.

During synchronous high-speed backup with -suspend specified, no operation ("----") is indicated in the Execute column.

If multiple processes are performed on transaction volumes (for example, when the backup synchronous processing start command is issued while a real copy of the snapshot backup is being handled), the display in the Execute column conforms to the following rules:

The following information is displayed when -j option is specified.

Title

Description

Server

Displays a Managed Server name.

Device

Displays the AdvancedCopy Manager device name.

Execute-Date

Displays the command execution date and time (TimeStamp).

Status

Displays whether any of the following commands are being executed on a transaction volume. If so, "EXEC" is displayed. Otherwise, "IDLE" is displayed.

Mount-Point (Method)

Displays the mount point of a device. The file system type of the mount point is displayed inside the parentheses.

However, AIX does not display mount points. Therefore, "---- (----)" is always displayed.

Execute

Displays the name of the command being executed or the progress of copying.

"----": Neither a command, OPC, nor EC is being executed.
"swststartsync": The backup synchronous processing start command is being processed.
"swstcancelsync": The backup synchronous processing cancel command is being processed.
"swstbackup": The backup execution command is being processed.
"swstrestore": The restore execution command is being processed.
"swstcancelrest": The restore cancellation command is being processed.
"swstbkpolset": The backup policy setting command is being processed.
"swstbkpoldel": The backup policy deletion command is being processed.
"swsthistdel": The history information deletion command is being processed.
"swstcanceltrk": The tracking cancel command is being processed.
"sync(xxx%)": EC progress rate.
"sync(failed)": EC ended abnormally.
"snapshot(xxx%)": The progress of OPC backup.
"snapshot(failed)": OPC backup ended abnormally.
"restore(xxx%)": The progress of restoration.
"restore(failed)": OPC restoration ended abnormally.
"restore(halt)": OPC restoration is halt status.
"?????": Failed to get copy status.

During synchronous high-speed backup with -suspend specified, no operation ("----") is indicated in the Execute column.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-j

Specifies to display information in another format.

OPERANDS

deviceName

Specifies the AdvancedCopy Manager device name corresponding to a transaction volume.
If this operand is omitted, the execution statuses of all the transaction volumes are displayed.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.12 swstcanceltrk (Tracking Cancel Command)

NAME

swstcanceltrk - stops tracking processing

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swstcanceltrk [-copy | -emergency] deviceName (-bd backupDeviceName | -all)
To Execute on Management Server
/opt/FJSVswsts/bin/swstcanceltrk [-h serverName] [-copy | -emergency] deviceName (-bd backupDeviceName | -all)

DESCRIPTION

This command stops tracking processing.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

-copy

Specifies that physical copying, if active, should also be stopped (the OPC session should be cancelled).
This option cannot be specified for a backup volume that has already contained a backup history. For a volume whose copy destination volume has contained a backup history, delete the history information in advance using the swsthistdel command.

-emergency

Specifies that the command should operate in the emergency operation mode.
The command does not check tracking processing and does not stop tracking processing or the OPC session.

-bd backupDeviceName

Stops tracking processing for the specified backup volume. Specify the target backup volume name as an operand. This option cannot be specified at the same time as the -all option.

-all

Stops the entire tracking processing specified for the transaction volumes. This option cannot be specified at the same time as the -bd option.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES

8.1.2.13 swsttrkstat (Tracking Status Display Command)

NAME

swsttrkstat - displays the status of tracking processing

SYNOPSIS

To Execute on Managed Server
/opt/FJSVswsts/bin/swsttrkstat [deviceName]
To Execute on Management Server
/opt/FJSVswsts/bin/swsttrkstat [-h serverName] [deviceName]

DESCRIPTION

This command displays the status of tracking processing.
When multiple types of synchronous processing are running on one transaction volume, the command displays the statuses of all types of tracking processing.
The displayed data is explained below.

Title

Description

Server

Displays a Managed Server name.

Transaction-Disk

Displays the AdvancedCopy Manager device name of a transaction volume.

Backup-Disk

Displays a backup volume name.
Displays "----" when the volume is not in the tracking status.

Status

Displays the execution status.

"----": Not in the process of tracking
"executing": In the process of physical copying and tracking
"tracking": In the process of tracking
"failed": Physical copying or tracking terminated abnormally
"nosession": No session exists. (eg, resource information is inconsistent.)
"?????": Failed to get copy status.

Execute

Displays the progress of copying as a percentage when "executing" is displayed in the Status column. "----" is displayed when "tracking" is displayed in the Status column.

Update

Displays the amount of updated data after logical copying as a percentage when "tracking" is displayed in the Status column. "----" is displayed when "executing" is displayed in the Status column.

OPTIONS

-h serverName

When executing on the Management Server, specify the name of the target Managed Server.
When executing on the target Managed server, it is not necessary to specify this option.
For the server name, accurately specify the same letters, including upper and lower case, as the server name displayed with the stgxfwcmdispsrv command.

OPERANDS

deviceName

Specify an AdvancedCopy Manager device name.
Refer to "1.2 Managing Device on AdvancedCopy Manager" for the devices to be specified.
If this operand is omitted, the command displays the statuses of tracking processing for all transaction volumes.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

NOTES