Configuring data replication to an FTP directory
To configure data replication to an FTP directory, you must specify several parameters in the ConfigurationParameter table in the application data area from which you want to do replication. These parameters will 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.
- In the Web UI, for each application data area for which you want to set up data replication to an FTP directory,select Administration Console > Other > System Configuration Parameters > All.
-
On the Configuration Parameter List form, click
Create for each of the
following parameters and specify this information:
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 enter 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 enter 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 will be created for the replicated data. The data files will include a number, starting at 0, to indicate the incremental files. Note also that the names of the data files are based on the replication set name and the replication set class name, but that 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 will use the same FTP settings already configured for the Landmark Administration Console. The default is false, which assumes you will 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 and assign identities to it, and if you also set up an individual FTP user, ftpuserid and ftppassword, the ftpidentitysvc setting will be used.