This section describes the maintenance commands for replication management.
NAME
swsrprecoverres - executes recovery to make replication management information
SYNOPSIS
/opt/FJSVswsrp/bin/swsrprecoverres [-r] [-p]
/opt/FJSVswsrp/bin/swsrprecoverres [-h serverName] [-r] [-p]
DESCRIPTION
This command executes recovery to make replication management information consistent if a system failure or other problem has made the replication management information inconsistent.
OPTIONS
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.
Specify this option when an incorrect status exists in the replication management lists. E.g., when the swsrpsetvol or swsrpdelvol command that update the replication management lists terminate suddenly because of a forced stop, a system failure or the replication management lists have been deleted by mistake.
When this option is specified, the following processing is performed to recreate the replication management lists.
Replication management information in the Management Server repository is downloaded to the Managed Server, and the replication volume information is restored.
The ETERNUS Disk storage system is queried, and the execution information for the synchronization processing is restored.
Specifies to not perform any post-processing that has not already been performed. This option can be used when the swsrpmake command processing terminates suddenly because of a forced stop or system failure.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
Perform resource adjustment:
#/opt/FJSVswsrp/bin/swsrprecoverres swsrprecoverres completed #
NOTES
The resource adjustment processing cannot be performed if:
Communication with a Management Server fails and the -r option is specified.
The -r option is not specified when this command is executed after processing by the swsrpsetvol and swsrpdelvol commands has been forcibly terminated.
When the original volume or replica volume is a logical volume of VxVM and the structure of the logical volume is changed to a structure not supported by AdvancedCopy Manager or the logical volume is deleted from VxVM.
The consistency of resource information is restored only for the Managed Server on which this command is executed. When a resource inconsistency occurs during processing related to server-to-server replication, this command must be executed both on the Managed Server on which the processing was performed and on the Managed Server with which communication is being made.
If this command is executed for the copy source volume and the copy destination volume in the status where the swsrpmake command is interrupted without completing its process and the remaining processing must be completed, the replication post-processing is executed.
This command cannot be executed while any of the following commands are running: