You are here

Creating a new transfer target for content replication

The transfer service stores files that control and monitor the operation of the transfer service in the Transfers space in the Data Dictionary.

The Transfer Target Groups space contains the transfer target definitions that specify where transfers go to. There is a group level below the folder which is used to classify different sets of transfer targets. This folder contains a group called Default Group.

You can add transfer targets by creating a new transfers folder.

  1. In the source repository, create a new folder in Company Home > Data Dictionary > Transfers > Transfer Target Groups > Default Group.
    1. In the New Folder window, specify the name, title, and description of the new folder, for example, Replica.

      A rule defined on the Default Group folder specializes the type of any folder created in it.

      The type is set to trx:transferTarget, which you can then complete through the user interface. The new node contains the properties you can fill in through the user interface to set up your target.

    2. Click Edit Properties on your new folder (Replica).
    3. Specify the Endpoint Host, Endpoint Port, Username and Password, and click Enabled and Save.

      The endpoint host and port represent the remote SkyVault Content Services host details.

      For example; Endpoint host: localhost, Endpoint port: 9090, Username: admin, Password: admin

      Endpoint Host: localhost
      Endpoint Port: 9090
      Endpoint Path: /alfresco-ftr/service/api/transfer
      Endpoint Protocol: http
      Username: admin
      Password: admin
      Root Folder: Select a folder from repository as root folder. 
      Enabled: Make sure this check box is checked                            

    4. Enable the replication service in your SkyVault-global.properties file:

      replication.enabled=true
      and restart the source repository.
  2. In the target repository, enable the replication server and content receiver in the SkyVault-global.properties file:

    replication.enabled=true
    transferservice.receiver.enabled=true
    and restart the target repository.
  3. On the source repository, create a replication job to test the target setup.
    1. From the toolbar, click Admin Tools and select Replication Jobs from the menu.
    2. Click Create Job.
    3. Specify properties for Name, Payload, Transfer Target.

      Name is a new folder name; for example, Replication Job. Payload is the source content directory, and Transfer Target is the folder name that you set up in step 1 (Replica).

    4. Click Enabled.
    5. Click Create Job.
    6. Refresh the screen after a few minutes to see a status change.
  4. Verify the replication job.

    Log in to SkyVault Share on the target repository, select a transferred file and click Open in Source Repository to check that content has replicated.