Updating the RASD

The RASD is usually updated automatically during normal replication activity.

Note: You should only force an update of the RASD with the recommendation of Sybase Technical Support when the RASD is suspected of being corrupt.

To force an update of the RASD:

  1. Log in to the Replication Agent instance with the administrator login.
  2. Get the current status of the Replication Agent instance:
    ra_status
  3. If the Replication Agent is in Admin state, skip this step and go to step 4.

    If the Replication Agent is in Replicating state:

    1. Suspend replication for the Replication Agent instance:
      suspend
    2. Verify that the Replication Agent instance is in Admin state:
      ra_status
  4. Reinitialize the Replication Agent and force it to update the RASD:
    ra_admin refresh
    Note: With Replication Agent for Microsoft SQL Server and Replication Agent for UDB, the ra_admin refresh command does not overwrite any marking information or configurations. Also, it does not overwrite any existing path information to the log devices in the RASD if all the log information in the RASD matches that returned by the primary data server.

    For each transaction log or device identified in the RASD, if any information does not match the information returned by the primary data server, ra_admin refresh overwrites the RASD record for that transaction log or device with the information returned by the primary data server.

  5. Resume replication for the Replication Agent instance:
    resume
  6. Verify that the Replication Agent is in Replicating state:
    ra_status

Related concepts
Troubleshooting