NAME
swsrpstat_exchange - displays restoration status of a Storage group or a database.
SYNOPSIS
<program-directory>\bin\swsrpstat_exchange [-Xdevmap Device-Map-File ] -sgname Storage-Group-Name
<program-directory>\bin\swsrpstat_exchange [-Xdevmap Device-Map-File] -dbname Database-Name
DESCRIPTION
This command displays restoration status of the specified storage group or database.
Refer to swsrpstat (Operation status display command) for display information and notes.
OPTIONS
Specifies the storage group name.
Specifies the database name.
The database name containing a space needs to attach double quotation marks (" ").
Specifies the name of the device map file that defines the combinations of transaction volumes and target backup volumes. Specify the absolute path of the device map file.
If this option is omitted, the operation status of all replication volumes in the specified storage group or database is displayed.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Display the operation status of the storage group "FirstStorageGroup". Assume that the device map file that defines the associations between transaction volumes (i.e., the storage group volumes) and backup volumes is K:\STG\DEV.map:
C:\> C:\Win32App\AdvancedCopyManager\bin\swsrpstat_exchange -Xdevmap K:\STG\DEV.map -sgname FirstStorageGroup Server Original-Volume Replica-Volume Direction Status Execute EXCHG-SVR g1d1p1@EXCHG-SVR g1d11p1@BKUP-SVR reverse snap 80% EXCHG-SVR g1d2p1@EXCHG-SVR g1d12p1@BKUP-SVR reverse snap 63% C:\>
Display the operation status of the database "Mailbox1". Assume that the device map file that defines the associations between transaction volumes (i.e., the database volumes) and backup volumes is K:\DB\DEV.map:
C:\> C:\Win32App\AdvancedCopyManager\bin\swsrpstat_exchange -Xdevmap K:\DB\DEV.map -dbname Mailbox1 Server Original-Volume Replica-Volume Direction Status Execute EXCHG-SVR g1d1p1@EXCHG-SVR g1d11p1@BKUP-SVR reverse snap 80% EXCHG-SVR g1d2p1@EXCHG-SVR g1d12p1@BKUP-SVR reverse snap 63% C:\>
NOTES
Take corrective action as necessary when the execution status (displayed in the "Status" column) is one of the following:
Status | Corrective action |
---|---|
failed | A hardware error has occurred. Fix the hardware error and use swsrpcancel (Replication cancellation command) to stop operation. |
halt | A hardware error has occurred during replication between boxes. Fix the hardware error and use swsrpcancel (Replication cancellation command) to stop operation. |
????? | Copy information could not be obtained. If the same symptom still occurs after re-execution, a hardware error has occurred. Fix the hardware error and re-execute the command. |
The command cannot display the operation status if:
The specified original or replica volume is not defined as a replication volume.
This command cannot be executed while the following command is being executed: