Initial implementation of VERITAS Volume Replicator (VVR) (formerly SRVM) Primary and Secondary.

Article:TECH9097  |  Created: 2000-01-01  |  Updated: 2002-01-04  |  Article URL http://www.symantec.com/docs/TECH9097
Article Type
Technical Solution

Environment

Issue



Initial implementation of VERITAS Volume Replicator (VVR) (formerly SRVM) Primary and Secondary.

Solution



This technical note will define an initial implementation of a VVR (SRVM) primaryand secondary.

Configuration:
    Primary system:  scrollsaw
    Secondary system:  palday
    Primary and Secondary RVG name:  testrvg
    Primary and Secondary volume name:  testvol
    Primary and Secondary SRL name:  srlvol
    Primary to Secondary Rlink:  to_palday
    Secondary to Primary Rlink:  to_scrollsaw

Before starting:
Verify that a remote shell works from each system to the other.

On Secondary:
1. Make the data volume:
      vxassist -g <disk group> make <data volume> <size>
        ex. vxassist -g testdg make testvol 1g
2. Make the SRL volume (use a different disk, don't put in rootdg, must be mirrored)
      vxassist -g <disk group> make <SRL volume> <size> mirror=1
        ex. vxassist -g testdg make srlvol 1g mirror=1
3. Make the RVG:
        vxmake -g <disk group> rvg <RVG name>
        ex. vxmake -g testdg rvg testrvg
4. Make the rlink:
      vxmake -g <disk group> rlink <local rlink name>
        ex. vxmake -g testdg rlink to_scrollsaw
5. Set the attributes on the Rlink:
      vxedit -g <disk group> set remote_host=<remote system> remote_dg=<remote disk group> \
      remote_rlink=<remote rlink name> <local rlink name>
        ex. vxedit -g testdg set remote_host=scrollsaw remote_dg=testdg remote_rlink=to_palday to_scrollsaw
6. Associate the datavol, SRL, and Rlink with the RVG:
      vxvol -g <disk group> assoc <RVG name> <data volume>
        ex. vxvol -g testdg assoc testrvg testvol
      vxvol -g <disk group> aslog <RVG name> <SRL volume>
        ex. vxvol -g testdg aslog testrvg srlvol
      vxrlink -g <disk group> assoc <RVG name> <local rlink name>
        ex. vxrlink -g testdg assoc testrvg to_scrollsaw
7. Add DCM to volume:
      vxassist -g <disk group> addlog <data volume>
        ex. vxassist -g testdg addlog testvol
8. Attach the Rlink to the RVG:
      vxrlink -g <disk group> att <local rlink name>
        ex. vxrlink -g testdg att to_scrollsaw
9. Start the RVG:
      vxrvg -g <disk group> start <RVG name>
        ex. vxrvg -g testdg start testrvg

On Primary:
1. Make the data volume:
      vxassist -g <disk group> make <data volume> <size>
        ex. vxassist -g testdg make testvol 1g
2. Make the SRL volume (use a different disk, don't put in rootdg, must be mirrored)
      vxassist -g <disk group> make <SRL volume> <size> mirror=1
        ex. vxassist -g testdg make srlvol 1g mirror=1
3. Make the RVG:
      vxmake -g <disk group> rvg <RVG name>
        ex. vxmake -g testdg rvg testrvg
4. Make the rlink:
      vxmake -g <disk group> rlink <local rlink name>
        ex. vxmake -g testdg rlink to_palday
5. Set the attributes on the Rlink:
      vxedit -g <disk group> set remote_host=<remote system> remote_dg=<remote disk group> \
      remote_rlink=<remote rlink name> <local rlink name>
        ex. vxedit -g testdg set remote_host=palday remote_dg=testdg remote_rlink=to_scrollsaw to_palday
6. Set the attribute on the RVG (default is secondary):
      vxedit -g <disk group> set primary=true <RVG name>
        ex. vxedit -g testdg set primary=true testrvg
7. Associate the datavol, SRL, and Rlink with the RVG:
      vxvol -g <disk group> assoc <RVG name> <data volume>
        ex. vxvol -g testdg assoc testrvg testvol
      vxvol -g <disk group> aslog <RVG name> <SRL volume>
        ex. vxvol -g testdg aslog testrvg srlvol
      vxrlink -g <disk group> assoc <RVG name> <local rlink name>
        ex. vxrlink -g testdg assoc testrvg to_palday
8. Add DCM to volume:
      vxassist -g <disk group> addlog <data volume>
        ex. vxassist -g testdg addlog testvol
9. Attach the Rlink to the RVG to Autosync:
      vxrlink -g <disk group> -a att <local rlink name>
        ex. vxrlink -g testdg -a att to_palday
10. Start the RVG:
      vxrvg -g <disk group> start <RVG name>
        ex. vxrvg -g testdg start testrvg


Legacy ID



233088


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


Terms of use for this information are found in Legal Notices