This section describes the maintenance commands for replication management.
NAME
swsrprecoverres - executes recovery to make replication management information
SYNOPSIS
<program-directory>\bin\swsrprecoverres [-r] [-p]
<program-directory>\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:
C:\>C:\Win32app\AdvancedCopyManager\bin\swsrprecoverres swsrprecoverres completed C:\>
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.
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:
swsrpsetvol (Replication volume information setting command)
swsrpvolinfo (Replication volume information display command)
swsrpdelvol (Replication volume information deletion command)
swsrpdbinfo_ex2k3/swsrpdbinfo_exchange (Exchange database information registration command)
swsrpvssbackup_exchange (Exchange VSS backup execution command)
swsrpvssrestore_exchange (Exchange VSS restore execution command)
swsrpshadowadm_exchange (Exchange VSS shadow copy management command)
swsrpshadowadm (Shadow copy management command)