Migrating the VVR links from IPv4 to IPv6

Before you perform the steps in this procedure, make sure all sites have both IPv4 and IPv6 addresses online.

In the following example, the hostnames of the systems configured with IPv6 match the ones in the IPv4 network. The hostnames of the virtual IPs in the IPv4 and IPv6 networks also match.

To migrate the VVR links from IPv4 to IPv6

  1. Check the replication status. Enter the following:

    # vradmin -g hrdg repstatus hr_rvg
    Replicated Data Set: hr_rvg
    Primary:
      Host name:                  10.209.87.170
      RVG name:                   hr_rvg
      DG name:                    hrdg
      RVG state:                  enabled for I/O
      Data volumes:               1
      VSets:                      0
      SRL name:                   hr_srl
      SRL size:                   800.00 M
      Total secondaries:          1
    
    Secondary:
      Host name:                  10.209.87.171
      RVG name:                   hr_rvg
      DG name:                    hrdg
      Data status:                consistent, up-to-date
      Replication status:         replicating (connected)
      Current mode:               synchronous
      Logging to:                 SRL
      Timestamp Information:      behind by 0h 0m 0s
  2. On the Primary site, migrate the VVR links from the IPv4 to IPv6 network using the vradmin changeip command:

    # vradmin -g dg changeip rvg newpri=Virtual_IPv6_Addr \
      newsec=Virtual_IPv6_Addr

    For example:

    # vradmin -g hrdg changeip hr_rvg newpri=fd4b:454e:205a:111:211:43ff:feaa:af70 \
      newsec=fd4b:454e:205a:111:211:43ff:feaa:af71
    Message from Primary:
    VxVM VVR vxrlink INFO V-5-1-3614 Secondary data volumes detected with rvg hr_rvg as parent:
    VxVM VVR vxrlink INFO V-5-1-6183 hr_dv01:   len=10485760     primary_datavol=hr_dv01
  3. Check the replication status. Enter the following:

    # vradmin -g hrdg repstatus hr_rvg
    Replicated Data Set: hr_rvg
    Primary:
      Host name:                  fd4b:454e:205a:111:211:43ff:feaa:af70
      RVG name:                   hr_rvg
      DG name:                    hrdg
      RVG state:                  enabled for I/O
      Data volumes:               1
      VSets:                      0
      SRL name:                   hr_srl
      SRL size:                   800.00 M
      Total secondaries:          1
    
    Secondary:
      Host name:                  fd4b:454e:205a:111:211:43ff:feaa:af71
      RVG name:                   hr_rvg
      DG name:                    hrdg
      Data status:                consistent, up-to-date
      Replication status:         replicating (connected)
      Current mode:               synchronous
      Logging to:                 SRL
      Timestamp Information:      behind by 0h 0m 0s
  4. Verify that the RLINKs now use the IPv6 network for replication. Enter the following:

    # vxprint -Pl

The IPv4 network is still present. You can remove the IPv4 network to complete the migration process.

See Removing the IPv4 resources from the VCS configuration.