Updating the RASD

The RASD is usually updated automatically during normal replication activity. The following procedure to force an update of the RASD should only be used with the recommendation of Sybase Technical Support when the RASD is suspected of being corrupt.

StepsUpdating the RASD

  1. Log in to the Replication Agent instance with the administrator login.

  2. Use the following command to determine the state 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. Use the following command to suspend replication by the Replication Agent instance:

      suspend
      
    2. Use the following command to verify that the Replication Agent is in Admin state:

      ra_status
      
  4. Use the following command to re-initialize the Replication Agent and force it to update the RASD:

    pdb_xlog init, force
    

    NoteThe pdb_xlog init, force 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 of the following 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, pdb_xlog init, force overwrites the RASD record for that transaction log or device with the information returned by the primary data server.

  5. Resume replication in the Replication Agent:

    resume
    
  6. Verify that the Replication Agent is in Replicating state:

    ra_status
    

If the Replication Agent does not return to Replicating state, see Chapter 4, “Troubleshooting Replication Agent,” for more information.