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 Server-Name [-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
Specifies a Managed Server name.
This option can be specified only on a Management Server.
Specify this option when an incorrect status exists in the replication management files. E.g., when swsrpsetvol (Replication volume information setting command) or swsrpdelvol (Replication volume information deletion command) that update the replication management files terminate suddenly because of a forced stop, a system failure or the replication management files have been deleted by mistake.
When this option is specified, the following processing is performed to recreate the replication management files.
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 swsrpmake (Replication creation 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 swsrpsetvol (Replication volume information setting command) and swsrpdelvol (Replication volume information deletion command) 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 replication between servers, 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 swsrpmake (Replication creation 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: