Commands to execute when a primary VVR rvg fails.

book

Article ID: 100002757

calendar_today

Updated On:

Description

Description

What are the correct  commands to execute when a primary VVR rvg fails?

 

Resolution

Primary role takeover is an emergency procedure performed when the primary RVG is not available and does not recover in a reasonable amount of time. A secondary RVG is promoted to be a primary RVG without first demoting the old primary RVG. Any data remaining in the old primary SRL that was not transmitted to the new primary RVG is unrecoverable.

To promote a secondary RVG to a primary RVG when original primary RVG goes down, run the following command on the takeover machine:

# vradmin -g  disk_group takeover  rvg

After the original primary machine is back, execute the following command on the new primary RVG to perform a fast failback:

# vradmin -g  disk_group [-wait] fbsync  rvg

The –wait option results in the command waiting until the synchronization is complete.

Fast failback converts the original primary RVG to a secondary RVG automatically and synchronizes the original primary RVG using a DCM.

When the resynchronization procedure has completed you can migrate the primary role back to the original Primary by executing the following command:

# vradmin -g  disk_group migrate  rvg   original_primary

Optionally, you can initiate automatic fast failback when the Original Primary comes back online using the following:

# vradmin -g  disk_group -autofb takeover rvg

 

Issue/Introduction

What are the correct commands to execute when a primary VVR rvg fails?