Registering an SFTP Data Source¶
Before synchronizing data from an external SFTP server, you need to register the data source to configure the connection information of the SFTP.
This section shows the steps to register an SFTP data source in EnOS.
In the EnOS Management Console, click Data Source Registration from the left navigation menu.
Click Add Data Source and provide information for the following.
Data Source Type: Select SFTP.
Data Source Name: Enter a name for the data source. The maximum length is 50 characters and can be a combination of the following characters.
- a through z
- A through Z
- 0 through 9
- _ (underscore)
Data Source Description: Enter a description for the data source.
IP Address: Enter the IP address of the SFTP server.
Port: Enter the port number to use for connection. The default port number is 22.
Username: Enter the user name for accessing the SFTP server.
Password: Enter the password of the user name.
Click Test to test the data source connection.
Click Done to save the configuration.
The data source will be shown in the Data Source Registration table.
When the connection is successfully established, you can follow the steps below to synchronize data from the data source to EnOS Hive.
- Create a Hive table to store the retrieved data. For more information, see Script Development.
- Configure a data synchronization job to synchronize data from the data source to the target Hive table. For more information, see Data Synchronization.