Example - to determine the most up-to-date Secondary

This example shows how to determine the most up-to-date Secondary in an RDS containing Primary seattle and the Secondaries london and newyork. This example displays the last update ID received by the Secondary and the last known update ID on the Primary.

To determine the most up-to-date Secondary

  1. On the Secondary london, enter the following command:
    # vxrlink -g diskgroup updates to_seattle

    The output resembles:

    Secondary has received an update ID of 37364.104, last known 
    update ID on Primary is 99 updates ahead.
  2. On the Secondary newyork, enter the following command:
    # vxrlink -g diskgroup updates to_seattle

    The output resembles:

    Secondary has received an update ID of 37364.118, last known 
    update on Primary is 95 updates ahead.

    Compare the output on london and newyork. The host newyork has received the later update with the update ID 37364.118, whereas the other Secondary london is behind newyork by 14 updates. The host newyork is more up-to-date than the host london.