How to delete and recreate a secondary RVG without needing to perform a full resynchronization in Veritas Storage Foundation for Windows - Volume Replicator Option

Article:TECH52542  |  Created: 2007-01-06  |  Updated: 2008-01-06  |  Article URL http://www.symantec.com/docs/TECH52542
Article Type
Technical Solution

Product(s)

Environment

Issue



How to delete and recreate a secondary RVG without needing to perform a full resynchronization in Veritas Storage Foundation for Windows - Volume Replicator Option

Solution




Description

By using a checkpoint, it is possible to recreate the secondary RVG (Replicated Volume Group) without having to perform a full resynchronization. In some cases, this process will cause the RVG to resume sending blocks.


Solution

WARNING: Follow these steps only if there are no blocks pending. Do not attempt to stop and restart replication  from a checkpoint if there were blocks pending at the time that the checkpoint operation was performed. This  will result in an invalid checkpoint and will require a full resynchronization to correct.

If VVR is clustered, following this procedure may cause the vvrrvg or the rvgprimary resources to fault. Save the cluster configuration and stop the cluster service using the -force switch to prevent the procedure from causing an outage. This can be done with the following syntax:

Saving the cluster configuration:

haconf -dump -makero

Stopping the cluster service using the -force switch:

hastop -local -force

To verify that the secondary rlink it up-to-date, perform the following steps:

1. Stop any applications or processes that are using the volumes that are being replicated.
2. Disable access to the volumes.
a. From VEA (Veritas Enterprise Administrator), expand Replication Network.
b. Expand the RDS (Replicated Data Set).
c. Expand the primary RVG.
d. Right-click on the replicated volume(s). Select Disable Data Access.
3. From Replication Monitor, verify that no blocks are pending. Alternatively, vxrlink may be run from a command prompt.

Vxrlink syntax:

Vxrlink -g diskgroup -r rvg -I 5 status [rlink on primary]


To recreate the secondary RVG and restart replication from a checkpoint, perform the following steps:

1. From VEA (Veritas Enterprise Administrator), expand Replication Network.
2. Expand the RDS (Replicated Data Set).
3. Right-click on the primary RVG. Select Start Checkpoint.
4. From Checkpoint, enter the name of the checkpoint that is to be created. The checkpoint can be any valid alpha-numeric name.

Note: The RVG status should now change to reflect the checkpoint status.

5. Right-click on the primary RVG. Select End Checkpoint.

Note: The checkpoint can be ended immediately after it is started. It is not necessary to allow the checkpoint to run for a length of time.

6. Right-click on the secondary RVG.
7. Click Delete Secondary.
8. When the warning message appears, click Yes.

Note: The secondary RVG should disappear from VEA.

9. Right-click on the RDS.
10. Select Add Secondary.
11. At the welcome screen, click Next.
12. From Secondary Host, type the secondary hostname or the secondary IP address and click Next.
13. At the Edit Replication settings window, verify that the selections are correct and click Next.
14. From Synchronize from Checkpoint, select the checkpoint that was created in Step 4.
15. At the summary window, click Finish.



Legacy ID



289827


Article URL http://www.symantec.com/docs/TECH52542


Terms of use for this information are found in Legal Notices