This section describes operation commands for backup management.
NAME
swstbackup - backup
SYNOPSIS
/opt/FJSVswsts/bin/swstbackup [-suspend|-T] Device-Name [-Xdevmap Device-Map-File]
/opt/FJSVswsts/bin/swstbackup [-h Server-Name] [-suspend|-T] Device-Name [-Xdevmap Device-Map-File]
DESCRIPTION
When using this command, the operation changes according to different states of the Advanced Copy that is being executed.
When synchronous processing (EC) is not performed
Snapshot processing (OPC) is performed and the processing of information, such as the TimeStamp and backup volume of a copy target, is registered into backup history information.
When synchronous processing (EC) is performed
The state of synchronous processing is checked and, in the case of an equivalent maintenance state, backup synchronous processing is suspended. Information such as time and backup volume of a copy target is simultaneously registered into backup history information. A backup of this form is called synchronous high-speed backup. Note that it aborts when an equivalent maintenance state is not reached. To use the "Chapter 4 Backup Operation using Suspend/Resume Function" for synchronous high-speed backup, execute the backup command with -suspend option specified, and suspend backup synchronous processing.
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
Specifies a Managed Server name.
This option can be specified only on a Management Server.
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 will be 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.
This results in synchronous high-speed backup using the "Chapter 4 Backup Operation using Suspend/Resume Function".
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
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Back up a transaction volume:
# /opt/FJSVswsts/bin/swstbackup /dev/dsk/c1t1d0s6 /dev/dsk/c1t1d0s6 swstbackup completed #
NOTES
To preserve data integrity, this command performs the backup only after inhibiting access to both transaction and backup volumes from all other processes. Thus, drive letters, logical volume names or device labels of devices are unassigned. This command terminates with an error if a drive letter, logical volume name or device label of a transaction volume is assigned or if:
The mount point has directories to which other volumes are also mounted.
The volume has a file in use.
To mount a transaction volume from a server other than the server on which this command is entered, unmount the transaction volume, using the authority of the backup administrator. If the transaction volume must not be unmounted, create backup copies with the following procedure:
Execute the sync command to synchronize the transaction volume and file system.
Execute this command.
Execute the fsck command for the backup volume, and check the file system.
Backup cannot be executed in the following situations:
No backup policy has been specified for the specified transaction volume.
The backup that was executed one generation earlier was unsuccessful.
Restore is being performed to the transaction volume that is to be backed up.
Synchronous backup processing is performed in a transaction volume to be processed, but the state of equivalence is not reached;
Restoration is being executed using backup history information that will cause a generation overflow (this may occur when restoration is performed using the backup volume of the oldest history).
Any of the box information (box identifier, OLU number, EXTENT start position, and EXTENT size) of a transaction volume has been changed.
No unused backup volume was available for use as the copying destination.
The replication management function is executing a process for the target transaction volume.
The replication management function is executing a process for the target backup volume.
The replication management function is executing a process for backup records exceeding the number of preservation generations.
The mount point of a transaction volume set at registration has been changed.
A backup volume defined as the copy destination is mounted.
A device containing SynfinityFILE resources consisting of multiple transaction volumes is mounted.
When the transaction volume or backup volume is a logical volume of VxVM, or the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, or the logical volume is deleted from VxVM.
When the -T option is specified during the operation in which SDX objects are backed up in units of logical volumes
You cannot perform backup if:
The backup volume specified by the device map file cannot be paired with the transaction volume. This occurs if:
The specified backup volume is in use.
The transaction volume and the backup volume are not the same partition size.
The device map file contains an error (refer to "3.4.9.1 Describing a device map file").
The device map file name includes a national character.
When an ordinary volume is specified as the transaction volume and a GDS logical volume as the backup volume.
When a GDS logical volume is specified as the transaction volume and an ordinary volume as the backup volume.
At this time, if existing backup history information satisfies the condition of the number of saved generations specified by swstbkpolset (Backup policy setting command), then information on the oldest generation is automatically deleted from the backup history information during the backup process, and the backup volume is cleared. However, if -suspend or -T option is specified for the backup history information, then the backup volume with the Suspend or tracking state is not cleared and the backup volume remains in use.
The transaction volume on which the backup command is executed, one other transaction volume, and the suspended or tracking backup volume cannot be specified as backup destinations in the device map file.
In the case of a SynfinityFILE file system whose transaction volume consists of more than one device (multi-partition), backup cannot be performed the unmount/mount tasks cannot be performed inside the pre-processing and post-processing scripts respectively.
In this case, manually unmount the file system before backup is performed and re-mount it after the backup has completed.
When the SynfinityFILE and AdvancedCopy Manager configurations are as follows:
# sfxinfo /dev/dsk/c1t3d10s1 ID special size mount Type 0 /dev/dsk/c1t3d10s1(800019) 25986 /mnt META 0 /dev/dsk/c1t3d10s1(800019) 105751 /mnt DATA 1 /dev/dsk/c1t3d15s3(800028) 5120 /mnt LOG 2 /dev/dsk/c1t3d16s3(800030) 131736 /mnt DATA # /opt/FJSVswsts/bin/swstdevdisp -t Server Device Size Device-Mode Mount-Point (Method) Backup-Engine SV1 /dev/dsk/c1t3d10s1 128.0 Mbyte Transaction /mnt (ufs) AdvancedCopy SV1 /dev/dsk/c1t3d15s3 5.0 Mbyte Transaction /mnt (ufs) AdvancedCopy SV1 /dev/dsk/c1t3d16s3 128.0 Mbyte Transaction /mnt (ufs) AdvancedCopy #
Backup procedure
# umount /mnt # /opt/FJSVswsts/bin/swstbackup /dev/dsk/c1t3d10s1 /dev/dsk/c1t3d10s1 swstbackup completed # /opt/FJSVswsts/bin/swstbackup /dev/dsk/c1t3d15s3 /dev/dsk/c1t3d15s3 swstbackup completed # /opt/FJSVswsts/bin/swstbackup /dev/dsk/c1t3d16s3 /dev/dsk/c1t3d16s3 swstbackup completed # mount -F sfxfs /dev/dsk/c1t3d10s1 /mnt #
For details on how to use SDX objects of GDS, refer to "Configuration and conditions of unsupported SDX objects" and "9.1.5.1 Notes on SDX object operations (backup management)".
The pre-processing and post-processing scripts are not executed when the mirror slice of the SDX object is TEMP.
This command can be executed only while none of the following commands are running:
NAME
swstbackstat - displays the completion status of a backup
SYNOPSIS
/opt/FJSVswsts/bin/swstbackstat [Device-Name]
/opt/FJSVswsts/bin/swstbackstat [-h Server-Name] [Device-Name]
DESCRIPTION
This command displays the completion status of a backup that is being performed using swstbackup (Backup execution command).
The following information will be 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, "----" will be displayed. |
Status | Displays a backup completion status using one of the following character strings: "----" : No backup has been collected (ie, no history exists). |
Execute | Displays how much has been copied in percentage terms if "executing" is displayed in the Status field. Displays "----" unless "executing" is displayed. |
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
OPERANDS
Specifies the "1.5 Managing a Device on AdvancedCopy Manager" corresponding to a transaction volume.
If this operand is omitted, the backup execution statuses of all the transaction volumes will be displayed.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Display the actual copying execution status:
# /opt/FJSVswsts/bin/swstbackstat Server Transaction-Disk Backup-Disk Status Execute Work1 /dev/dsk/c1t0d0s3 /dev/dsk/c1t0d2s3 succeeded ---- Work1 /dev/dsk/c1t0d0s4 /dev/dsk/c1t0d2s4 executing 70% Work1 /dev/dsk/c1t0d0s5 /dev/dsk/c1t0d2s5 executing 30% : #
NOTES
Do not use the OPC stop function of ETERNUS Web GUI while the snapshot fast backup is in progress. If you do use the OPC stop function of ETERNUS Web GUI, it will display "succeeded" whether or not the backup has actually been successful.
If "failed" is displayed in the "Status" field, a hardware error may have occurred. Refer to "7.3 Troubleshooting: Hardware error during backup" for information about this.
Backup execution status display cannot be executed in the following circumstances:
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
If "gds-error" is displayed in the Status field, a problem with GDS is assumed.
Remedy the cause of the GDS problem, and take one of the following steps:
If backup synchronous processing is in progress, execute swstcancelsync (Backup synchronous processing cancel command) to cancel the backup synchronous processing.
If snapshot backup is in progress, execute swsthistdel (History information deletion command) to delete the backup history information.
If restoration is in progress, execute swstsrsemtch (Resource match command), and perform restoration again.
NAME
swstrestore - restore
SYNOPSIS
/opt/FJSVswsts/bin/swstrestore [-g Generation-No | -v Version-No] [-r Restore-Device-Name] [-Xgds-softcopy] Device-Name
/opt/FJSVswsts/bin/swstrestore [-h Server-Name] [-g Generation-No | -v Version-No] [-r Restore-Device-Name] [-Xgds-softcopy] Device-Name
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.
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
Specifies the relative generation number of data to be restored.
Check the relative generation number using swsthistdisp (History information display command).
Specifies the absolute generation number of data to be restored.
Check the absolute generation number using swsthistdisp (History information display command).
Specifies a restore destination device name to restore data to any device other than a transaction volume.
Cannot be specified for a GDS logical volume.
Performs restoration by software-copy for restoration in linkage with GDS Snapshot. If this option is not specified, restoration is performed with OPC.
Note: If neither the -g or -v option is specified, the latest information from the information history management will be restored.
OPERANDS
Specifies the AdvancedCopy Manager device name corresponding to a transaction volume.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Restore data with relative generation number 2. For information on the relative generation number, refer to data displayed using swsthistdisp (History information display command):
# /opt/FJSVswsts/bin/swstrestore -g 2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swstrestore completed #
If the "Chapter 4 Backup Operation using Suspend/Resume Function" is used for the backup operation on the transaction volume, the suspended synchronous processing is deleted and the restore command is executed. For information on the suspended synchronous processing, refer to the data displayed by swstsyncstat (Backup synchronous processing progress display command). Execute swstcancelsync (Backup synchronous processing cancel command) to cancel the synchronous processing:
# /opt/FJSVswsts/bin/swstsyncstat /dev/dsk/c1t0d0s6 Server Transaction-Disk Backup-Disk Status Execute Work2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s5 suspend ---- Work2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s6 executing 75% # /opt/FJSVswsts/bin/swstcancelsync -all /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swstcancelsync completed # /opt/FJSVswsts/bin/swstsyncstat /dev/dsk/c1t0d0s6 Server Transaction-Disk Backup-Disk Status Execute Work2 /dev/dsk/c1t0d0s6 ---- ---- ---- # /opt/FJSVswsts/bin/swstrestore /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swstrestore completed #
NOTES
On a transaction volume on which a file system has been constructed, restore a specific file as follows:
Mount a backup volume. Check the backup volume by executing the Backup History List view/swsthistdisp (History information display command).
Copy the file to be restored by executing, for example, the cp command.
Unmount the backup volume.
For the SynfinityFILE file system, follow the procedure below:
Execute the following commands for a backup volume:
# sfxadm <RAW-device-name-of-the-backup-volume> # fsck -F sfxfs -o f <RAW-device-name-of-the-backup-volume>
Mount the backup volume:
# mount -F sfxsfs <backup-volume-name> <mount-point-name>
Copy the file to be restored by executing, for example, the cp command:
Unmount the backup volume:
# unmount <backup-volume-name> or <mount-point-name>
If a transaction volume is mounted from a server other than the server on which this command is entered, execute this command after unmounting the transaction volume, using the authority of the backup administrator.
Restoration or recovery cannot be executed in the following situations:
When both relative and absolute generation numbers have been specified.
When a device registered as a transaction volume has been specified in a parameter with the -r option.
When a device registered as a backup volume has been specified in a parameter with the -r option, the device has been registered in the backup registration information of a certain transaction volume. If you restore data to a backup volume without registered backup data, and the backup volume is used to back up a certain transaction volume, then data will be overwritten. It is recommended that a backup volume should NEVER be specified as a restore destination device.
When you perform restoration immediately after starting backup where the actual copying using OPC is still in progress, (except when the combination of transaction volume and backup volume is the same for backup and restoration). A restoration should always be performed after the actual copying using OPC is completed. Alternatively, on a transaction volume on which a file system has been constructed, perform restoration according to the method described in the Point "In a transaction volume on which a file system has been constructed, restore a specific file" above.
A transaction volume currently in use with synchronous backup processing is specified.
When any of the box information (box identifier, OLU number, EXTENT start position, and EXTENT size) of a transaction volume to be restored has been changed.
The replication management function is executing a process for the target transaction volume.
The replication management function is executing a process for the device specified in the -r option.
The mount point set at registration of a transaction volume has been changed.
A GDS logical volume is specified as the restoration destination volume of an ordinary transaction volume.
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
A slice including VTOC is specified for the -r option.
The -r option is specified for recovery of a GDS logical volume.
If the SynfinityFILE file system is already mounted before restoration of devices of the SynfinityFILE file system consisting of multiple partitions, unmount the SynfinityFILE file system, and then restore all devices that make up the SynfinityFILE file system.
The -Xgds-softcopy option is specified for a device that is not a GDS logical volume.
A GDS logical volume is specified as the restoration destination volume of an ordinary transaction volume.
When an SDX object has been specified in a parameter with the -r option.
The suspended or tracking backup volume cannot be used as the restore destination volume.
The restore command cannot be executed on a transaction volume during synchronous processing (eg, during copying by EC, under the equivalency maintained status, in the Suspend state).
If the following errors occur during restore processing, then execute swstcancelsync (Backup synchronous processing cancel command) (with the -all option specified) to cancel all of the synchronous processing of the transaction volume, and execute the restore command:
"swst0639 This Command cannot be run. This is because a copy is currently running"
"swst0634 OPC cannot be run. Error code=26 (SCSI command busy)"
If the transaction volume is an SDX object and a non-single volume, you cannot perform restoration using this command. If so, perform recovery as follows:
The backup volume is confirmed by backup history list view or swsthistdisp (History information display command).
copies onto the volume which is restore in the dd command
In the case of a SynfinityFILE file system that consists of more than one device (multipartition), backup cannot be performed by using pre-processing and post-processing scripts to execute unmount/mount.
In the case of a SynfinityFILE file system that consists of more than one device (multipartition), unmount the file system before restoration is performed and mount it after that restoration is completed.
When the SynfinityFILE and AdvancedCopy Manager configurations are as follows:
# sfxinfo /dev/dsk/c1t3d10s1 ID special size mount Type 0 /dev/dsk/c1t3d10s1(800019) 25986 /mnt META 0 /dev/dsk/c1t3d10s1(800019) 105751 /mnt DATA 1 /dev/dsk/c1t3d15s3(800028) 5120 /mnt LOG 2 /dev/dsk/c1t3d16s3(800030) 131736 /mnt DATA # /opt/FJSVswsts/bin/swstdevdisp -t Server Device Size Device-Mode Mount-Point (Method) Backup-Engine SV1 /dev/dsk/c1t3d10s1 128.0 Mbyte Transaction /mnt (ufs) AdvancedCopy SV1 /dev/dsk/c1t3d15s3 5.0 Mbyte Transaction /mnt (ufs) AdvancedCopy SV1 /dev/dsk/c1t3d16s3 128.0 Mbyte Transaction /mnt (ufs) AdvancedCopy #
Restore procedure
# umount /mnt # /opt/FJSVswsts/bin/swstrestore /dev/dsk/c1t3d10s1 /dev/dsk/c1t3d10s1 swstrestore completed # /opt/FJSVswsts/bin/swstrestore /dev/dsk/c1t3d15s3 /dev/dsk/c1t3d15s3 swstrestore completed # /opt/FJSVswsts/bin/swstrestore /dev/dsk/c1t3d16s2 /dev/dsk/c1t3d16s3 swstrestore completed # mount -F sfxfs /dev/dsk/c1t3d10s1 /mnt #
When the SynfinityFILE file system is restored, the restore destination device may not be able to be mounted. In this event, use the following procedure to mount the restore destination device:
Execute the following on the restore destination device:
# sfxadm <raw-device-name-of-restore-destination-device>
Mount the restore destination device as follows:
# mount -F sfxfs <restore-destination-device-name mount-point-name>
For details on how to use SDX objects of GDS, refer to "Configuration and conditions of unsupported SDX objects" and "9.1.5.1 Notes on SDX object operations (backup management)".
This command can only be executed while none of the following commands are running:
NAME
swstcancelrest - cancels OPC-based restoration
SYNOPSIS
/opt/FJSVswsts/bin/swstcancelrest [-g Generation-No | -v Version-No] [-r Restore-Device-Name] [-emergency] Device-Name
/opt/FJSVswsts/bin/swstcancelrest [-h Server-Name][-g Generation-No | -v Version-No][-r Restore-Device-Name] [-emergency] Device-Name
DESCRIPTION
This command cancels OPC-based restoration.
A hardware error will be displayed when swstrestore (Restore execution command) is executed while data is being copied using OPC. Fix the cause of the hardware error and repeat restoration using swstrestore (Restore execution command).
Check whether a fault occurred using swstreststat (Restore execution status display command).
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
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 swstreststat (Restore execution status display command).
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 swstreststat (Restore execution status display command).
Specifies the device name if data is restored to any other device than a transaction volume.
Check the device name using swstreststat (Restore execution status display command).
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 will be cancelled if neither the -g or -v option is specified.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Cancel restoration of the transaction volume:
# /opt/FJSVswsts/bin/swstcancelrest -g 1 /dev/sdb6 /dev/sdb6 swstcancelrest completed. #
Restoration of the latest history information on the transaction volume is cancelled in emergency operation mode:
# /opt/FJSVswsts/bin/swstcancelrest -emergency /dev/sdb6 /dev/sdb6 swstcancelrest completed. #
NOTES
If you cancel OPC-based restoration using this command, the transaction volume will be in an incomplete state and can no longer be used because part of the data has already been overwritten by the copy process. Perform restoration again using swstrestore (Restore execution command).
If the transaction volume is a GDS logical volume and restoration is cancelled, the state of the transaction volume becomes INVALID. In such cases, refer to the "PRIMECLUSTER(TM) Global Disk Services User's Guide (Solaris(TM) Operating System)", and restore the logical volume.
You cannot cancel restoration if:
The history specified in the -g or -v option does not exist.
Restoration is not performed on the device specified in the -r option.
Restoration is not performed from the specified history. In this case, processing is terminated with an information message "swst0303 Restoration for specified restoration device is not performed". The end status after this message is a normal end.
The replication management function is executing a process for the target transaction volume
However, OPC sessions are neither confirmed nor cancelled by execution in emergency operation mode. If an OPC session is in the error suspended state, then unmanaged sessions remain. In this case, ETERNUS Web GUI must be used to cancel these sessions.
If a logical volume of VxVM is deleted or its structure is changed to a structure not supported by AdvancedCopy Manager, restoration cannot be cancelled. In such cases, take action according to either item a) or b).
Make sure that Advanced Copy is not in progress for the replication volume to be deleted, and execute this command with the -emergency option specified. If Advanced Copy is in progress, stop Advanced Copy processing by using ETERNUS Disk storage system or take action according to item b).
Re-create the logical volume or return the logical volume structure to its original state, and then execute this command.
This command can only be executed while none of the following commands are running:
NAME
swstreststat - displays the execution status of restoration
SYNOPSIS
/opt/FJSVswsts/bin/swstreststat [-g Generation-No | -v Version-No] [-Xgds-softcopy] [Device-Name]
/opt/FJSVswsts/bin/swstreststat [-h Server-Name [-g Generation-No | -v Version-No] [-Xgds-softcopy] [Device-Name]
DESCRIPTION
This command displays the execution status of restoration.
The following information will be 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. "----" will be 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. "----" will be 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. "----" will be 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. "----" will be 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 or software-copy by GDS is in progress. |
Execute | Displays how much has been copied in percentage terms if "executing" is displayed in the Status field. Displays "----" unless "executing" is displayed. |
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
Specifies the relative generation number of data whose restore execution status is to be displayed.
Specifies the absolute generation number of data whose restore execution status is to be displayed.
Displays the restore execution status of a GDS logical volume.
Use this option to check the copy status when restoration using the software-copy function of GDS is in progress.
When the option is specified, the Status field display when copying is completed is "----", which is the same as before copying started.
Note: The restore execution statuses of all the histories will be displayed if both the -g and -v options are omitted.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
If this operand is omitted, the restore execution statuses of all the transaction volumes will be displayed.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Display the restore execution statuses of transaction volumes:
# /opt/FJSVswsts/bin/swstreststat Server Transaction-Disk Generation Version Backup-Disk Restore-Device Status Execute Work2 /dev/dsk/c1t0d0s3 1 10 /dev/dsk/c1t0d2s3 /dev/dsk/c1t0d1s3 executing 75% Work2 /dev/dsk/c1t0d0s4 ---- ---- ---- ---- ---- ---- Work2 /dev/dsk/c1t0d0s5 2 12 /dev/dsk/c1t0d2s5 ---- succeeded --- Work2 /dev/dsk/c1t0d0s6 3 13 /dev/dsk/c1t0d2s6 /dev/dsk/c1t0d1s6 executing 75% : #
NOTES
Do not use the OPC stop function of ETERNUS Web GUI while the snapshot fast backup is in progress. If you use the OPC stop function of ETERNUS Web GUI, this command displays "succeeded" whether or not the restoration has actually been successful.
If "failed" is displayed in the "Status" field, a hardware error may have occurred. Refer to "7.3 Troubleshooting: Hardware error during backup" for information about this.
If no generation number has been specified in the -v or -g option, the restore execution statuses of all the histories will be displayed. If, at this time, restoration is not in progress from any of the histories, "----" will be displayed in all the information fields other than "Server" and "Transaction-Disk".
In the following cases, restore execution status display processing cannot be executed:
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
If "gds-error" is the status displayed in the Status field, a problem with GDS is assumed. Correct the cause of the GDS problem, and take action as follows:
If backup synchronous processing is in progress, execute swstcancelsync (Backup synchronous processing cancel command) to cancel the backup synchronous processing.
If snapshot backup is in progress, execute swsthistdel (History information deletion command).
If restoration is in progress, execute swstsrsemtch (Resource match command), and perform restoration again.
NAME
swsthistdisp - displays the backup history information
SYNOPSIS
/opt/FJSVswsts/bin/swsthistdisp [Device-Name]
/opt/FJSVswsts/bin/swsthistdisp [-h Server-Name] [Device-Name]
DESCRIPTION
This command displays history information in relation to data that has been backed up.
The following information will be 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. |
Generation | Displays a relative generation number. |
Version | Displays an absolute generation number. |
Backup-Date | Displays a TimeStamp reflecting when backup has been completed. |
Backup-Disk | Displays the name of a backup volume to which data has been backed up. |
Status | Displays an actual copying execution status using one of the following character strings: "succeeded" : Copying using OPC has been completed. This item will not be displayed if no backup history information exists. |
Execute | Displays how much has been copied in percentage terms if "executing" is displayed in the Status field. Displays "----" unless "executing" is displayed. This item will not be displayed if no backup history information exists. |
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
If this operand is omitted, the backup history information of all the transaction volumes will be displayed.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Display the backup history information of all the transaction volumes:
# /opt/FJSVswsts/bin/swsthistdisp Server=job1 Device=/dev/dsk/c1t0d0s6 Mount-Point=/mnt/Tran1 (ufs) Generation Version Backup-Date Backup-Disk Status Execute 1 10 2000/11/12 22:00 /dev/dsk/c1t0d2s6 succeeded ---- 2 9 2000/11/11 22:00 /dev/dsk/c1t0d4s6 succeeded ---- : #
NOTES
If "failed" is displayed in the "Status" field, a hardware error may have occurred. Refer to "7.3 Troubleshooting: Hardware error during backup" for information about this.
In the following cases, history information display processing cannot be executed:
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
If "gds-error" is the status displayed in the Status field, a problem with GDS is assumed. Correct the cause of the GDS problem, and take action as follows:
If backup synchronous processing is in progress, execute swstcancelsync (Backup synchronous processing cancel command) to cancel the backup synchronous processing.
If snapshot backup is in progress, execute swsthistdel (History information deletion command).
If restoration is in progress, execute swstsrsemtch (Resource match command), and perform restoration again.
NAME
swsthistdel - deletes backup history information
SYNOPSIS
/opt/FJSVswsts/bin/swsthistdel -g Generation-No| -v Version-No | -z [-emergency] Device-Name
/opt/FJSVswsts/bin/swsthistdel [-h Server-Name] -g Generation-No| -v Version-No | -z [-emergency] Device-Name
DESCRIPTION
This command deletes backup history information.
The backup volume of the deleted history is released and becomes an empty backup volume.
OPTIONS
Specifies a Managed Server name.
This option can only be specified on a Management Server.
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 swsthistdisp (History information display command).
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 swsthistdisp (History information display command).
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 operation mode is available for operations.
In such cases, OPC sessions are neither confirmed nor cancelled.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Delete a history with absolute generation number 10 of a transaction volume:
# /opt/FJSVswsts/bin/swsthistdel -v 10 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swsthistdel completed #
The history information of relative generation number 1 of the transaction volume is deleted in the emergency operation mode:
# /opt/FJSVswsts/bin/swsthistdel -g 1 -emergency /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swsthistdel completed #
NOTES
You cannot delete backup history information if:
The backup history information specified in the -g or -v option does not exist.
The specified backup history information is currently being used in a restoration.
The replication management function is executing a process for the target transaction volume.
The replication management function is executing a process for the target backup volume.
However, OPC sessions are neither confirmed nor cancelled by execution in emergency operation mode. If an OPC session is in the error suspended state, then unmanaged sessions remain. In this case, ETERNUS Web GUI must be used to cancel these sessions.
Deleting the suspended history information does not cancel the synchronous processing (in an EC session).
Deleting the tracking history information does not cancel the tracking processing (in an OPC session).
In synchronous high-speed backup with -suspend option specified, the backup volume remains in use even after the history information is deleted.
In differential snapshot high-speed backup with -T option specified, the backup volume remains in use even after the history information is deleted.
If the history information is deleted while the OPC physical copy has not been completed in a backup operation mode other than the differential snapshot high-speed backup, physical copying of the deleted history is interrupted. In this case, the data in the backup volume is incomplete (ie, copy has stopped part way through). The backup volume is put in the unused state upon deletion of the history information and becomes ready for use in the next backup.
In the differential snapshot high-speed backup mode, the physical copying of the deleted history is continued even after the history information on the incomplete OPC physical copy is deleted. Even after deletion of the history information, the backup volume is in the busy state and becomes ready for use in the next backup of the relevant transaction volume.
If a logical volume of VxVM is deleted or its structure is changed to a structure not supported by AdvancedCopy Manager, restoration cannot be cancelled. In such cases, take action according to either item a) or b).
Make sure that Advanced Copy is not in progress for the replication volume to be deleted, and execute this command with the -emergency option specified. If Advanced Copy is in progress, stop Advanced Copy processing by using the ETERNUS Disk storage system).
Re-create the logical volume or return the logical volume structure to its original state, and then execute this command.
For details on how to use SDX objects of GDS, refer to "Configuration and conditions of unsupported SDX objects" and "9.1.5.1 Notes on SDX object operations (backup management)".
This command can be executed only while none of the following commands are running:
NAME
swststartsync - starts backup synchronous processing
SYNOPSIS
/opt/FJSVswsts/bin/swststartsync [-Xgds-softcopy | -Xgds-selectcopy] Device-Name [-Xdevmap Device-Map-File]
/opt/FJSVswsts/bin/swststartsync [-Xgds-softcopy | -Xgds-selectcopy] [-h Server-Name] Device-Name [-Xdevmap Device-Map-File]
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.
For a GDS transaction volume, synchronous processing by software-copy is also possible.
OPTIONS
Specify the name of a Managed Server.
This option can be specified only on the Management Server.
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 will be 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.
Specifies the start of backup synchronous processing of an SDX object and use of the software-copy function instead of the Advanced Copy function.
If you specify this option to start differential copying when the Advanced Copy function is being used, Advanced Copy processing stops and software-copy processing starts.
You can specify the option when the function in linkage with GDS Snapshot is being used.
Specifies that GDS select the copy processing method of an SDX object.
You can specify the option when the function in linkage with GDS Snapshot is being used.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
To start the backup synchronous processing for a transaction volume:
# /opt/FJSVswsts/bin/swststartsync /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swststartsync completed. #
Backup synchronous processing of a logical volume (/dev/sfdsk/CLS01/dsk/VOL01) of an SDX object is started. The copy processing method is software-copy:
# /opt/FJSVswsts/bin/swststartsync -Xgds-softcopy /dev/sfdsk/CLS01/dsk/VOL01 /dev/sfdsk/CLS01/dsk/VOL01 swststartsync completed. #
NOTES
When you execute the backup synchronous processing start command for a transaction volume to which the backup synchronous processing is already being executed, the message "swst0301 Backup synchronous processing is already in progress." is output.
You cannot start backup synchronous processing in the following cases. In any of the cases below, perform the action according to the "System administrator response" message.
When specifying a device that does not support the EC function. (no linkage with GDS Snapshot)
When the backup volumes required for starting the backup synchronous processing cannot be obtained.
When specifying a device that is being restored by OPC.
When mounting the backup volume to which data is copied.
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
The -Xgds-softcopy option is specified for a device that is not a GDS logical volume. Alternatively, the -Xgds-selectcopy option is specified for a device that is not a GDS logical volume.
The replication management function is executing a process for the target transaction volume.
If a suspended backup volume is the transaction volume at the start of the synchronous processing, then the suspended backup volume is selected as the backup destination with the highest priority, and the synchronous processing restarts (ie, differential copy) starts. Otherwise, the synchronous processing (ie, full copy) starts.
Backup synchronous processing with the output destination backup volume specified cannot be started in the following circumstances:
The backup volume specified in the device map file cannot be used as the backup volume to be paired with the transaction volume. This means that either of the following conditions is not satisfied:
The specified backup volume is in the unused state.
The transaction volume and backup volume have the same partition size.
The target transaction volume is incorrectly described in the device map file (Refer to "3.4.9.1 Describing a device map file").
Any special or foreign characters, operators or reserved words are used in the in the device map file names.
An ordinary volume is specified as the transaction volume and a GDS logical volume as the backup volume.
A GDS logical volume is specified as the transaction volume and an ordinary volume as the backup volume.
For details on how to use SDX objects of GDS, refer to "Configuration and conditions of unsupported SDX objects" and "9.1.5.1 Notes on SDX object operations (backup management)".
This command cannot be executed when any of the following commands are running:
NAME
swstcancelsync - cancels the backup synchronous processing
SYNOPSIS
/opt/FJSVswsts/bin/swstcancelsync [-emergency] [-bd Backup-Device-Name | -all] Device-Name
/opt/FJSVswsts/bin/swstcancelsync [-h Server-Name] [-emergency] [-bd Backup-Device-Name | -all] Device-Name
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 swstsyncstat (Backup synchronous processing progress display command) to check for the error.
OPTIONS
Specify the name of a Managed Server.
This option can be specified only with a Management Server.
Emergency operation mode is available for operations.
In such cases, EC sessions are neither confirmed nor cancelled.
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 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
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Cancelling backup synchronous processing to a transaction volume:
# /opt/FJSVswsts/bin/swstcancelsync/dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swstcancelsync completed. #
Cancelling backup synchronous processing of transaction volume in the emergency operation mode:
# /opt/FJSVswsts/bin/swstcancelsync -emergency /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d0s6 swstcancelsync completed. #
Cancelling backup synchronous processing of the backup volume from the transaction volume:
# /opt/FJSVswsts/bin/swstsyncstat /dev/dsk/c1t0d0s6 Server Transaction-Disk Backup-Disk Status Execute Work2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s5 suspend ---- Work2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s6 executing 75% # /opt/FJSVswsts/bin/swstcancelsync /dev/dsk/c1t0d0s6 -bd /dev/dsk/c1t0d2s6 /dev/dsk/c1t0d0s6 swstcancelsync completed. # /opt/FJSVswsts/bin/swstsyncstat /dev/dsk/c1t0d0s6 Server Transaction-Disk Backup-Disk Status Execute Work2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s5 suspend ---- #
Cancelling all of the backup synchronous processing of the transaction volume:
# /opt/FJSVswsts/bin/swstsyncstat /dev/dsk/c1t0d0s6 Server Transaction-Disk Backup-Disk Status Execute Work2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s5 suspend ---- Work2 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s6 executing 75% # /opt/FJSVswsts/bin/swstcancelsync /dev/dsk/c1t0d0s6 -all /dev/dsk/c1t0d0s6 swstcancelsync completed. # /opt/FJSVswsts/bin/swstsyncstat /dev/dsk/c1t0d0s6 Server Transaction-Disk Backup-Disk Status Execute Work2 /dev/dsk/c1t0d0s6 ---- ---- ---- #
NOTES
However, EC sessions are neither confirmed nor cancelled by execution in the emergency operation mode. If an EC session is in the error suspended state or the halt state, then unmanaged sessions remain. In this event, ETERNUS Web GUI must be used to cancel these sessions.
You cannot cancel synchronous backup processing in the following case:
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
The replication management function is executing a process for the target transaction volume.
If a logical volume of VxVM is deleted or its structure is changed to a structure not supported by AdvancedCopy Manager, restoration cannot be cancelled. In such cases, take action according to either item a) or b).
Make sure that Advanced Copy is not in progress for the replication volume to be deleted, and execute this command with the -emergency option specified. If Advanced Copy is in progress, stop Advanced Copy processing by using ETERNUS Disk storage system).
Re-create the logical volume or return the logical volume structure to its original state, and then execute this command.
For details on how to use SDX objects of GDS, refer to "Configuration and conditions of unsupported SDX objects" and "9.1.5.1 Notes on SDX object operations (backup management)".
This command cannot be executed when any of the following commands are running:
NAME
swstsyncstat - displays the execution status of the backup synchronous processing
SYNOPSIS
/opt/FJSVswsts/bin/swstsyncstat [Device-Name]
/opt/FJSVswsts/bin/swstsyncstat [-h Server-Name] [Device-Name]
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. |
Status | Displays the status of backup synchronous processing: "----" : Backup synchronous processing is not being executed. |
Execute | Displays the progress of the backup synchronous processing as a percentage (0 to 100%). |
OPTIONS
Specify the name of a Managed Server.
This option can be specified only with the Management Server.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a 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
To display the status of backup synchronous processing to a transaction volume:
# /opt/FJSVswsts/bin/swstsyncstat /dev/sdb6 Server Transaction-Disk Backup-Disk Status Execute Work1 /dev/sdb6 /dev/sdd5 suspend ---- Work1 /dev/sdb6 /dev/sdd6 executing 75% #
To display the status of backup synchronous processing for all of the transaction volumes:
# /opt/FJSVswsts/bin/swstsyncstat Server Transaction-Disk Backup-Disk Status Execute Work1 /dev/dsk/c1t0d0s3 /dev/dsk/c1t0d2s1 suspend ---- Work1 /dev/dsk/c1t0d0s3 /dev/dsk/c1t0d2s3 executing 75% Work1 /dev/dsk/c1t0d0s3 /dev/dsk/c1t0d3s3 suspend ---- Work1 /dev/dsk/c1t0d1s3 /dev/dsk/c1t0d3s5 equivalent 100% Work1 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s6 failed ---- Work1 /dev/dsk/c1t0d1s4 ---- ---- ---- #
NOTES
If "failed" is indicated as the status of the backup synchronous processing (in the Status field), a hardware failure has possibly occurred. Refer to "7.3 Troubleshooting: Hardware error during backup" for more information about this.
If "nosession" is indicated as the status of the backup synchronous processing (in the Status field), resource information having inconsistency is a possible cause. Use swstsrsemtch (Resource match command) to remove the inconsistency from the resource information.
In the following cases, backup synchronous processing progress display command cannot be executed:
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
If "gds-error" is the status displayed in the Status field, a problem with GDS is assumed. Correct the cause of the GDS problem, and take action as follows:
If backup synchronous processing is in progress, execute swstcancelsync (Backup synchronous processing cancel command) to cancel the backup synchronous processing.
If snapshot backup is in progress, execute swsthistdel (History information deletion command).
If restoration is in progress, execute swstsrsemtch (Resource match command), and perform restoration again.
NAME
swstexecstat - displays the execution status of other commands executed
SYNOPSIS
/opt/FJSVswsts/bin/swstexecstat [-j] [Device-Name]
/opt/FJSVswsts/bin/swstexecstat [-j] [-h Server-Name] [Device-Name]
DESCRIPTION
This command displays the execution status of other commands executed on a transaction volume. The execution status of OPC/EC will be displayed if OPC/EC is being executed.
The following information will be 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 will be displayed as "DELAY=number-of-days-passing". "OK" will be 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" will be displayed. Otherwise, "IDLE" will be displayed. |
Mount-Point (Method) | Displays the mount point of a device. The file system type of the mount point is displayed inside the parentheses. |
Execute | Displays the name of the command being executed or the progress of copying. "----" : Neither a command nor OPC/EC is being executed. During synchronous high-speed backup with -suspend specified, no operation ("----") is indicated in the Execute field. |
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 field conforms to the following rules:
The display of a command name takes priority if both copying and command executions are in progress.
When a disk copy of the snapshot backup and a disk copy of the backup synchronous processing are being handled simultaneously, the progress of the disk copy of the backup synchronous processing is displayed. A disk copy for restoration is not performed during disk copy of the snapshot backup or backup synchronous processing due to a restriction of ETERNUS Disk storage system.
The following information will be displayed:
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" will be displayed. Otherwise, "IDLE" will be displayed. |
Mount-Point (Method) | Displays the mount point of a device. The file system type of the mount point is displayed inside the parentheses. |
Execute | Displays the name of the command being executed or the progress of copying. "----" : Neither a command nor OPC/EC is being executed. During synchronous high-speed backup with -suspend specified, no operation ("----") is indicated in the Execute field. |
OPTIONS
Specifies a Managed Server name.
This option can be specified only on a Management Server.
Specifies to display information in another format.
OPERANDS
Specifies the AdvancedCopy Manager device name corresponding to a transaction volume.
If this operand is omitted, the execution statuses of all the transaction volumes will be displayed.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Display the execution statuses of transaction volumes:
# /opt/FJSVswsts/bin/swstexecstat Server Device Last-Backup-Date Interval Status Mount-Point (Method) Execute Work1 /dev/dsk/c1t0d0s3 2000/12/11 12:20 OK IDLE /usr1 (ufs) ---- Work1 /dev/dsk/c1t0d0s4 2000/12/10 12:20 DELAY=1 IDLE /usr2 (ufs) sync(22%) Work1 /dev/dsk/c1t0d0s5 2000/12/09 12:20 DELAY=2 IDLE /usr3 (ufs) snapshot(45%) : #
An example of using the -j option is as follows:
# /opt/FJSVswsts/bin/swstexecstat -j Server Device Execute-Date Status Mount-Point (Method) Execute Work1 /dev/dsk/c1t0d0s3 2000/12/11 12:20 IDLE /usr1 (ufs) ---- Work1 /dev/dsk/c1t0d0s4 2000/12/10 12:20 IDLE /usr2 (ufs) sync(22%) Work1 /dev/dsk/c1t0d0s5 2000/12/09 12:20 IDLE /usr3 (ufs) snapshot(45%) : #
NOTES
If "sync (failed)", "snapshot(failed)", or "restore(failed)" is displayed in the Execute field, a hardware error may have occurred. After fixing the cause of the hardware error, perform the following:
For "sync (failed)":
Execute swstcancelsync (Backup synchronous processing cancel command) to cancel the backup synchronous processing.
If "snapshot(failed)" is displayed:
Delete backup history information using swsthistdel (History information deletion command).
If "restore(failed)" is displayed:
Cancel restoration using swstcancelrest (Restore cancellation command).
In the following cases, execution status display command cannot be executed:
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.
If "gds-error" is the status displayed in the Status field, a problem with GDS is assumed. Correct the cause of the GDS problem, and take action as follows:
If backup synchronous processing is in progress, execute swstcancelsync (Backup synchronous processing cancel command) to cancel the backup synchronous processing.
If snapshot backup is in progress, execute swsthistdel (History information deletion command).
If restoration is in progress, execute swstsrsemtch (Resource match command), and perform restoration again.
NAME
swstcanceltrk - stops tracking processing
SYNOPSIS
/opt/FJSVswsts/bin/swstcanceltrk [-copy | -emergency] Device-Name (-bd Backup-Device-Name | -all)
/opt/FJSVswsts/bin/swstcanceltrk -h Server-Name [-copy | -emergency] Device-Name (-bd Backup-Device-Name | -all)
DESCRIPTION
This command stops tracking processing.
OPTIONS
Specifies a Managed Server name.
This option can be specified only on the Management Server.
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 swsthistdel (History information deletion command).
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.
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.
Stops the entire tracking processing specified for the transaction volumes. This option cannot be specified at the same time as the -bd option.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a Device on AdvancedCopy Manager" for the devices to be specified.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
The following example stops the tracking processing that was specified for the backup volume from the transaction volume:
# /opt/FJSVswsts/bin/swstcanceltrk /dev/dsk/c1t0d0s6 -bd /dev/dsk/c1t0d2s6 /dev/dsk/c1t0d0s6 swstcanceltrk completed. #
The following example stops tracking processing and physical copying that were specified for the transaction volume:
# /opt/FJSVswsts/bin/swsttrkstat /dev/dsk/c1t0d1s6 Server Transaction-Disk Backup-Disk Status Execute Update job2 /dev/dsk/c1t0d1s6 /dev/dsk/c1t0d2s6 executing 33% ----- # /opt/FJSVswsts/bin/swstcanceltrk -copy /dev/dsk/c1t0d1s6 -bd /dev/dsk/c1t0d2s6 /dev/dsk/c1t0d0s6 swstcanceltrk completed. #
NOTES
If the command is executed in emergency operation mode, no OPC session is cancelled. A session that is not managed remains in operation if the command is entered during tracking. The session must be cancelled using ETERNUS Web GUI or GDS.
Tracking processing cannot be stopped under the following condition. In this case, take action according to "System administrator response" provided for the message output.
When tracking processing is not performed for the specified copy source and destination volumes.
This command cannot be executed while one of the following commands is being executed:
NAME
swsttrkstat - displays the status of tracking processing
SYNOPSIS
/opt/FJSVswsts/bin/swsttrkstat [Device-Name]
/opt/FJSVswsts/bin/swsttrkstat [-h Server-Name] [Device-Name]
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 |
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
Specifies a Managed Server name.
This option can be specified only on the Management Server.
OPERANDS
Specify an AdvancedCopy Manager device name.
Refer to "1.5 Managing a 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
The following example displays the status of tracking processing of a transaction volume:
# /opt/FJSVswsts/bin/swsttrkstat /dev/dsk/c1t0d0s6 Server Transaction-Disk Backup-Disk Status Execute Update job1 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s6 tracking ---- 12% #
The following example displays the status of tracking processing of all transaction volumes:
# /opt/FJSVswsts/bin/swsttrkstat Server Transaction-Disk Backup-Disk Status Execute Update job1 /dev/dsk/c1t0d0s3 /dev/dsk/c1t0d2s3 nosession ---- ---- job1 /dev/dsk/c1t0d0s4 /dev/dsk/c1t0d2s4 executing 75% ---- job1 /dev/dsk/c1t0d0s5 /dev/dsk/c1t0d2s5 failed ---- ---- job1 /dev/dsk/c1t0d0s6 /dev/dsk/c1t0d2s6 tracking ---- 12% job1 /dev/dsk/c1t0d1s4 ---- ---- ---- ---- : #
NOTES
When the execution status (ie, the value displayed in the "Status" column) is "failed," a hardware problem has occurred Fix cause of the problem and then re-execute the differential snapshot backup.
When the execution status (ie, the value displayed in the "Status" column) is "nosession," the resource information is probably inconsistent. Use swstsrsemtch (Resource match command) to remove any inconsistencies from the resource information.
The execution status of the tracking process cannot be displayed under the following conditions:
When the transaction volume or backup volume is a logical volume of VxVM, the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager.
When the transaction volume or backup volume is a logical volume of VxVM, the logical volume is deleted from VxVM.