Configuring data replication to an FTP directory
To configure data replication to an FTP directory, you must specify several parameters in the ConfigurationParameter table within the application data area used for replication. These parameters set FTP as a valid replication destination type, indicate where files are to be replicated to, indicate where schemas are placed, control the size of the data files, and specify the required details and credentials for your FTP.
- IIn the Web UI, to set up data replication to an FTP directory for each application data area, select Administration Console > Configuration Parameters.
- On the Configuration Parameter List form, click Create.
This table shows each parameters to create along with the values to specify for each one:
Component Key Type Required? Description Replication schema.registration.destination AlphaUpper Yes Specify FTP. If you are doing replication using other destination types also, you can specify multiple values separated by a vertical bar or pipe ("|"). This parameter causes the registration schemas to be placed in an FTP directory.
Replication data.output.destination AlphaUpper Yes Specify FTP. If you are doing replication using other destination types also, you can specify multiple values separated by a vertical bar or pipe ("|"). This parameter causes the data replication files to be placed in an FTP directory.
Replication chunk.size Numeric No Specify the byte size. The default is 1000000 (1MB). This is an approximate size. After a row of data is exported, if the current buffer size exceeds this value, additional file is created for the replicated data. The data files include a number, starting at 0, to indicate the incremental files.Note: The names of the data files are based on the replication set name and the replication set class name, but any dots and spaces in those names are replaced with underscores.Replication use.admin.console.ftp.settings Boolean No If set to true, data replication uses the same FTP settings already configured for the Landmark Administration Console. The default is false, which assumes you set up specific FTP settings for replication.
Replication ftpdirectory AlphaLower No Optional default directory on the FTP server in which to store the schemas and replicated data files. If specified, this is a subdirectory of the main FTP directory. If ftpdirectory is specified and has path dividers, they should be represented as /. Replication ftphost AlphaLower Yes Server or IP address for the FTP server. Replication ftpport Numeric No Port number for FTP server. Replication ftpsecure Boolean Yes If true, use secure FTP. Replication ftpuserid AlphaLower Must specify this and ftppassword, or else ftpidentitysvc The user ID of the FTP user. This is ignored if you use the ftpidentitysvc parameter. Replication ftppassword Password Must specify this and ftppassword, or else ftpidentitysvc The password of the FTP user. This is ignored if you use the ftpidentitysvc parameter. Replication ftpidentitysvc AlphaUpper Must specify this, or else ftpuserid and ftppassword If used, the name of the Landmark service containing the identity to be used for the current actor's FTP credentials. If you set up this service with assigned identities and also set up an individual FTP user, ftpuserid and ftppassword, the ftpidentitysvc setting is used.