Arctera

Upgrade causes disconnect between VVR primary and secondary on AIX (4116979)

This issue is observed when you upgrade an InfoScale VVR setup from version 7.4.2 to 8.0.2 on the AIX platform. In a VVR configuration, when the replication is paused and the secondary is upgraded to version 8.0.2, there is a disconnect between the VVR primary and the secondary.

The primary RVG entry is not found on the secondary. The replication status from the secondary displays the following:

VxVM VVR vradmin INFO V-5-52-1205 Primary is unreachable or RDS has 
configuration error. Displayed status information is from Secondary 
and can be out-of-date.
<!--NeedCopy-->

On the primary, the vradmin repstatus command displays no information about the secondary. Missing RVG in the RDS leads to failure in the migrate operation. In such a scenario, you cannot perform an upgrade on the VVR primary.

Workaround: To successfully upgrade the primary in such a scenario, you need to first take all the service groups offline on the primary and make the primary as the secondary. Detach the rlink from the primary and then proceed to upgrade the primary.

Perform the following steps on an RVG on the primary:

  1. Take the application service group offline to unmount all the volumes.

    # hagrp -offline servicegroup -any

  2. Convert the primary RVG to secondary.

    # vxrvg -g diskgroup makesecondary rvgname

  3. Detach the rlink from the new secondary.

    # vxrlink -g diskgroup -r rvgname det rlink

  4. Run the InfoScale installer on the secondary and upgrade the secondary.

    # ./installer.sh

    Observe that the replication status may appear as “config error: secondary SRL missing” because the installer fails to associate the SRL to the RVG.

  5. Manually attach the SRL to the RVG.

    # /usr/sbin/vxvol -g diskgroup aslog rvgname srlname

    This step is needed if during the upgrade of the secondary in the earlier step, the product installer fails to associate the SRL to the RVG.

  6. Attach the rlink for the RVG.

    # vxrlink -g diskgroup -r rvgname att rlink

  7. Convert the secondary RVG to a primary RVG.

    # vxrvg -g diskgroup -F makeprimary rvgname

  8. Pause the replication for the RVG.

    # vradmin -g diskgroup pauserep rvgname

  9. Resume the replication for the RVG.

    # vradmin -g diskgroup resumerep rvgname

    Verify that the replication status shows as “failback synchronisation needed (fbsync)”.

  10. Resynchronize the primary and secondary.

    # vradmin -g diskgroup resync rvgname

  11. Repeat these steps for all the RVGs.

Upgrade causes disconnect between VVR primary and secondary on AIX (4116979)

In this article