ra_devicepath

(Microsoft SQL Server only) Changes the disk device path for a log device recorded in the RASD.

Syntax

ra_devicepath device, dev_path

Parameters

Examples

Usage

  • When ra_devicepath is invoked, Replication Agent records the specified disk device path for the specified log device in the RASD.

  • To get information about log devices stored in the RASD, use the ra_helpdevice command.

  • If you invoke ra_updatedevices after you set a device path using ra_devicepath, you must use ra_devicepath again to re-set the path if you need to alter the default path for a log device. The default device path is the device path returned by the primary data server.

  • If you invoke ra_devicepath when the Replication Agent instance is in Replicating state, it returns an error.

  • The ra_devicepath command is valid only when the Replication Agent instance is in the Admin or Replication Down state.

Related reference
ra_helpdevice
pdb_xlog
ra_admin
ra_updatedevices