Document ID: 302943
http://support.veritas.com/docs/302943
E-Mail Colleague IconE-Mail this document to a colleague

How to recover from a corrupt, or stale, SRL - Veritas Storage Foundation for Windows Volume Replicator Option

Details:

Background

The Veritas Volume Replicator (VVR) Storage Replicator Log (SRL) stores blocks until they are committed to the replicated volume on the secondary site. Since VVR replicates data as blocks, instead of files, the SRL must also store data as blocks. The SRL contains no filesystem and is seen by the Operating System as a "raw" volume. In the event of a disk read or write error, the SRL may be corrupted as it lacks the journaling capabilities of a filesystem.


Solution

To recover from a corrupt storage replicator log (SRL), dissociate and then associate it from the replicated volume group (RVG). The SRL may need to be re-associated on either the primary or the secondary, or both, depending on which site contains corrupt SRL. Use vxprint to determine the status of the SRL. Information on using vxprint is found here:  http://support.veritas.com/docs/289868

The steps to recover from SRL corruption depend on the version of Storage Foundation for Windows (SFW) and whether the following patch is installed:  http://support.veritas.com/docs/311479

SECTION I. For SFW 5.1, or earlier versions with the patch discussed in Technote 311479 already installed.
SECTION II. For SFW 5.0 and earier without the patch discussed in Technote 311479 already installed.


SECTION I. For SFW 5.1, or earlier versions with the patch mentioned in Technote 311479 already installed.

Recovering from primary SRL corruption

Note: Dissociating and associating an SRL that is located on the primary site triggers a full resynchronization of the replicated volumes. This is unavoidable if the primary SRL reports corruption.

These actions must be taken from an instance of Veritas Enterprise Administrator (VEA) that is connected locally on the actual server. This cannot be performed from an instance of VEA that is remotely connected to another server.


1. From Replication Network, expand the Replicated Data Set (RDS).

2. Expand the RVG.

3. Right-click on the SRL and select Dissociate Replicator Log.

4. Right-click on the RVG and select Associate Replicator Log.

5. Select the SRL.

6. Start replication.


Recovering from secondary SRL corruption

Note: The following steps do not result in a full resynchronization. Only follow these steps if SFW 5.1 is installed or if the patch that is discussed in Technote 311479 was already installed prior to the SRL corruption.

1. From Replication Network, expand the Replicated Data Set

2. Right-click the Replicated Volume Group and select Disable Data Access.

3. Run the following command from the secondary site:
vxrlink det <secondary_rlink_name>

Note: Use vxprint -VPl to determine the secondary rlink name.

4. Expand the RVG.

5. Right-click the SRL and select Dissociate Replicator log.

6. Right on the RVG and select Associate Replicator Log.

7. Select the SRL volume.

8. Run the following command from the secondary site:
vxrlink -f att (secondary_rlink_name>

9. Right-click on the RVG and select Enable Data Access.


SECTION II. For SFW 5.0 and earier without the patch mentioned in Technote 311479 already installed.

Note: For Section II, the steps are the same for both the primary and secondary sites. This results in a full resynchronization of the replicated volumes.

These actions must be taken from an instance of Veritas Enterprise Administrator (VEA) that is connected locally on the actual server. This cannot be performed from an instance of VEA that is remotely connected to another server.


1. From Replication Network, expand the Replicated Data Set (RDS).

2. Expand the RVG.

3. Right-click on the SRL and select Dissociate Replicator Log.

4. Right-click on the RVG and select Associate Replicator Log.

5. Select the SRL.

6. Start replication.


Products Applied:
 Storage Foundation HA for Windows 4.1, 4.2, 4.3, 4.3 MP1, 4.3MP2, 5.0 RP1a, 5.1
 Storage Foundation for Windows 4.1, 4.2, 4.3, 4.3MP1, 4.3MP2, 5.0 RP1a, 5.1
 Storage Foundation for Windows Volume Replicator Option 4.1, 4.2, 4.3, 4.3MP1, 4.3MP2, 5.0 RP1, 5.1

Last Updated: December 29 2008 06:00 PM GMT
Expires on: 12-29-2009
Subscribe Via E-Mail IconSubscribe to receive critical updates about this document

Subjects:
 Storage Foundation for Windows
   Application: How To
Storage Foundation for Windows Volume Replicator Option
   Software: Replication
Storage Foundation HA for Windows
   Software: Rvg (Replicated Volume Group)

Languages:
 English (US)

Operating Systems:
Windows 2000

Advanced Server SP4, Datacenter Server SP4, Server SP4

Windows Server 2003

DataCenter, DataCenter (IA64), DataCenter (x64), DataCenter SP1, DataCenter SP1(IA64), DataCenter SP1(x64), DataCenter SP2, Datacenter SP2(x64), Enterprise (IA64), Enterprise (x64), Enterprise SP1(IA64), Enterprise SP1(x64), Enterprise SP2, Enterprise SP2(x64), Enterprise Server, Enterprise ServerSP1, R2, Standard Server, Standard Server SP1, Standard Server SP1 (x64), Standard Server SP2, Standard Server SP2 (x64), Standard Server(x64)