The dtscli -agent (or -a) command can be used to create hop transfers. This may be necessary when there is no direct route from the initiator computer to the responder computer. A hop transfer lets the transfer take place using a third computer.
Syntax for a hop transfer:
dtscli -agent "ipath=InitiatorMachine::SourceFile"
"rpath=ResponderMachine::DestinationFile" iuser=InitiatorUser::InitiatorPassword ruser=ResponderUser::ResponderPassword hop_hosts=HopMachine
Example: Transfer a File Using a Hop Computer
This example performs a point-to-point transfer using computer Bronze. First the file is transferred from Gold to Bronze and then from Bronze to Silver.
dtscli -agent "ipath=Gold::c:\dtstemp\file.src"
"rpath=Silver::c:\dtstemp\file.dest" iuser=dts::dts ruser=dts::dts hop_hosts=bronze
Example: Transfer a File Using Multiple Hop Computers
It is possible to hop using multiple computers. To do this, add a space-separated list of hop computers to the hop_hosts parameter. In this example, the transfer goes from Gold to Bronze, Bronze to Tin, and then Tin to Silver.
dtscli -agent "ipath=Gold::c:\dtstemp\file.src"
"rpath=Silver::c:\dtstemp\file.dest" iuser=dts::dts ruser=dts::dts "hop_hosts=bronze tin"
Note: It is important to enclose the hop_hosts parameter with quotation marks.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|