Remote copy mode

User-Supplied Options: Host name, operating system, and path

When you generate a transfer package using the Remote Copy mode, DCM sends the transfer package from the generate_directory to the receive_directory of the remote destination database. The transfer package is sent using an rcp command. The Rational® Synergy engine that generates the transfer package performs the copy.

The Remote Copy mode is appropriate when the engine of the source database can log in to the destination database machine and write to the receive_directory of the destination database as user ccm_root, but a common file system is not available.

DCM uses the Host Name field as the name of the destination database machine.

DCM uses the OS field internally. If the source database is UNIX-based, DCM uses this rcp command:

rcp -r info_file preview_file path_to_data 
host_name:receive_directory

If the source database is Windows-based, DCM uses this rcp command:

   rcp -b -r info_file preview_file path_to_data 
host_name:receive_directory
Note: An rcp service must be running on the Windows® host for UNIX-to-Windows and Windows-to-Windows Remote Copy transfers. However, an rcp service is not shipped with Windows. Third-party commercial or shareware packages can be used to obtain rcp services. These packages typically support both rcp and rsh capabilities for Windows machines. Some packages support drive letter mappings in the path name, such as the d: in d:\ccm71\ccmdbs\ESX.

For more information, refer to the documentation for your rcp software package.

Specific third-party rcp service packages are not warranted or supported. Make sure that such packages can be used to perform remote copies of files and directories between the source and destination hosts in your environment.

DCM uses the Host Name and Path fields to complete the path to the receive_directory of the destination database. In the Remote Copy mode, DCM automatically appends the dcm\receive directory to the Path value.

Note: Verify your settings and security by testing your rcp commands. Test the commands outside of DCM using your values for the Host Name and Path fields.

The table gives examples of Remote Copy mode path values for UNIX® and Windows transfers.

Table 1.
Source Destination Destination database path
UNIX UNIX /ccm71/ccmdbs/ESX
UNIX Windows \\server_machine\ccm71\ccmdbs\ESX1
Windows Windows \\server_machine\ccm71\ccmdbs\ESX1
Windows UNIX /ccm71/ccmdbs/ESX

Feedback